Exploit DB’s searchsploit
Using searchsploit to search for public exploits
searchsploit ms17-010
Examine the found exploit (-x)
searchsploit -x windows/remote/4231.py
Mirror the exploit to the current working directory of the shell
searchsploit -m windows/remote/4231.py
Update the searchsploit database
searchsploit -u
If you need to install Searchsploit on your device, please click the link and follow the instructions from Exploit-DB’s official website.