Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os, sys, time
- #Coded by Ares
- #If you're using this script, you must be doing something illegal :/
- #You're going to jail skiddo
- try:
- mode = sys.argv[1]
- except IndexError:
- pass
- def main():
- try:
- try:
- if(mode.upper() == '-H' or mode.upper() == '-HELP'):
- print("""HELP:
- How to make the login:
- In order to make the login you must enter 'mysql -u root -p'. Then enter your MySQL Password. After entering your password you select your database. A lot of times it will be named after your source, \n for instance if your using a source named Akuma you would type 'use Akuma;' Replace the name with your source. after that, run the command printed in red after completing the script with no arguments.\n
- """)
- exit()
- else:
- if(os.name == 'nt'):
- os.system('cls')
- else:
- print("Invalid argument '" + mode + "'")
- print("Use the argument '-h' or '-help' for help!")
- except NameError:
- print('No help Detected.')
- if(os.name == 'nt'):
- os.system('cls')
- else:
- os.system('clear')
- print('Preparing MySQL..')
- os.system('service mysqld restart')
- username = raw_input('Enter the username you would like to add: ')
- password = raw_input('Please create a password for ' + username + ' : ')
- max_boot = raw_input('Please enter the maxmimum boot time for this user: ')
- attack_cooldown = raw_input("Please enter the cooldown time for this user's attacks: ")
- max_bots = raw_input('Maxmimum bot count(-1 for full botnet): ')
- admin = raw_input('Would you like this user to be admin?(ENTER 1[YES] OR 0[NO]')
- print('\033[1;37m*** NOTICE *** THE FOLLOWING IS THE COMMAND YOU ENTER TO ADD THE LOGIN! PASTE THIS COMMAND AFTER ENTERING THE PROPER DATABASE IN WHICH YOUR LOGINS ARE STORED!')
- print("\x1b[91mINSERT INTO users VALUES (NULL, '" + username + "', '" + password + "', " + max_boot + ", " + attack_cooldown + ", 0, 0, " + max_bots + ", " + admin + ", 30, '');\033[0m")
- exit()
- except KeyboardInterrupt:
- print('\nExiting..')
- time.sleep(1)
- exit()
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement