![]() |
![]() |
|
|
|||||||
| Guru, e-Zitate & Off Topic Der WCM-Guru auch online, mysteriöse technische Angaben und sonstige 'Verlautbarungen' |
![]() |
|
|
Themen-Optionen | Ansicht |
|
|
#161 |
|
Abonnent
![]() |
Kritikfähigkeit
![]()
____________________________________
"Ford," he said, "you're turning into a penguin. Stop it." |
|
|
|
|
|
#162 | |
|
Master of Disaster
![]() |
Zitat:
2) Fühlst du dich wirklich angesprochen? ![]()
____________________________________
alterego Ich finde solche, die von ihrem Geld erzählen und solche, die mit ihrem Geiste protzen und solche, die erst beten und dann stehlen; ich finde solche, sie verzeihn, zum Kotzen. |
|
|
|
|
|
|
#163 |
|
Inventar
![]() |
²netti: bitte entspannen - mitte finden
![]() |
|
|
|
|
|
#164 |
|
Der Unvergleichliche
![]() |
Ohhhmmmm!
![]() (entspannungslaut zum Mitte finden!) Trigger: Yoga |
|
|
|
|
|
#165 | |
|
Aussteiger
![]() |
Zitat:
...achja, da fällt mir grad noch ein trigger-wort ein: konventionalstrafe (inode/upc)
____________________________________
Praktizierender Eristiker No hace falta ser un genio para saber quién dijo eso. Der wirklich faule Mensch ist oft extrem fleißig, denn er will möglichst schnell wieder faul sein. |
|
|
|
|
|
|
#166 |
|
Inventar
![]() |
parteimäßig besetzte wörter
|
|
|
|
|
|
#167 |
|
Der Unvergleichliche
![]() |
besetzte Klos ?
|
|
|
|
|
|
#168 |
|
Inventar
![]() |
![]() Code:
unless ( eval "use Net::DNS; 1" )
{
die "Please install Net::DNS";
}
$execprg = shift @ARGV;
$execargs = join(" ", @ARGV);
$execargs =~ s/\@/\\\\\\\@/g;
sub reverse_lookup {
my $ipaddress = shift(@_);
my $res = Net::DNS::Resolver->new;
my ($query, $hostname);
$query = $res->query("$ipaddress", "PTR");
if (!$query) {
return ("");
}
$hostname= ($query->answer)[0]->rdatastr;
$hostname =~ s/\.$//;
return ($hostname);
}
$connectionfailed = <<_EOF_;
HTTP/1.0 503 Connect failed
Content-Type: text/html
<html>
<head>
<title>Internet Junkbuster: Connect failed</title>
</head>
<body bgcolor="#f8f8f0" link="#000078" alink="#ff0022" vlink="#787878">
<h1><center>Internet JUNK<font color="red">BUSTER</font></center></h1>TCP connection to 'xmagic_magicx' failed: Operation not permitted.
</body>
</html>
_EOF_
$connectionestablished = <<_EOF_;
HTTP/1.0 200 Connection established
Proxy-Agent: IJ/2.0.2
_EOF_
$connectionbad = <<_EOF_;
HTTP/1.0 400 Invalid header received from browser
_EOF_
$connectioninvalid = <<_EOF_;
HTTP/1.0 400 Invalid header received from browser
_EOF_
$| = 1;
$srcip = "127.0.0.1";
$srcip = $ENV{HONEYD_SRC_IP} if $ENV{HONEYD_SRC_IP};
while (<STDIN>) {
s/[\r\n]*\Z//m;
if (/^CONNECT (.*) HTTP/i) {
@what = split(/:/, $1);
LINE: while (<STDIN>) {
s/[\r\n]*\Z//m;
if (length $_ == 0) {
last LINE;
}
}
$host = $what[0];
$port = $what[1];
if (not $port eq "25") {
$connectionfailed =~ s/xmagic_magicx/$host:$port/gm;
print $connectionfailed;
exit;
}
if ($host =~ /^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$/) {
$hostname = reverse_lookup($host);
} elsif ($host =~ /.*\.(edu|com|org)$/) {
$hostname = $host;
} else {
$hostname = "";
}
$execargs = "-h $hostname ".$execargs unless $hostname eq "";
print $connectionestablished;
print STDERR "$srcip->$host:$port: $execargs";
eval "exec \"$execprg $execargs\"";
exit;
} elsif (/^GET (.*) HTTP/i) {
$host = $1;
LINE: while (<STDIN>) {
s/[\r\n]*\Z//m;
if (length $_ == 0) {
last LINE;
}
}
print $connectioninvalid;
exit;
} else {
print $connectionbad;
exit;
}
}
|
|
|
|
|
|
#169 |
|
Inventar
![]() |
phenom X2
![]() |
|
|
|
|
|
#170 |
|
Der Unvergleichliche
![]() |
Erscheinungsdatum
|
|
|
|
![]() |
| Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
|
|