Skip to content

Instantly share code, notes, and snippets.

@mamuz
Last active December 16, 2015 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mamuz/5474812 to your computer and use it in GitHub Desktop.
Save mamuz/5474812 to your computer and use it in GitHub Desktop.
RegExpressions to find vulnerabilities
# SQL-Injections
.*mysql_query\(.*\s*\$_(GET|POST|REQUEST|COOKIE)).*
# reflective xss
(echo|print).*\$_(GET|POST|COOKIE|REQUEST)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment