Skip to content

Instantly share code, notes, and snippets.

@IAmStoxe
Created November 14, 2018 01:17
Show Gist options
  • Save IAmStoxe/021c293a4b2e3ffb06c6f83b82d4cf4c to your computer and use it in GitHub Desktop.
Save IAmStoxe/021c293a4b2e3ffb06c6f83b82d4cf4c to your computer and use it in GitHub Desktop.
How to pipe Shodan CLI to a CSV object in one line.
shodan search "SEARCH_QUERY_HERE" --fields ip_str,port --color --separator "," | ConvertFrom-Csv -Delim ',' -Header IP,PORT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment