Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!usr/bin/python
- #+------------------------------------------- +
- #| A Simple Dashboard | Created by Ahsan Tahir|
- #+--------------------------------------------+
- # This tool is purely coded by Ahsan Tahir, copying of this tool is prohibited.
- # This is a simple offline dashboard, which contains some functions like:
- # 1. l33t Name Generator
- # 2. XSS Payload Generator
- # 3. See Your Account information
- from colorama import init
- from termcolor import colored
- xssbanner = '''
- +-----------------------+
- | XSS PAYLOAD GENERATOR |
- | BY AHSAN TAHIR |
- +-----------------------+
- '''
- infobanner = '''
- +-------------+
- | INFORMATION |
- +-------------+
- '''
- #DATABASE - Mind it, this is not sql .. lol
- usrname = "ahsan"
- paswd = "h4x0r"
- email = "mrahsan1337@gmail.com"
- name = "Ahsan Tahir"
- age = str(14)
- country = "Pakistan"
- city = "Karachi"
- print("+--------------------------------------------+")
- print("| __ __ _ |")
- print("| \ \ / / | | |")
- print("| \ \ /\ / /__| | ___ ___ _ __ ___ __ |")
- print("| \ \/ \/ / _ \ |/ __/ _ \| '_ ` _ \ / _ \|")
- print("| \ /\ / __/ | (_| (_) | | | | | | __/|")
- print("| \/ \/ \___|_|\___\___/|_| |_| |_|\___||")
- print("| |")
- print("+------------------------------------------- +")
- print("| A Simple Dashboard | Created by Ahsan Tahir|")
- print("+--------------------------------------------+")
- print("\n")
- init()
- print("+-----------------------------------+")
- print(colored("|PLEASE FIRST LOGIN TO YOUR ACCOUNT|", 'red'))
- init()
- print("+-----------------------------------+")
- def userinput():
- userinput1 = raw_input("Please Enter Your Username:\n>")
- userinput2 = raw_input("Please Enter Your Password:\n>")
- validiate(userinput1,userinput2)
- def validiate(username,password):
- if username == usrname and paswd == password:
- init()
- print(colored(" [!] Login Successful! You have been logged in as Ahsan Tahir\n [!] WELCOME TO DASHBOARD\n", 'green'))
- else:
- print(colored(" [!] Incorrect Username/Password Combination", 'red'))
- exit()
- init()
- userinput()
- init()
- print (colored("[[ L33T NAME GENERATOR ]]", 'cyan'))
- init()
- name = raw_input("Please enter your name:\n> ")
- leetname = name
- leetwords = "tseaio"
- for letter in name:
- if letter in leetwords:
- leetname = leetname.replace('a', str(4))
- leetname = leetname.replace('e', str(3))
- leetname = leetname.replace('i', '!')
- leetname = leetname.replace('o', str(0))
- leetname = leetname.replace('t', str(7))
- leetname = leetname.replace('s', '5')
- print("Your leet name: "+str(leetname))
- print("You have successfully generated your l33t name, whcih is "+leetname+".")
- print ("\n")
- option = raw_input(("What you want to do further? \n 1. Try our latest XSS payload generator. \n 2. See your account information. \n 3. Logout without doing anything. \n>"))
- if option == str(1):
- print (xssbanner)
- name = raw_input("Please Enter Your Name:\n>")
- init()
- print("[+] Your payload: "+colored("<script>alert(/xss-by-%s/);</script>", 'green')) % (name)
- elif option == str(2):
- print(infobanner)
- print(colored("Your Name: ", 'cyan'))+name
- print(colored("Your Age: ", 'cyan'))+age
- print(colored("Your Username: ", 'cyan'))+usrname
- print(colored("Your Email: ", 'cyan'))+email
- print(colored("Your Country: ", 'cyan'))+country
- print(colored("Your City: ", 'cyan'))+city
- elif option == str(3):
- init()
- print (colored("You have been logged out!", 'red'))
- exit()
Add Comment
Please, Sign In to add comment