Introduction from “Yakov Rekhter” the father of BGP :
When you need to recover missing BGP MD5 password on Juniper routers, you have the possibility to extract it from a specific file.
the main purpose of this blog is to act as a knowledgebase for the Network engineers in the telecom world.
alex@M10> start shell % su - Password: root@M10%
root@M10% cd /var/etc/ root@M10% more keyadmin.conf tcp 179 0.0.0.0 <IP address> md5 instance default 0x424157395877553351436a5263586b37 tcp 179 0.0.0.0 <IP address> md5 instance default 0x393831633666333463366663
perl -e 'print "Hex: ";$_=<>;print "MD5: ";s/(\w\w)/\1:/g;for (split(/:/)) {printf "%s", chr(hex($_))};print "\n"' Hex: 0x424157395877553351436a5263586b37 MD5: BAW9XwU3QCjRcXk7