Powered by Blogger.
RSS
Custom Search
King-Shan

IP

How to find out if a website is vulnerable to SQL Injection?


As we had discussed earlier about the SQL Injection, it  is a code injection technique that exploits a security vulnerability occurring in the database layer of an application. We discussed there about the login screen bypassing, that might have been beneficial to the so called script kiddies, who approach hacking just through available scripts and codes on the web, without particular interest in the field. Anyways, you came to know, who exactly are the script kiddies.
We learnt the basics about what is SQL Injection but how can you find out if a website you are testing on, is vulnerable to SQL injection or not? Fine!! Some might be knowing, but for those who don’t know, I am going to quantify the whole process.
1. Use google dorks to find out the vulnerable sites, putting the following queries on google search engine:

inurl:index.php?id=
inurl:trainers.php?id=
inurl:buy.php?category=
inurl:article.php?Now you get a list displayed on the result page. Select one by one. Suppose we select the first result.Click on it.
2. Put  ‘ (single quote) at the extreme end of the link displayed on the address bar and press ‘enter’.
3. Now if a page opens up saying there is an SQL Error, that means the website is 110% vulnerable to SQL Injection.
Now that we dont want to dig our brains, we let the Havij tool work out for us. To download it, click here.
4. Remove the ‘ (single quote) we added at the end of the web link, copy it and paste it to Havij as shown:
5. When you click on the analyse button, the scanning begins, and you get to see a lot more database retrieval options, as shown below. An attacker can even play with the database tables, dumping them at their wish.
Note: The live testing is strictly prohibited. This is only for educational purpose by CYBERSAVIOURS. Keep enjoying!!
King-Shan


  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

1 comments:

felisha green said...

This professional hacker is absolutely reliable and I strongly recommend him for any type of hack you require. I know this because I have hired him severally for various hacks and he has never disappointed me nor any of my friends who have hired him too, he can help you with any of the following hacks:

-Phone hacks (remotely)
-Credit repair
-Bitcoin recovery (any cryptocurrency)
-Make money from home (USA only)
-Social media hacks
-Website hacks
-Erase criminal records (USA & Canada only)
-Grade change

Email: cybergoldenhacker at gmail dot com

Post a Comment