Konuyu görüntüle
IUCODERS FORUM > İşletim Sistemleri & Donanım & Network > Network > Scripts and sources for testing network security
Yazar
codernemesis


avatar
Istanbul
Kayıt: 07.11.2009
17.02.2010-22:42 #67013
Network-Security---Offensive/DOS/test.pl


#!/usr/bin/perl

# test.pl: small script to test mod_dosevasive's effectiveness

use IO::Socket;
for(0..100) {
my($response);
my($SOCKET) = new IO::Socket::INET( Proto => "tcp",
PeerAddr=> "127.0.0.1:80");

if (! defined $SOCKET) { die $!; }
print $SOCKET "GET /?$_ HTTP/1.0

";
$response = <$SOCKET>;
print $response;
close($SOCKET);
}










http://www.yucelcetin.com

http://www.elektronikcini.com/





Del.icio.us
Digg
Facebook
Furl
Google
Blink
Simpy
Spurl
Y! MyWeb