Rapid7 Vulnerability & Exploit Database

Shodan Host Port

Back to Search

Shodan Host Port



This module uses the shodan API to return all port information found on a given host IP.


  • natto97


Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/gather/shodan_host
msf auxiliary(shodan_host) > show actions
msf auxiliary(shodan_host) > set ACTION < action-name >
msf auxiliary(shodan_host) > show options
    ...show and set options...
msf auxiliary(shodan_host) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security