Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Tkinter Project ##
- ## Python 2.7.15 ##
- ## Just a script for when im bored ##
- # Needed mods if ur not turning this into exe is colorama tkinter and stuff like that im too lazy to list
- from colorama import *
- init()
- whitelistPUBIP = 'WhiteListed PUB IP here'
- whitelistMAINIP = 'MAIN IP here'
- whitelistHOSTNAME = 'Host name of PC here'
- import os
- os.system ('title Error Console Output')
- import tkMessageBox
- print (Fore.RED + "=============================== DO NOT CLOSE THIS CONSOLE ===============================")
- ShowMessage = tkMessageBox.showinfo('Welcome', "Press 'OK' to contiune")
- print (Fore.GREEN + "Showed welcome box, loading whitelist script...")
- import tkSimpleDialog
- EnterCode = tkSimpleDialog.askstring('Enter Key', 'Ket your whitelisted code below.')
- if EnterCode == 'key': # If im bored again ill probably connect the key entering feature to a database so it's not only 1 key lol
- print (Fore.CYAN + "Checking key..." + Fore.GREEN + " OK!")
- print (Fore.WHITE + "The system now will be checking your vaildation.")
- else:
- print (Fore.CYAN + "Checking key..." + Fore.RED + " INVAILD!")
- print (Fore.WHITE + "Key is invaild, shutting program in 5 seconds, please try again later...")
- import time
- time.sleep(5)
- raise SystemExit('Invaild key')
- print (Fore.WHITE + "Proccessing step 1...")
- from urllib2 import urlopen
- my_ip = urlopen('http://ip.42.pl/raw').read() #gets PUB IP from this website that has the raw feature
- if my_ip == whitelistPUBIP:
- print (Fore.CYAN + "[*] Checking the public IP Address (" + my_ip + ")" + "..." + Fore.GREEN + " WHITELISTED!")
- else:
- print (Fore.CYAN + "[*] Checking the public IP Address (" + my_ip + ")" + "..." + Fore.RED + " POSSIBLE EERORS : BLACKLISTED! / NOT REGISTERD")
- print (Fore.WHITE + "Your PUB IP seems to be Blacklisted. Shutting system in 5 seconds.")
- import time
- time.sleep(5)
- raise SystemExit('BLACKLISTED PUB IP')
- print (Fore.WHITE + "Proccessing step 2...")
- import socket
- def getNetworkIp():
- s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
- s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
- s.connect(('<broadcast>', 0))
- return s.getsockname()[0] # Gets main IP
- if (getNetworkIp()) == whitelistMAINIP:
- print (Fore.CYAN + "[*] Checking the main IP Address (" + (getNetworkIp()) + ")" + Fore.GREEN + " WHITELISTED!")
- else:
- print (Fore.CYAN + "[*] Checking the main IP Address (" + (getNetworkIp()) + ")" + Fore.RED + " POSSIBLE ERRORS : BLACKLISTED! / NOT REGISTERD")
- import time
- print (Fore.WHITE + "Your main IP seems to be Blacklisted. Shutting system in 5 seconds.")
- time.sleep(5)
- raise SystemExit('BLACKLISTED MAIN IP ADDRESS')
- print (Fore.WHITE + "Proccessing step 3 (FINAL)...")
- import platform
- h = platform.uname()[1] # Gets host name
- if h == whitelistHOSTNAME:
- print (Fore.CYAN + "[*] Checking Host Name (" + h + ")" + Fore.GREEN + " WHITELISTED!")
- else:
- print (Fore.CYAN + "[*] Checking Host Name (" + h + ")" + Fore.RED + " POSSIBLE ERROS : BLACKLISTED! / CHANGED / REGISTERD")
- print (Fore.WHITE + "IMPORTANT MESSAGE : Seems like you made it through step 1 & 2.")
- print (Fore.WHITE + "You may changed your host name, if you did, contact the moderators your new host name.")
- print (Fore.RED + "[*] Exiting System in 8 seconds...")
- import time
- time.sleep(8)
- raise SystemExit('BLACKLISTED / INVAILD HOST NAME')
- print (Fore.WHITE + "Finishing steps...")
- print (Fore.WHITE + "Finished!")
- ## Starting SnoopieV2 + Checkings with announcements. ##
- print (Fore.CYAN + "~~ Launching SnoopieV2 ~~")
- from urllib2 import urlopen
- announce = urlopen('https://pastebin.com/raw/9qShvf7V').read() # Read this random announcement lol
- from Tkinter import *
- root = Tk()
- root.title('!! ~~ Last Check \ Announcements ~~ !!')
- FirstText = Text(root, height= 20, width= 60)
- FirstText.pack()
- FirstText.insert(END, "Checking Step 1 ... OK!\nChecking Step 2 ... OK!\nChecking Step 3 ... OK!\nReady to use!\n___________________________________\nAnnouncements Printed Below : \n" + announce)
- print (Fore.BLUE + "Printed Announcements / CHECKINGS")
- def ERROR():
- SecondText.insert(END, "ERROR!\n") # Functions aren't added yet like again lol this i made this bcuz im bored lolz
- # Need to add full lua DLL to inject into the game so it's useable
- ## Master Tkinter GUI ##
- master = Tk()
- master.title ('SnoopieV2')
- SecondText = Text(master, height= 20, width= 60)
- SecondText.pack()
- L1 = Label(master, text = "Injected and ready to use!", anchor = 'nw', fg = 'green')
- L1.pack()
- B1 = Button(master, text = "EXECUTE SCRIPT", command = ERROR) # Adding Full Lua DLL Later
- B1.pack()
- print (Fore.GREEN + "All things are and now it's ready to use!")
- master.mainloop()
- root.mainloop()
- ## User Support ##
- # User support doesn't have the Email Feature yet bcuz now im lazy and bored
- askuser = raw_input (Fore.CYAN + "Do you need support [Y/N] : ")
- if askuser == 'Y':
- print ("Script .getgo")
- print ("Loading help console.")
- else:
- loopiedope = True
- if loopiedope == True:
- raw_input("DONT CLOSE THIS CONSOLE YOU CHOOSE YOU DIDN'T NEED SUPPORT.")
- print (Fore.CYAN + "Everything seems to be ready, this console is now support console.")
- os.system('title Support Console')
- print (Fore.RED + "This does not mean you can close this console, keep it open even if you're not using!")
- print (Fore.CYAN + """The following commands are supported at the momment :
- [1] EmailSupport
- [2] HelpWithErrors
- More coming soon.""")
- SupportChoice = raw_input (Fore.WHITE + "If you need support please enter from the menu above : ")
- master2 = Tk()
- master2.title('Helping Screen')
- TextNumber = Text(master2, height= 20, width= 90)
- TextNumber.pack()
- TextNumber.insert(END, "Hello, welcome to the helping screen. \nPlease choose the problem that is shown in the console.")
- if SupportChoice == 'HelpWithErrors':
- print (Fore.WHITE + "You choose %s, loading Helping script / screen"% (SupportChoice))
- print (Fore.CYAN + """Here are your options :
- [1] Is this full lua executor? You Type 'LuaInfo'
- [2] Can someone else use my key while I'm using it? You type 'KeyLogging'
- [3] What if my key gets leaked? You type 'LeakedKey'
- [4] What if I lost my key? You type 'LostKey'
- [5] If your question isn't listed contact us by typing 'SendSupportEmail'""")
- UserChoice111 = raw_input("Type the question here from the options above : " + Fore.WHITE)
- if UserChoice111 == 'LuaInfo':
- print (Fore.WHITE + "Printing the answer to the GUI...")
- TextNumber.insert(END, "\n Yes it's a full lua execution command.")
- master2.mainloop()
- print (Fore.WHITE + "Printed!")
- elif UserChoice111 == 'KeyLogging':
- print (Fore.CYAN + "Printing the answer to the GUI...")
- TextNumber.insert(END, "\n NO. Even if you're offline it will detect the IP doesn't belong to this PC. NEVER SHARE.")
- master2.mainloop()
- elif UserChoice111 == 'LeakedKey':
- print (Fore.RED + "Printing the answer to the GUI...")
- TextNumber.insert(END, "\nIf your key go leaked, that's your fault. TOS says no refunds. Also it said take care of your key and be careful with it.")
- master2.mainloop()
- elif UserChoice111 == 'LostKey':
- print (Fore.GREEN + "Printing the answer to the GUI")
- TextNumber.insert (END, "\nIf you got your key lost it's okay. if you enterd the correct Discord ID go to the #bot channel and type !getkey")
- master2.mainloop()
- elif UserChoice111 == 'SendSupportEmail':
- print (Fore.WHITE + "Loading support email script.")
- master2.mainloop()
- else:
- print (Fore.WHITE + "Oh uh! You enterd an invaild command please try again later.")
- raw_input ("User support ended.")
- x12 = raw_input("OK.")
- # Discord username : Sad Pepe#2993
- # Made by Sad Pepe on v3rmillion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement