SQLMap Tamper Scripts
SQLMap Tamper Scripts
bypass) Tips
Use and load all tamper scripts to evade filters and WAF :
tamper=apostrophemask,apostrophenullencode,base64encode,between,chardoubleencode,charencode,charunicodeenc
ode,equaltolike,greatest,ifnull2ifisnull,multiplespaces,nonrecursivereplacement,percentage,randomcase,securesphere,
space2comment,space2plus,space2randomblank,unionalltounion,unmagicquotes
MSSQL:
tamper=between,charencode,charunicodeencode,equaltolike,greatest,multiplespaces,nonrecursivereplacement,percent
age,randomcase,securesphere,sp_password,space2comment,space2dash,space2mssqlblank,space2mysqldash,space2p
lus,space2randomblank,unionalltounion,unmagicquotes
MySQL:
tamper=between,bluecoat,charencode,charunicodeencode,concat2concatws,equaltolike,greatest,halfversionedmoreke
ywords,ifnull2ifisnull,modsecurityversioned,modsecurityzeroversioned,multiplespaces,nonrecursivereplacement,perc
entage,randomcase,securesphere,space2comment,space2hash,space2morehash,space2mysqldash,space2plus,space2ra
ndomblank,unionalltounion,unmagicquotes,versionedkeywords,versionedmorekeywords,xforwardedfor
apostrophemask.py
Platform: All
example
apostrophenullencode.py
Platform: All
example
example
base64encode.py
Platform: All
example
between.py
example
1 AND A > B — ==> 1 AND A NOT BETWEEN 0 AND B — ```、```1 AND A = B — ==> 1 AND A BETWEEN B
AND B —
bluecoat.py
example
chardoubleencode.py
Platform: All
example
Platform: Mssql 2005、MySQL 4, 5.0 and 5.5、Oracle 10g、PostgreSQL 8.3, 8.4, 9.0
example
charunicodeencode.py
example
commalesslimit.py
example
commalessmid.py
example
concat2concatws.py
example
equaltolike.py
Function: = ==> like
example
SELECT * FROM users WHERE id=1 ==> SELECT * FROM users WHERE id LIKE 1
escapequotes.py
Platform: All
example
greatest.py
example
halfversionedmorekeywords.py
example
ifnull2ifisnull.py
example
informationschemacomment.py
Platform: MySQL
example
lowercase.py
Platform: Mssql 2005、MySQL 4, 5.0 and 5.5、Oracle 10g、PostgreSQL 8.3, 8.4, 9.0
example
modsecurityversioned.py
example
multiplespaces.py
Platform: All
example
nonrecursivereplacement.py
Platform: All
example
overlongutf8.py
Platform: All
example
SELECT FIELD FROM TABLE WHERE 2>1 ==>
SELECT%C0%AAFIELD%C0%AAFROM%C0%AATABLE%C0%AAWHERE%C0%AA2%C0%BE1
percentage.py
example
randomcase.py
Platform: Mssql 2005、MySQL 4, 5.0 and 5.5、Oracle 10g、PostgreSQL 8.3, 8.4, 9.0
example
randomcomments.py
Platform: Mysql
example
securesphere.py
Platform: All
example
sp_password.py
Platform: Mssql
example
space2comment.py
Function: Space ==> /**/
Platform: Mssql 2005、MySQL 4, 5.0 and 5.5、Oracle 10g、PostgreSQL 8.3, 8.4, 9.0
example
space2dash.py
Platform:MSSQL、SQLite
example
space2hash.py
example
space2morehash.py
example
space2mssqlblank.py
example
space2mssqlblank.py
Platform: Mssql、Mysql
example
space2mysqlblank.py
Platform: Mysql5.1
example
space2mysqldash.py
Platform: Mssql、Mysql
example
space2plus.py
Platform: All
example
space2randomblank.py
example
symboliclogical.py
Platform: All
example
thinkphp.py
Platform: Mysql
unionalltounion.py
Platform: All
example
unmagicquotes.py
example
uppercase.py
Platform: Mssql 2005、MySQL 4, 5.0 and 5.5、Oracle 10g、PostgreSQL 8.3, 8.4, 9.0
example
varnish.py
Function: header
example
X-originating-IP: 127.0.0.1
versionedkeywords.py
example
versionedmorekeywords.py
xforwardedfor.py
Platform: All
example
X-Forwarded-For: 127.0.0.1