Skip to content

Instantly share code, notes, and snippets.

@jairoFernandez
Created September 19, 2017 20:22
Show Gist options
  • Save jairoFernandez/010360460f9f74029e86e3259a5ed70c to your computer and use it in GitHub Desktop.
Save jairoFernandez/010360460f9f74029e86e3259a5ed70c to your computer and use it in GitHub Desktop.
Invoke rest method Powershell
EXEC sys.xp_cmdshell '%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe Invoke-RestMethod -Uri http://google.com -Method Get'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment