This script basically uses shodan
api to search Raspberry Pi's ip addresses , and tries to ssh
into them by using the default username: pi and password: raspberrry, then stores the successful ip addresses into a text file.
- Paramiko (~$easy_install paramiko)
- Shodan (~$easy_install shodan)
Or, Simply run --
$ pip install -r requirements.txt
$ python shodan_raspi.py [source_file_name]
If the source file doesn't exist , it'll be created, using Shodan
api.
The Source File consists of ip address, only one per line.