With request from my one fren to make the script more user frendly
I have created version 2 of the script which can be downloaded from http://neo1981.googlepages.com/ciscoPassChkv2.py
Well Here is some Spoon Feeding and brief documentation as Requested by my fren.
This script is checked on windows xp with python version 2.5. Though it should run with python 2.3 and 2.4 also.
You can download python for windows or linux machine from this page http://python.org/download/
On Linux system you can execute the script by using commnd
# python ciscoPassChkv2.py
On windows you can execute script by using command
C:\>c:\Python25\python.exe ciscoPassChkv2.py
Where C:\Python25\ is the directory where you have installed python 2.5
By default the script will ask you IP address of the router to be checked for default login.
If you want multiple routers checked at one go, put the IP addresses of the routers one IP in single line in a file and save
it as iplist.txt
Keep iplist.txt in the same folder as the python script and run python script. The script will read IP addresses from the file and check
those routers for default passwords.
Showing posts with label check. Show all posts
Showing posts with label check. Show all posts
Friday, June 5, 2009
Friday, May 22, 2009
python script to find cisco routers with default password
While I was doing my work (No options...have to do some to earn) in recent days
I was busy auding lots of cisco routers. As hacker mind I just went ahead hacking my way in to nearly all routers getting full access. But when I had completed my work I suddenly remember that some of the routers used default passwords and others I had extracted password from config of already accessed routers. But I just didnt remember for which routers I found using default password. As usual the programmer in me wake up (My colleague said he would check out manualy in 1 hour) I said I would better use half hour to write a script to find out those. This script will be use full in finding out routers with default password in future also.
So I did write a python script (you must be knowing by now python is my fav language) to check out routers with default passwords.
This script is still in its early stages. So looking forward for some good or bad feedbacks.
You can find script at
http://neo1981.googlepages.com/ciscoPassChk.py
I was busy auding lots of cisco routers. As hacker mind I just went ahead hacking my way in to nearly all routers getting full access. But when I had completed my work I suddenly remember that some of the routers used default passwords and others I had extracted password from config of already accessed routers. But I just didnt remember for which routers I found using default password. As usual the programmer in me wake up (My colleague said he would check out manualy in 1 hour) I said I would better use half hour to write a script to find out those. This script will be use full in finding out routers with default password in future also.
So I did write a python script (you must be knowing by now python is my fav language) to check out routers with default passwords.
This script is still in its early stages. So looking forward for some good or bad feedbacks.
You can find script at
http://neo1981.googlepages.com/ciscoPassChk.py
Subscribe to:
Posts (Atom)