import os, time, base64 import requests from colorama import Fore, init from dhooks import Webhook title = """ ____ __ ___ ___________ / __ \___ ____ ___ ____ / /____ _____ < // ___< < / / /_/ / _ \/ __ `__ \/ __ \/ __/ _ \/ ___/ / // __ \/ // / / _, _/ __/ / / / / / /_/ / /_/ __(__ ) / // /_/ / // / /_/ |_|\___/_/ /_/ /_/\____/\__/\___/____/ /_(_)____/_//_/ """ options = """ This project made by lambo(TR) send me req on discord i might not accept it [sonsuzadenk] ------------------------------------------------ |Type 1 To See Your Network Connections | |Type 2 To Ping And Learn Pc Name In Your Network| |Type 3 To Shutdown That Pc | |Type 4 To Spam Attack A Ip | |Type 5 To Shorten a url | |Type 6 To Generate Token By Id | |Type 7 To Discord Server Id To Invination Code | |Type 8 To Open Shutting Down Computers Panel | |Type 9 To Connect a PC | |Type 10 To Spam Webhook | ------------------------------------------------ """ init() def any(): while True: os.system("cls") print(Fore.GREEN + title) print(Fore.YELLOW + options) print("") i = input(Fore.GREEN + "Option: ") if i == "1": output = os.popen('arp -a').read() print(output + "\n \n This is the connected devices") aaa = input(Fore.RED + Fore.YELLOW + "Enter ip to ping: ") os.system("cls") os.system("ping -a " + aaa) os.system("cls") elif i == "2": aa = input(Fore.RED + Fore.YELLOW + "Enter ip adress: ") os.system("cls") os.system("ping -a " + aaa) os.system("cls") elif i == "3": aaaa = input(Fore.RED + Fore.YELLOW + "Enter pc name to to shutdown: ") os.system("shutdown -m -e \\" + aaaa) os.system("cls") print(Fore.RED + Fore.YELLOW + "That pc should be closed now.") time.sleep(3) os.system("cls") elif i == "4": ddos = input("Type Ip: ") tabs = int(input("How many tabs(1 tab = 0.6 mb): ")) print("Started.") time.sleep(2) os.system("cls") for _ in range(tabs): os.system(f'start cmd /k ping -t -l 65500 {ddos}') elif i == "5": def shorten_url(long_url): api_key = 'Fmzqaj3FauqKUet5oB69eTnmprwgCsn22ZmDWjrwxuBSHyQDFiIFzgq4uij5' # Replace with your t.ly API key url = 'https://api.t.ly/v1/link' headers = {'Content-Type': 'application/json', 'Authorization': api_key} payload = {'long_url': long_url} response = requests.post(url, headers=headers, json=payload) if response.status_code == 200: return response.json()['link'] else: return f"Error: {response.json().get('message', 'Unknown error')}" if __name__ == '__main__': long_url = input("Enter the URL you want to shorten: ") short_url = shorten_url(long_url) print(f"Shortened URL: {short_url}") elif i == "6": def decode_base64(encoded_str): try: decoded_bytes = base64.b64decode(encoded_str) return decoded_bytes.decode('utf-8') except Exception as e: return f"Error: {e}" if __name__ == '__main__': encoded_input = input("Enter the Discord id to decode: ") decoded_output = decode_base64(encoded_input) print(f"Decoded output: {decoded_output}") time.sleep(10) elif i == "7": server_id = input("Type Server Id: ") def create_invite(server_id, token): url = f'https://discord.com/api/v10/guilds/{server_id}/invites' headers = { 'Authorization': f'Bot {token}', 'Content-Type': 'application/json' } data = { 'max_age': 3600, # 1 hour expiration 'max_uses': 1 # Limit to one use } response = requests.post(url, headers=headers, json=data) if response.status_code == 201: invite_code = response.json()['code'] return f"https://discord.gg/{invite_code}" else: return f"Error: {response.json().get('message', 'Unknown error')}" if __name__ == '__main__': token = input("Enter your bot token: ") invite_link = create_invite(server_id, token) print(f"Invitation link: {invite_link}") elif i == "8": os.system("Shutdown -i") elif i == "9": os.system("%windir%\system32\mstsc.exe") elif i == "10": webhook = input("Enter webhook url: ") message = input("Message: ") times = input("How many times: ") for _ in range(times): webhook.send(message) else: print("Select a option") time.sleep(1) os.system("cls") any()