Simple script to extract machines which are infected with ms17-010 vulnerability. However there are many alarms asking to patch machines, you will find alot of infected ones.
- An upgrade shodan API_KYE. You can get one from their web site.
- pip3 install shodan termcolor
- nmap 7.40
sudo python3 ms17Extractor.py -a <you_api_key> -s "port:445 os:'7'" -l 10
This is for Educational purposes ONLY. First of all, this code aims to alarm people about security issues infected unpatched machines.