Skip to content

Instantly share code, notes, and snippets.

@kamirbarron
Created May 11, 2018 20:46
Show Gist options
  • Save kamirbarron/feaf2907e53baf1e3e867101a41e3d5b to your computer and use it in GitHub Desktop.
Save kamirbarron/feaf2907e53baf1e3e867101a41e3d5b to your computer and use it in GitHub Desktop.
PowerShell snippet for submitting to urlscan.io - By Nicholas Gipson
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$Invoke = Invoke-WebRequest -Headers @{"API-Key" = "$apikey"} -Method Post ` -Body "{`"url`":`"$url`"}" -Uri https://urlscan.io/api/v1/scan/ ` -ContentType application/json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment