EvilGeek/AccountGeneratorPlus

fix at line 69

0xbitx opened this issue · 0 comments

0xbitx commented

import os , sys

fr = os.path.basename(file)

string1 = 'Obfuscated by https://pyobfuscate.com'

file1 = open(fr, "r")
readfile = file1.read()

if string1 in readfile:
pass
else:
print("Don't Edit/Remove Copyright")
input("Press Enter to Exit")
sys.exit("")
file1.close()

try:
import requests
import pyfiglet
import os
import subprocess
except ImportError:
print("Plz Run\npip3 install -r requirements.txt")

def update():
latest = requests.get(
'https://raw.githubusercontent.com/EvilGeek/AccountGeneratorPlus/main/.version'
).text.strip()
if ver()!= latest:
return True
else:
return False
def ver():
with open('.version') as version:
return version.read().strip()

class bcolors:
HEADER = '\033[95m'
OKBLUE = '\033[94m'
OKCYAN = '\033[96m'
OKGREEN = '\033[92m'
WARNING = '\033[93m'
FAIL = '\033[91m'
ENDC = '\033[0m'
BOLD = '\033[1m'
UNDERLINE = '\033[4m'
os.system('cls' if os.name == 'nt' else 'clear')
def banner():
print(bcolors.HEADER+pyfiglet.figlet_format("G E E K", font = "3x5")+bcolors.ENDC)
print()
print(bcolors.BOLD+"Account Generator Tool By D3NV3RxD on TG!!!"+bcolors.ENDC)
print(bcolors.BOLD+"GitHub @EvilGeek "+bcolors.ENDC)
print()

def gen(at):
headers = {
'User-Agent': 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Mobile Safari/537.36'
# This is another valid field
}
data=requests.get(api+at, headers=headers).text
print(bcolors.BOLD+"YOUR ACCOUNT DETAILS : \n"+bcolors.ENDC)
for i in data.split(' | '):
print(i)
#print(data)
#Mariagonz.kg@gmail.com:Gonzales2! | Subscription: Spotify Free | Country: US

def account():
try:
os.system('cls' if os.name == 'nt' else 'clear')
print()
print(bcolors.OKCYAN+"1. Spotify\n2. ExpressVPN\n3. Minecraft\n4. NBA League Pass\n5. Netflix\n6. NordVPN\n7. Spotify Family Invite\n8. Disney Plus\n\n9. HOME"+bcolors.ENDC)
print()
print(" NOTE : CTRL+C TO EXIT!")
print()
print()
type=int(input(bcolors.BOLD+"Which Account You Want? "+bcolors.ENDC))
print()
os.system('cls' if os.name == 'nt' else 'clear')
if type==1:
gen("Spotify")
elif type==2:
gen("ExpressVPN")
elif type==3:
gen("Minecraft")
elif type==4:
gen("NBA League Pass")
elif type==5:
gen("Netflix")
elif type==6:
gen("NordVPN")
elif type==7:
gen("SpotifyFamily")
elif type==8:
gen("Disney")
elif type==9:
home()
else:
print(bcolors.WARNING+"Invalid Choice!"+bcolors.ENDC)
print()
print(bcolors.BOLD+"THANK YOU FOR USING ;) "+bcolors.ENDC)
except KeyboardInterrupt:
os.system('cls' if os.name == 'nt' else 'clear')
print()
print(bcolors.OKGREEN+"Bye!!!"+bcolors.ENDC)
exit()
except ValueError:
print(bcolors.WARNING+"Invalid Choice"+bcolors.ENDC)

def home():
try:
print(bcolors.OKCYAN+"1. Generate Account\n2. Check for Update\n3. About"+bcolors.ENDC)
print()
print(" NOTE : CTRL+C TO EXIT!")
print()
print()
c=int(input(bcolors.BOLD+"Choose : "+bcolors.ENDC))
if c==1:
account()
elif c==2:
if update() == True:
if '.git' in os.listdir():
_ = subprocess.run(['git', 'stash'], shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
_ = subprocess.run(['git', 'pull'], shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
else:
content = requests.get(
'https://raw.githubusercontent.com/EvilGeek/AccountGeneratorPlus/main/.content'
).text.strip().split('\n')
for i in content:
if i == '.git':
continue
latest_source = requests.get(f'https://raw.githubusercontent.com/EvilGeek/AccountGenerator/main/{i}').content
with open(i, 'wb') as file:
file.write(latest_source)
else:
print("You Are Using Latest Version :)")

    elif c==3:
        print()
        print(bcolors.BOLD+"THIS TOOL IS CREATED BY D3NV3RxD on TELEGRAM\nIF YOU NEED HELP CONTACT HIM!!! "+bcolors.ENDC)
        print(bcolors.BOLD+"GitHub @EvilGeek "+bcolors.ENDC)
        print("v:"+ver())
        print()
        home()
    else:
        print(bcolors.WARNING+"Invalid Choice"+bcolors.ENDC)
except KeyboardInterrupt:
    os.system('cls' if os.name == 'nt' else 'clear')
    print()
    print(bcolors.OKGREEN+"Bye!!!"+bcolors.ENDC)
    exit()
except ValueError:
    print(bcolors.WARNING+"Invalid Choice"+bcolors.ENDC)

api="https://accgencoverapi.vercel.app/api?type="
def netcheck():
try:
res = requests.get('https://google.com/')
if (res.status_code):
banner()
home()
else:
print('Failure!')
exit()
except requests.exceptions.ConnectionError:
print('Failure!')
exit()
netcheck()