Posted: Mon Aug 17, 2020 12:08 pm Post subject: not able to retrieve password from key.sth file
Apprentice
Joined: 08 Sep 2009 Posts: 34
Hi All,
not able to retrieve password from key.sth file. below is the error from the command output
[mqm@host] /var/mqm/qmgrs/QM/ssl $ perl -C0 -n0xF5 -e 'print $_^"\xF5"x length."\n";exit' < key.sth
Warning: Use of "length" without parentheses is ambiguous at -e line 1.
p▒▒Ue▒▒ud ▒՝▒ٻ(y<▒ٕ▒G▒|▒U▒ʍ0FKN8▒▒ʖ▒[K▒K▒DSu▒▒▒▒▒▒▒▒gsA▒1X#9F.J▒佖▒▒▒wFw▒+!▒(R(▒▒▒R▒▒▒▒>▒U▒▒Y!tM 5▒▒▒▒:▒▒▒▒W▒▒.▒]▒
▒]▒i▒▒▒d▒U▒V▒▒
▒▒T|▒;L▒5 ▒p▒|A▒rY▒DI
Posted: Mon Aug 17, 2020 3:03 pm Post subject: Re: not able to retrieve password from key.sth file
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
rajesh00001 wrote:
Hi All,
not able to retrieve password from key.sth file. below is the error from the command output
[mqm@host] /var/mqm/qmgrs/QM/ssl $ perl -C0 -n0xF5 -e 'print $_^"\xF5"x length."\n";exit' < key.sth
Warning: Use of "length" without parentheses is ambiguous at -e line 1.
p▒▒Ue▒▒ud ▒՝▒ٻ(y<▒ٕ▒G▒|▒U▒ʍ0FKN8▒▒ʖ▒[K▒K▒DSu▒▒▒▒▒▒▒▒gsA▒1X#9F.J▒佖▒▒▒wFw▒+!▒(R(▒▒▒R▒▒▒▒>▒U▒▒Y!tM 5▒▒▒▒:▒▒▒▒W▒▒.▒]▒
▒]▒i▒▒▒d▒U▒V▒▒
▒▒T|▒;L▒5 ▒p▒|A▒rY▒DI
Well there are 2 versions of the stash file depending on which version of MQ you are using. I believe the applied perl program only works with the earlier of them.
The question I have is why would you need to retrieve the password when you have the stash file? _________________ MQ & Broker admin
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum