A simple python scanner to detect vulnerable hosts in your net. It checks for open TCP/445 port and try to exploit using MS17-010 vulnerability. Based on metasploit MS17-010 module.
python netscanner.py <ip> (192.168.0.2) or <network> (192.168.0.*)
Python >= 2.7
python-nmap >= 0.6.1 (https://pypi.python.org/pypi/python-nmap)
Please use responsibility. No any warranty.