Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- #Botnet Kid AIO
- #Version 1.0
- #By LilithsKitty/KittyHaxz
- import subprocess, time
- def system(cmd):
- subprocess.call(cmd, shell=True)
- print ("\x1b[0;36mThis is Kittys Skid AIO Installation tool.")
- print ("\x1b[0;36mWelcome, and enjoy!")
- print ("\x1b[0m[\x1b[0;36m1\x1b[0m] Install Centos packages ----------------------------------------------------")
- print ("\x1b[0m[\x1b[1;30m2\x1b[0m] Install Ubuntu/Debian packages ----------------------------------------------------")
- print ("\x1b[0m[\x1b[0;36m3\x1b[0m] Install LRAB and fix cpan errors ------------------------------------------------------")
- print ("\x1b[0m[\x1b[1;30m4\x1b[0m] Install Zmap on Centos ------------------------------------------------------")
- print ("\x1b[0m[\x1b[0;36m5\x1b[0m] Install zmap on Ubuntu ------------------------------------------------------")
- print ("\x1b[0m[\x1b[1;30m6\x1b[0m] Fix qbot errors and stablize it ------------------------------------------------------")
- try:
- option = input ("Enter Option: ")
- if option == 1:
- print ("\x1b[0;36mMaking Centos installs, so hold up.")
- system ("yum update -y")
- system ("yum install gcc screen nano python perl python-paramiko nmap cpan wget curl glibc.i686 -y")
- system ("yum install zip unzip dstat httpd xnietd vsftpd tftp tftp-server wget epel-release -y")
- system ("yum install gcc php-devel php-pear libssh2 libssh2-devel libpcap gengetopt python-requests -y")
- system ("yum install gcc cmake gmp gmp-devel libpcap-devel gengetopt byacc flex dos2unix -y")
- system ("yum install json-c-doc.noarch json-c.i686 json-c.x86_64 json-c-devel.i686 json-c-devel.x86_64 -y")
- system ("yum upgrade -y")
- system ("service httpd start")
- system ("service vsftpd start")
- system ("service xinetd start")
- system ("service vsftpd restart")
- system ("service xinetd restart")
- system ("service httpd restart")
- print ("\x1b[0;36mCentos Packages Installed? -- Yes")
- print ("\x1b[0;36mSay thanks to Kitty ^.^")
- elif option == 2:
- print ("\x1b[0;36mMaking Ubuntu/Debian installs, so hold up.")
- system ("apt-get update -y")
- system ("apt-get install cpan wget curl glibc.i686 python-requests -y")
- system ("apt-get install gcc php-pear php-devel libssh2 libssh2-devel libpcap -y")
- system ("apt-get update -y; apt-get install zmap nmap python perl")
- system ("apt-get install python-paramiko gcc screen dos2unix zip unzip nano wget apache2 -y")
- system ("apt-get install python perl python-paramiko nano gcc screen -y")
- system ("apt-get upgrade -y")
- print ("\x1b[0;36mUbuntu/Debian Packages Installed? -- Yes")
- print ("\x1b[0;36mSay thanks to Kitty ^-^")
- elif option == 3:
- print ("\x1b[0;36mInstalling LRAB, If it freezes press enter DUH")
- system ("yum update -y")
- system ("apt-get update -y")
- system ("yum upgrade -y")
- system ("apt-get upgrade -y")
- system ("yum install cpan wget curl glibc.i686 -y")
- system ("apt-get install cpan wget curl glibc.i686 -y")
- system ("cpan force install CPAN")
- system ("cpan force install Parallel::ForkManager")
- system ("cpan force install IO::Socket")
- system ("cpan force install IO::Select")
- system ("yum install gcc python-paramiko php-devel php-pear libssh2 libssh2-devel libpcap -y")
- system ("apt-get install gcc perl python-paramiko cpan php-pear php-devel libssh2 libssh2-devel -y")
- system ("cpan force install Net::SSH2")
- system ("ulimit -n 999999")
- system ("pecl install -f ssh2 touch /etc/php.d/ssh2.ini echo")
- system ("extension=ssh2.so>/etc/php.d/ssh2.ini")
- system ("cpan -fi Net::SSH2")
- system ("cpan -fi Parallel::ForkManager")
- system ("wget http://search.cpan.org/CPAN/authors/id/D/DL/DLUX/Parallel-ForkManager-0.7.5.tar.gz")
- system ("tar -xvf Para*")
- system ("cd Para*")
- system ("perl Makefile.PL")
- system ("make")
- system ("make install")
- system ("cd ../")
- system ("rm -rf Para*")
- system ("wget http://www.cpan.org/authors/id/S/SA/SALVA/Net-SSH2-0.59_23.tar.gz")
- system ("tar -xvf Net*")
- system ("cd Net*")
- system ("perl Makefile.PL")
- system ("make")
- system ("make install")
- system ("cd ../")
- system ("rm -rf Net*")
- print ("\x1b[0;36mLRAB installed? -- Yes")
- print ("\x1b[1;30mCpan errors fixed? -- Yes")
- print ("\x1b[0;36mSay thanks to Kitty ^-^")
- elif option == 4:
- print ("Installing ZMAP for Centos")
- system ('''echo -e "\x1b[0;36m"
- yum update -y
- echo -e "\x1b[1;30m"
- yum install gcc cmake gmp gmp-devel libpcap-devel gengetopt byacc flex -y
- echo -e "\x1b[0;36m"
- yum install json-c-doc.noarch json-c.i686 json-c.x86_64 json-c-devel.i686 json-c-devel.x86_64 -y
- echo -e "\x1b[1;30m"
- yum install epel-release -y
- echo -e "\x1b[0;36m"
- yum install gengetopt -y
- wget https://github.com/zmap/zmap/archive/v2.1.0.tar.gz
- tar -xvf v2.1.0.tar.gz
- cd zmap-2.1.0
- flex -o "src/lexer.c" --header-file="src/lexer.h" "src/lexer.l"
- byacc -d -o "src/parser.c" "src/parser.y"
- mkdir /etc/zmap
- cp conf/* /etc/zmap
- cmake -DENABLE_HARDENING=ON
- make
- make install
- echo -e "\x1b[0;31m"''')
- print ("\x1b[0;36mZmap v2.1.0 Installed? -- Yes")
- print ("\x1b[0;36mSay thanks to Kitty =^-^=")
- elif option == 5:
- print ("\x1b[0;36mInstalling ZMAP for Ubuntu/Debian")
- system ("apt-get update -y; apt-get install zmap nmap python perl python-paramiko gcc screen dos2unix zip unzip nano wget apache2 -y")
- print ("\x1b[0;36mZmap v2.1.0 Installed? -- Yes")
- print ("\x1b[0;36mSay thanks to Kitty =^.^=")
- elif option == 6:
- print ("\x1b[0;36mFixing your weak ass qbot")
- system ("service iptables stop")
- system ("chkconfig iptables off")
- system ("service httpd restart")
- system ("ulimit -n 99999")
- system ("sed -i 's/1024/999999/g' /usr/include/bits/typesizes.h")
- file = open("/proc/sys/fs/file-max", "w")
- file.write ("999999999999999999")
- file.close()
- print ("Made yo qbot mo stable? -- Yes")
- print ("Say thanks to Kitty =^.^=")
- except KeyboardInterrupt:
- system ("clear")
- print ("Im so sorry I wasnt what you were looking for")
- print ("But, that doesnt mean you shouldnt send me money..\n")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement