Hello, I am going to show you how you can use Havij, to do a SQL injection attack.


FIRST,
find any vulnerable website from google using dorks

 some well-known dorks

  1. Find Vunl Websites :
  2. index.php?id=
  3. trainers.php?id=
  4. buy.php?category=
  5. article.php?ID=
  6. play_old.php?id=
  7. declaration_more.php?decl_id=
  8. pageid=
  9. games.php?id=
  10. page.php?file=
  11. newsDetail.php?id=
  12. gallery.php?id=
  13. show.php?id=
  14. staff_id=
  15. newsitem.php?num=
  16. readnews.php?id=
  17. top10.php?cat=
  18. historialeer.php?num=
  19. reagir.php?num=
Download full version of Havij - Here

Steps-

1. Firstly what you need to do is get your vulnerable site ready with the ID on the end, in this case "nwid=1658". You then need to enter the whole link into the Havij "target" bar.

[Image: asdmza.jpg]

2. Once you've entered the link into the "target" box you need to press the analyze button. Let it go through until it has completed finding everything it needs to about the database.


3. Once it's done the Get DB button should appear clickable, click that. Inside there you will see the databases you need to find the one which contains user information in this case it's "rajsoft_mprealtynews", check the box next to it and press "get tables". After that another drop down will appear with a list of things. You need to find something that is associated with usernames and passwords, in this case "users". After you check users you need to press "get columns", that will then return the columns inside that table
.


4. will create another drop down, and from there you need to find username and password, these are easily located. Tick both "username" and "password" then press "Get Data". Once you've pressed it, it will display every username and password on that DB selected, usually find the one with the username, "admin".


Extra steps


Once you have finished collecting all the data you can export it into a .html file, which will organise it and format it nicely into a table, for easy reading.

0 comments:

Post a Comment

 
Top