Skip to content

Instantly share code, notes, and snippets.

@jasonadsit
Created March 7, 2016 06:38
Show Gist options
  • Save jasonadsit/134d1ac09b363d42c8f6 to your computer and use it in GitHub Desktop.
Save jasonadsit/134d1ac09b363d42c8f6 to your computer and use it in GitHub Desktop.
$myIPv4 = ((New-Object System.Net.WebClient).DownloadString('http://4.ifconfig.sexy/ip.txt'))
$myReverseDns = ((New-Object System.Net.WebClient).DownloadString("http://api.hackertarget.com/reversedns/?q=$myIPv4"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment