Access Shodan on the web at: [[https://shodan.io/]] Alternatively, use Shodan in the command line. ## Initialize with API key ``` shodan init <api key> # retrieve API key from shodan.io > account overview ``` ## Search ``` shodan search --fields ip_str,port,org microsoft # scroll up and down to view results q # exit s # save as log file ``` ## Read Shodan Log Files ``` shodan parse --fields ip_str,port,hostnames <Filename> ``` ![[shodan_logfile_example.png]] #pentest