There are many strategies by which you can hack the sites yet SQL Injection strategy is the one of the best methods that is utilized ideally by many programmer. Utilizing these procedures one can hack the database and data of the sites. Here in this article you will know how you can hack the sites utilizing SQL Injection attack. Take after these means offered below to figure out how to hack sites.
How Hackers Use SQL Injections to Get Access of Websites
Before We start here are the things that you will need:
- Havij SQL Injection tool
- SQL vulnerable site (take examplesite.com/catalogo_nuevos_detalle.php? id=2)
To check sql vulnerable site add (‘) at the end of site URL and if you get sql error in your syntax then it means your site is SQL vulnerable.
Open Havij and paste the site URL in the target field and then wait for Havij to get details and databases of the website.
After that click on the available database of the site and click on Get Tables. On clicking Get Tables Havij will look for the tables available in the database.
After scanning Havij will get all the tables available. Here you have to just find the tables named as admin, users and something similar to these. Select the similar words and click on the Get Columns. Havij will then get all the column’s available in the users table.
Now select the columns and then click on the Get Data. Havij will then look for the data available in column’s login and password i.e. username and password. The username and the password you get is encrypted in mdm language and not in real text. To crack the encrypted password just copy the password and click on the MD5 tab in Havij and paste the encrypted password in Md5 hash field and hit start. Havij will then try to crack the password.
Now click on Find Admin tab in Havij and then click Start. It will check the admin panel of the website. Open the admin panel in web browser and login with username and password and you are now in admin panel of the website. You have successfully logged to the website and has hacked the website.
Utilizing the above steps, you can hack up the site on the off chance that it is powerless against the Sql attack unless you can discover different ways likewise however to extraordinary degree the strategy for SQL attack is the best for the hacking of sites. The above steps are for Havij program yet there are likewise many projects accessible that does likewise procedure to hack up the sites.