class FortifyTheWebCore(cmd.Cmd): banner() intro = 'Type show help or show ? to list commands.\n' prompt = 'fortifytheweb >' # Greeter def do_greet(self, line): greet() ftwmods = ['httpheaderanalyzer', 'subdomainlookup', 'dnsmisconfig'] # Show commands def do_show(self, showopt): if showopt == 'modules': showmods() elif showopt == 'credits': showcredits() elif showopt == 'help': showhelp() else: print "" print "Show options:" print "help, modules, credits\n" # Search function def do_search(self, searchopt): print "Search function" # FortifyTheWeb Modules def do_run(self, runopt): if runopt == 'httpheaderanalyzer': httpheaderanalyzer() elif runopt == 'subdomainfinder': subdomainfinder() elif runopt == 'dnsmisconfig': dnsmisconfig() else: print "[!!!] No module(s) found by that name (this could be a typo)." def complete_run(self, text, line, begidx, endidx): if not text: completions = self.ftwmods[:] else: completions = [f for f in self.ftwmods if f.startswith(text)] return completions def do_EOF(self, line): return True def postloop(self): print
def __init__(self, command_sets: Optional[Iterable[CommandSet]] = None): shortcuts = cmd2.DEFAULT_SHORTCUTS shortcuts.update({'&': 'speak'}) super().__init__(multiline_commands=['orate'], shortcuts=shortcuts, command_sets=command_sets) #set banner self.intro = banner() #Add settables from external plugins add_settables_from_plugin(self) # Make maxrepeats settable at runtime self.maxrepeats = 3 self.add_settable(cmd2.Settable('maxrepeats', int, 'max repetitions for speak command')) self.config = self._read_init()
ngrok_portfwd() os.system('cd templates/liveYT/ ; python3 app.py') def server(): print(f"""----- Choose a template ----- {colored('[', 'green')}01{colored(']', 'green')} {colored('Festival Wishing', 'yellow')} {colored('[', 'green')}02{colored(']', 'green')} {colored('Live Youtube TV', 'yellow')} """) choice = input( f"{colored('[', 'green')}+{colored('] Choose a template', 'green')} [Default is 1]: " ) if choice == '1' or choice == '01' or choice == '': fes_wish() elif choice == '2' or choice == '02': liveYt() else: print('Invalid Input, Please Try Again...') if __name__ == "__main__": try: print(banner()) ngrok_check() server() except Exception as err: print(err) except KeyboardInterrupt as keyerr: print("\nKeyboard Intrrupt Detected... Exiting...")
from banner import * from utils import * banner() try: def fermat_factors(n): assert n % 2 != 0 a = gmpy2.isqrt(n) b2 = gmpy2.square(a) - n while not gmpy2.is_square(b2): a += 1 b2 = gmpy2.square(a) - n return a + gmpy2.isqrt(b2), a - gmpy2.isqrt(b2) c = int(input("==> c = ")) n = int(input("==> n = ")) e = int(input("==> e = ")) p, q = fermat_factors(n) phi = (p-1)*(q-1) d = modinv(e,phi) decrypt = pow(c,d,n) convert(decrypt) except IndexError: slowprint("[-] Sorry Can't Factorize n ") except ImportError: slowprint("\n[-] Module Not Setup") except ValueError: slowprint("\n[-] c, e, n Must Be Integar Number") except AssertionError: slowprint("\n[-] Wrong Data")
def tidosmain(): while True: try: main = raw_input(''+M+' ' + color.BOLD + 'TID :> ' + color.END) if main == "info": print ""+O+color.BOLD+" [!] Collecting info about your network..." time.sleep(0.5) print ""+G+color.BOLD+" [*] Info collected... Preparing results..."+color.END time.sleep(1) info() elif main == "geoip": time.sleep(0.5) print ""+P+color.BOLD+" [!] Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" [*] Launching module..."+color.END time.sleep(1) geoIP() elif main == "subdom": print ""+P+color.BOLD+" [!] Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" [*] Launching module..."+color.END time.sleep(1) subdom() elif main == "grabhead": print ""+P+color.BOLD+" [!] Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" [*] Launching module..."+color.END time.sleep(1) grabhead() elif main == "subnet": print ""+P+color.BOLD+" [!] Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" [*] Launching module..."+color.END time.sleep(1) subnet() elif main == "dnschk": print ""+P+color.BOLD+" [!] Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" [*] Launching module..."+color.END time.sleep(1) dnschk() elif main == "nmap": print ""+P+color.BOLD+" [!] Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" [*] Launching module..."+color.END time.sleep(1) nmapmain() elif main == "pglink": print ""+P+color.BOLD+" [!] Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" [*] Launching module..."+color.END time.sleep(1) links() elif main == "revip": print ""+P+color.BOLD+" [!] Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" [*] Launching module..."+color.END time.sleep(1) revip() elif main == "help": print ""+O+color.BOLD+" +================================================================+" print ""+C+color.BOLD+" ╦ ╦╔═╗╦ ╔═╗" print ""+C+color.BOLD+" ╠═╣║╣ ║ ╠═╝" print ""+C+color.BOLD+" ╩ ╩╚═╝╩═╝╩ " print ""+O+color.BOLD+" +================================================================+" time.sleep(0.2) print ""+C+color.BOLD+" [1] help "+GR+"- Displays this help message" time.sleep(0.05) print ""+P+color.BOLD+" [2] banner "+GR+"- Prints a new banner" time.sleep(0.05) print ""+G+color.BOLD+" [3] cls "+GR+"- Clears the screen" time.sleep(0.05) print ""+R+color.BOLD+" [4] info "+GR+"- Displays information about your Network" time.sleep(0.05) print ""+C+color.BOLD+" [5] piweb "+GR+"- Pings a website" time.sleep(0.05) print ""+M+color.BOLD+" [6] grabhead"+GR+" - Grabs the HTTP Headers of a Website" time.sleep(0.05) print ""+T+color.BOLD+" [7] whois"+GR+" - Get WHOIS info of a website" time.sleep(0.05) print ""+P+color.BOLD+" [8] revip"+GR+" - Do a Reverse IP LookUP of a Website" time.sleep(0.05) print ""+M+color.BOLD+" [9] revdns"+GR+" - Does a Reverse DNS LookUP of Website" time.sleep(0.05) print ""+R+color.BOLD+" [10] geoip"+GR+" - Does a GeoIP Lookup of the website" time.sleep(0.05) print ""+C+color.BOLD+" [11] subdom"+GR+" - Launches the Sub-Domain scanner" time.sleep(0.05) print ""+G+color.BOLD+" [12] subnet"+GR+" - Does a SubNet Scan of a Website" time.sleep(0.05) print ""+P+color.BOLD+" [13] dnschk"+GR+" - Starts up a DNS LookUP of a Website" time.sleep(0.05) print ""+B+color.BOLD+" [14] gsearch"+GR+" - Search Google for a DORK or a Query" time.sleep(0.05) print ""+O+color.BOLD+" [15] pglink"+GR+" - Dumps a list of the links with Website" time.sleep(0.05) print ""+C+color.BOLD+" [16] adminpnl"+GR+" - Hunt for the Admin Panel of a Website" time.sleep(0.05) print ""+B+color.BOLD+" [17] clikjak"+GR+" - Test a website for clickjackabilities" time.sleep(0.05) print ""+O+color.BOLD+" [18] honeypot"+GR+" - Test whether a IP is a honeypot" time.sleep(0.05) print ""+R+color.BOLD+" [19] zonetrans"+GR+" - Test a Web for ZoneTransfer Vulerability" time.sleep(0.05) print ""+G+color.BOLD+" [20] nmap"+GR+" - For Advanced Reconnaissance on a Website" time.sleep(0.05) print ""+C+color.BOLD+" [21] fl00d"+GR+" - Flood a website at the UDP level dead" time.sleep(0.05) print ""+R+color.BOLD+" [22] exit"+GR+" - Quits this tool " time.sleep(0.05) print ""+P+color.BOLD+" [23] contact"+GR+" - Contact me for queries :)" time.sleep(0.05) print ""+O+color.BOLD+" +=================================================================+" elif main == "zonetrans": print ""+P+color.BOLD+" [!] Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" [*] Launching module..."+color.END time.sleep(1) zone() elif main == "honeypot": print ""+P+color.BOLD+" [!] Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" [*] Launching module..."+color.END time.sleep(1) honeypot() elif main == "adminpnl": print ""+P+color.BOLD+" [!] Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" [*] Launching module..."+color.END time.sleep(1) adminpanel() elif main == "clikjak": print ""+P+color.BOLD+" [!] Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" [*] Launching module..."+color.END time.sleep(1) clickjack() elif main == "fl00d": print ""+P+color.BOLD+" [!] Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" [*] Launching module..."+color.END time.sleep(1) UDoS() elif main == "whois": print ""+P+color.BOLD+" [!] Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" [*] Launching module..."+color.END time.sleep(1) whoischeckup() elif main == "gsearch": print ""+P+color.BOLD+" [!] Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" [*] Launching module..."+color.END time.sleep(1) googleSearch() elif main == "revdns": print ""+P+color.BOLD+" [!] Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" [*] Launching module..."+color.END time.sleep(1) revdns() elif main == "contact": print(''+O+color.BOLD+' +=====================================================================+' + color.END) print(''+T+color.BOLD+' ╔═╗╔═╗╔╗╔╔╦╗╔═╗╔═╗╔╦╗ ╔╦╗╔═╗') time.sleep(0.1) print(''+T+color.BOLD+' ║ ║ ║║║║ ║ ╠═╣║ ║ ║║║║╣ ') time.sleep(0.1) print(''+T+color.BOLD+' ╚═╝╚═╝╝╚╝ ╩ ╩ ╩╚═╝ ╩ ╩ ╩╚═╝') time.sleep(0.1) print(''+O+color.BOLD+' +=====================================================================+' + color.END) print(''+T+color.BOLD+' Facebook :>'+GR+'' + color.BOLD + ' https://www.facebook.com/pinaxx.robinson' + color.END) time.sleep(0.3) print(''+T+color.BOLD+' Instagram :>'+GR+'' + color.BOLD + ' @tID - www.instagram.com/the_infected_drake'+color.END) time.sleep(0.3) print(''+T+color.BOLD+' Email me :>'+GR+'' + color.BOLD + ' [email protected]' + color.END) print(''+O+color.BOLD+' +=====================================================================+' + color.END) elif main == "piweb": piweb() elif main == "banner": print (""+C+color.BOLD+" ╔╗╔╔═╗╦ ╦ ╔╗ ╔═╗╔╗╔╔╗╔╔═╗╦═╗") time.sleep(0.1) print (""+C+color.BOLD+" ║║║║╣ ║║║ ╠╩╗╠═╣║║║║║║║╣ ╠╦╝") time.sleep(0.1) print (""+C+color.BOLD+" ╝╚╝╚═╝╚╩╝ ╚═╝╩ ╩╝╚╝╝╚╝╚═╝╩╚═") time.sleep(0.5) os.system('clear') banner() banner1() elif main == "cls": time.sleep(0.1) print (""+C+color.BOLD+" ╔═╗╦ ╔═╗╔═╗╦═╗ ╔═╗╔═╗╦═╗╔═╗╔═╗╔╗╔") time.sleep(0.1) print (""+C+color.BOLD+" ║ ║ ║╣ ╠═╣╠╦╝ ╚═╗║ ╠╦╝║╣ ║╣ ║║║") time.sleep(0.1) print (""+C+" ╚═╝╩═╝╚═╝╩ ╩╩╚═ ╚═╝╚═╝╩╚═╚═╝╚═╝╝╚╝") time.sleep(0.5) os.system('clear') elif main == "exit": print (''+O+' +==============================================================+' + color.END) print (""+C+color.BOLD+" ╔═╗ ╦ ╦╦╔╦╗") time.sleep(0.1) print (""+C+color.BOLD+" ║═╬╗║ ║║ ║") time.sleep(0.1) print (""+C+color.BOLD+" ╚═╝╚╚═╝╩ ╩" + color.END) time.sleep(0.1) print(''+O+color.BOLD+' +==============================================================+' + color.END) print (""+R+color.BOLD+" [*] \033[91m" + "Exiting..." + color.END) time.sleep(0.3) print (""+GR+color.BOLD+" [*] " + "Remember the Infected Drake" + color.END) time.sleep(0.3) print (""+O+color.BOLD+" [*] " + "GoodBye... ^_^" + color.END) time.sleep(0.3) print (''+O+color.BOLD+' +==============================================================+' + color.END) sys.exit() elif main == "": print (""+R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter an option properly..." + color.END) elif main == "1": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) elif main == "2": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) elif main == "3": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) elif main == "4": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) elif main == "5": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) elif main == "6": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) elif main == "7": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) elif main == "8": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) elif main == "9": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) elif main == "10": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) elif main == "11": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) elif main == "12": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) elif main == "13": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) elif main == "14": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) elif main == "15": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) elif main == "16": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) elif main == "17": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) elif main == "18": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) elif main == "19": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) elif main == "20": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) elif main == "21": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) else: print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the corresponding keyword..."+color.END) except KeyboardInterrupt: print (""+R+"\n [!] " + color.UNDERLINE + "\033[91m" + " Use 'exit' to close the tool!" + color.END) tidosmain()
class FortifyTheWebCore(cmd.Cmd): banner() intro = 'Type show help or show ? to list commands.\n' prompt = 'fortifytheweb >' ftwmods = ['httpheaderanalyzer', 'subdomainlookup', 'dnsmisconfig'] # Show commands def do_show(self, showopt): """\n* Show command will list down all available modules and exploits, format: show <modules> <exploits>\n""" if showopt == 'modules': showmods() elif showopt == 'exploits': showsploits() elif showopt == 'credits': showcredits() else: print "" print "Show options:" print "help, modules, credits\n" # Search function def do_search(self, searchopt): """\n* Search within the FortifyTheWeb Core, format: search <string>\n""" print "Search function" # FortifyTheWeb Modules def do_run(self, runopt): """\n* Run command will execute the specified module, format: run <module_name>\n""" if runopt == 'modules/recon/httpheaderanalyzer': httpheaderanalyzer() elif runopt == 'modules/recon/subdomainfinder': subdomainfinder() elif runopt == 'modules/vulnerability/dnsmisconfig': dnsmisconfig() elif runopt == 'modules/discovery/vhostfinder': vhostfinder() elif runopt == 'modules/recon/shodanlookup': shodanlookup() else: print "[!!!] No module(s) found by that name (this could be a typo)." def complete_run(self, text, line, begidx, endidx): if not text: completions = self.ftwmods[:] else: completions = [f for f in self.ftwmods if f.startswith(text)] return completions # FortifyTheWeb Exploits def do_exploit(self, exploitopt): """\n* Exploit command will execute the specified exploit, format: exploit <exploit_name>\n""" if exploitopt == 'modules/exploits/whmcs': whmcs() else: print "[!!!] No exploit(s) found by that name (this could be a typo)." def do_shell(self, line): """\n* Shell command will allow you to issue a FTWCore external command, format: shell <command>\n""" output = os.popen(line).read() print output self.last_output = output def do_quit(self, *args): """\n* Quit command will shutdown the application cleanly, format: quit\n""" print '[!!!] Shutting down......' time.sleep(3) print '[!!!] Good bye......' return True def do_EOF(self, line): return True def postloop(self): print
def tritymain(): while True: try: main = raw_input('' + G + '' + color.BOLD + color.UNDERLINE + 'Tri>' + color.END) if main in swear: print("" + R + "[!] " + color.UNDERLINE + "\033[91m" + "Watch your language!" + color.END) elif main in spell: print("" + R + "[!] " + color.UNDERLINE + "\033[91m" + "Do you know how to spell?!" + color.END) elif main == "joke": joke() elif main == "info": info() elif main == "help": print "" + W + "+----------------------------+" print "" + C + "help " + W + "- displays this help message" print "" + C + "clear " + W + "- clears the screen" print "" + C + "exit " + W + "- exits tool" print "" + C + "tool " + W + "- displays info about the tool" print "" + C + "info " + W + "- displays computer and network info" print "" + C + "cd " + W + "- change working directories" print "" + W + "+----------------------------+" print "" + P + "speak " + W + "- text to speech" print "" + P + "ping " + W + "- ping a host" print "" + P + "banner " + W + "- print a new banner" print "" + P + "joke " + W + "- tell a joke" print "" + P + "quote " + W + "- print a quote" print "" + P + "contact " + W + "- contact me" print "" + W + "+----------------------------+" print "" + R + "website " + W + "- enter a website and get its ip" print "" + R + "clone" + W + " - clone a websites source " print "" + R + "whois" + W + " - whois a website" print "" + R + "web" + W + " - extract info from a website" print "" + R + "siteexists" + W + " - check if a site exists" print "" + R + "google" + W + " - find google results for a query" print "" + W + "+----------------------------+" print "" + G + "ip " + W + "- geolocate an ip" print "" + W + "+----------------------------+" print "" + O + "xss " + W + "- simple check for a xss vulnerability" print "" + O + "sql " + W + "- basic check for a sql vulnerability" print "" + O + "admin " + W + "- scan a website for its admin panel" print "" + W + "+----------------------------+" print "" + T + "email " + W + "- bomb an email address" print "" + T + "spoof email " + W + "- spoof an email address" print "" + T + "anonymous " + W + "- send an anonymous email" print "" + T + "sms" + W + " - spam text messages " print "" + T + "twitter" + W + " - check the details of a twitter account" print "" + W + "+----------------------------+" print color.CYAN + "craft" + W + " - generate useful scripts " print color.CYAN + "qr" + W + " - generate a qr code" print color.CYAN + "zip" + W + " - crack a password-protected zip file" print "" + W + "+----------------------------+" print color.BLUE + "encode base64" + W + " - text to base64" print color.BLUE + "decode base64" + W + " - base64 to text" print color.BLUE + "encode hex" + W + " - text to hex" print color.BLUE + "decode hex" + W + " - hex to text" print "" + W + "+----------------------------+" elif main == "sms": sms() elif main == "xss": xss() elif main == "sql": sql() elif main == "anonymous": anon() elif main == "encode base64": encode() elif main == "decode base64": decode() elif main == "email": smtp() elif main == "quote": quote() elif main == "spoof email": spoofemail() elif main == "zip": zipfile() elif main == "decode hex": decode1() elif main == "encode hex": encode1() elif main == "google": googleSearch() elif main == "web": web() elif main == "siteexists": siteexists() elif main == "qr": gen_qrcode() elif main == "twitter": twitter() elif main == "anonymous": anon() elif main == "contact": print('' + T + '' + color.UNDERLINE + 'Skype:' + W + '' + color.BOLD + ' [email protected]' + color.END) print('' + T + '' + color.UNDERLINE + 'Instagram:' + W + '' + color.BOLD + ' @_t0x1c - www.instagram.com/_t0x1c' + color.END) print('' + T + '' + color.UNDERLINE + 'Email me:' + W + '' + color.BOLD + ' [email protected]' + color.END) print('' + T + '' + color.UNDERLINE + 'XMPP:' + W + '' + color.BOLD + ' [email protected]' + color.END) print('' + T + '' + color.UNDERLINE + 'Twitter:' + W + '' + color.BOLD + ' @toxicnull' + color.END) elif main == "ping": while True: hostname = raw_input('' + T + '' + color.UNDERLINE + 'Host>' + color.END) os.system("ping " + hostname) elif main == "craft": while True: table() elif main == "whois": whoisweb() elif main == "admin": admin() elif main == "banner": os.system('clear') banner() banner1() elif main == "speak": while True: speak = raw_input('' + T + '' + color.UNDERLINE + 'What to say>' + color.END) os.system('espeak "' + speak + '"') elif main == "clone": clone() elif main == "cd": try: path = raw_input('' + T + '' + color.UNDERLINE + 'Directory>' + color.END) os.chdir(path) except OSError: print("" + R + "[!] " + color.UNDERLINE + "\033[91m" + "That is not a directory!" + color.END) elif main == "tool": print(color.UNDERLINE + '' + C + 'Version: ' + (VersionNum) + color.END) print(color.UNDERLINE + '' + C + '34 options to choose from!' + color.END) print(color.UNDERLINE + '' + C + 'Time spent on it: 76 hours - 14 minutes' + color.END) print(color.UNDERLINE + '' + C + 'toxic is a sp00ky h4ck3r' + color.END) elif main == "website": while True: a = raw_input('' + T + '' + color.UNDERLINE + 'Website>' + color.END) try: print socket.gethostbyname(a) except socket.gaierror: print("" + R + "[!] " + color.UNDERLINE + "\033[91m" + "Apparently host is unknown! :/" + color.END) elif main == "ip": ip = raw_input('' + T + '' + color.UNDERLINE + 'IP>' + color.END) if ip is None or ip == "": sys.exit("" + R + "[!] " + color.UNDERLINE + "\033[91m" + "Please enter an IP!" + color.END) reversed_dns = socket.getfqdn(ip) geoip = urllib.urlopen( 'http://api.hackertarget.com/geoip/?q=' + ip).read().rstrip() print("" + G + "[*] " + color.UNDERLINE + "\033[91m" + "IP Info" + color.END) print geoip elif main == "clear": os.system('clear') elif main == "exit": print("" + G + "[*] " + color.UNDERLINE + "\033[91m" + "Exiting..." + color.END) print("" + G + "[*] " + color.UNDERLINE + "\033[92m" + "GoodBye!" + color.END) time.sleep(0.2) sys.exit() elif main == "": print("" + R + "[!] " + color.UNDERLINE + "\033[91m" + "Please enter an option!" + color.END) else: print("" + R + "[!] " + color.UNDERLINE + "\033[91m" + "That is not an option!" + color.END) except KeyboardInterrupt: print("" + R + "[!] " + color.UNDERLINE + "\033[91m" + "\nCtrl-C Pressed! Use 'exit' to close the tool!" + color.END) tritymain()
def tidosmain(): while True: try: main = raw_input('' + M + ' ' + color.BOLD + 'TID :> ' + color.END) if main == "info": info() elif main == "webex": webex() elif main == "help": print "" + O + color.BOLD + " +==============================================================+" print "" + C + color.BOLD + " ╦ ╦╔═╗╦ ╔═╗" print "" + C + color.BOLD + " ╠═╣║╣ ║ ╠═╝" print "" + C + color.BOLD + " ╩ ╩╚═╝╩═╝╩ " print "" + O + color.BOLD + " +==============================================================+" time.sleep(0.2) print "" + C + color.BOLD + " help " + GR + "- Displays this help message" time.sleep(0.2) print "" + P + color.BOLD + " banner " + GR + "- Prints a new banner" time.sleep(0.2) print "" + G + color.BOLD + " cls " + GR + "- Clears the screen" time.sleep(0.2) print "" + T + color.BOLD + " info " + GR + "- Displays information about your Network" time.sleep(0.2) print "" + C + color.BOLD + " piweb " + GR + "- Pings a website" time.sleep(0.2) print "" + G + color.BOLD + " webex" + GR + " - Check whether a website exists or not" time.sleep(0.2) print "" + T + color.BOLD + " whois" + GR + " - Get WHOIS info of a website" time.sleep(0.2) print "" + B + color.BOLD + " gsearch" + GR + " - Search Google about a Website" time.sleep(0.2) print "" + O + color.BOLD + " fl00d" + GR + " - Flood a website at the UDP level dead" time.sleep(0.2) print "" + R + color.BOLD + " exit" + GR + " - Quits this tool " time.sleep(0.2) print "" + M + color.BOLD + " contact" + GR + " - Contact me for queries :)" time.sleep(0.2) print "" + O + color.BOLD + " +===============================================================+" elif main == "fl00d": UDoS() elif main == "whois": whoischeckup() elif main == "gsearch": googleSearch() elif main == "contact": print( '' + O + color.BOLD + ' +====================================================================+' + color.END) print( '' + T + color.BOLD + ' ╔═╗╔═╗╔╗╔╔╦╗╔═╗╔═╗╔╦╗ ╔╦╗╔═╗' ) time.sleep(0.1) print( '' + T + color.BOLD + ' ║ ║ ║║║║ ║ ╠═╣║ ║ ║║║║╣ ' ) time.sleep(0.1) print( '' + T + color.BOLD + ' ╚═╝╚═╝╝╚╝ ╩ ╩ ╩╚═╝ ╩ ╩ ╩╚═╝' ) time.sleep(0.1) print( '' + O + color.BOLD + ' +=====================================================================+' + color.END) print('' + T + color.BOLD + ' Facebook :>' + GR + '' + color.BOLD + ' https://www.facebook.com/pinaxx.robinson' + color.END) time.sleep(0.3) print('' + T + color.BOLD + ' Instagram :>' + GR + '' + color.BOLD + ' @tID - www.instagram.com/the_infected_drake' + color.END) time.sleep(0.3) print('' + T + color.BOLD + ' Email me :>' + GR + '' + color.BOLD + ' [email protected]' + color.END) print( '' + O + color.BOLD + ' +=====================================================================+s' + color.END) elif main == "piweb": print( "" + C + " " ) print( "" + C + color.BOLD + " ____ ____ _ _ ____ ____ " ) print( "" + C + color.BOLD + " ( _ \(_ _)( \/\/ )( ___)( _ \ " ) print( "" + C + color.BOLD + " )___/ _)(_ ) ( )__) ) _ < " ) print( "" + C + color.BOLD + " (__) (____)(__/\__)(____)(____/ " ) time.sleep(0.3) print( '' + O + ' +=======================================================+' + color.END) print '' while True: hostname = raw_input( '' + T + color.BOLD + ' Website :> ' + color.END) os.system("ping " + hostname) elif main == "banner": print( "" + C + color.BOLD + " ╔╗╔╔═╗╦ ╦ ╔╗ ╔═╗╔╗╔╔╗╔╔═╗╦═╗" ) time.sleep(0.1) print( "" + C + color.BOLD + " ║║║║╣ ║║║ ╠╩╗╠═╣║║║║║║║╣ ╠╦╝" ) time.sleep(0.1) print( "" + C + color.BOLD + " ╝╚╝╚═╝╚╩╝ ╚═╝╩ ╩╝╚╝╝╚╝╚═╝╩╚═" ) time.sleep(0.5) os.system('clear') banner() banner1() elif main == "cls": time.sleep(0.1) print( "" + C + color.BOLD + " ╔═╗╦ ╔═╗╔═╗╦═╗ ╔═╗╔═╗╦═╗╔═╗╔═╗╔╗╔" ) time.sleep(0.1) print( "" + C + color.BOLD + " ║ ║ ║╣ ╠═╣╠╦╝ ╚═╗║ ╠╦╝║╣ ║╣ ║║║" ) time.sleep(0.1) print( "" + C + " ╚═╝╩═╝╚═╝╩ ╩╩╚═ ╚═╝╚═╝╩╚═╚═╝╚═╝╝╚╝" ) time.sleep(0.5) os.system('clear') elif main == "exit": print( '' + O + ' ============================================================' + color.END) print("" + C + color.BOLD + " ╔═╗ ╦ ╦╦╔╦╗") time.sleep(0.1) print("" + C + color.BOLD + " ║═╬╗║ ║║ ║") time.sleep(0.1) print("" + C + color.BOLD + " ╚═╝╚╚═╝╩ ╩" + color.END) time.sleep(0.1) print( '' + O + ' ============================================================' + color.END) print("" + M + color.BOLD + " [*] \033[91m" + "Exiting..." + color.END) time.sleep(0.3) print("" + GR + color.BOLD + " [*] " + "Remember the Infected Drake" + color.END) time.sleep(0.3) print("" + O + color.BOLD + " [*] " + "GoodBye... ^_^" + color.END) time.sleep(0.3) print( '' + O + ' ============================================================' + color.END) sys.exit() elif main == "": print("" + R + " [!] " + color.UNDERLINE + "\033[91m" + "Enter an option properly" + color.END) else: print("" + R + " [!] " + color.UNDERLINE + "\033[91m" + "That is not an option! Type 'help'" + color.END) except KeyboardInterrupt: print("" + R + " [!] " + color.UNDERLINE + "\033[91m" + " Use 'exit' to close the tool!" + color.END) tidosmain()
def tritymain(): while True: try: main = raw_input('' + G + '' + color.BOLD + color.UNDERLINE + 'Tri>' + color.END) if main in swear: print("" + R + "[!] " + color.UNDERLINE + "\033[91m" + "Watch your language!" + color.END) elif main in spell: print("" + R + "[!] " + color.UNDERLINE + "\033[91m" + "Do you know how to spell?!" + color.END) elif main == "joke": joke() elif main == "info": info() elif main == "help": print "" + W + "+----------------------------+" print "" + C + "help " + W + "- displays this help message" print "" + C + "clear " + W + "- clears the screen" print "" + C + "exit " + W + "- exits tool" print "" + C + "tool " + W + "- displays info about the tool" print "" + C + "info " + W + "- displays computer and network info" print "" + C + "cd " + W + "- change working directories" print "" + C + "ls " + W + "- see files in working directory" print "" + W + "+----------------------------+" print "" + P + "echo " + W + "- echo given words" print "" + P + "speak " + W + "- text to speech" print "" + P + "ping " + W + "- ping a host" print "" + P + "banner " + W + "- print a new banner" print "" + P + "joke " + W + "- tell a joke" print "" + P + "quote " + W + "- print a quote" print "" + P + "contact " + W + "- contact me" print "" + W + "+----------------------------+" print "" + R + "website " + W + "- enter a website and get its ip" print "" + R + "clone" + W + " - clone a websites source " print "" + R + "whois" + W + " - whois a website" print "" + R + "web" + W + " - extract info from a website" print "" + R + "siteexists" + W + " - check if a site exists" print "" + R + "google" + W + " - find google results for a query" print "" + R + "clickjacking" + W + " - test websites for clickjacking vulnerability" print "" + W + "+----------------------------+" print "" + G + "ip " + W + "- geolocate an ip" print "" + W + "+----------------------------+" print "" + O + "spoof mac" + W + " - spoof mac address" print "" + W + "+----------------------------+" print "" + T + "email " + W + "- bomb an email address" print "" + T + "spoof email " + W + "- spoof an email address" print "" + T + "sms" + W + " - spam text messages " print "" + T + "crack" + W + " - bruteforce an email" print "" + T + "anonymous" + W + " - send an anonymous email" print "" + T + "facebook" + W + " - bruteforce a facebook account" print "" + T + "twitter" + W + " - check the details of a twitter account" print "" + W + "+----------------------------+" print color.CYAN + "craft" + W + " - generate useful scripts " print color.CYAN + "qr" + W + " - generate a qr code" print color.CYAN + "zip" + W + " - crack a password-protected zip file" print "" + W + "+----------------------------+" print color.BLUE + "encode base64" + W + " - text to base64" print color.BLUE + "decode base64" + W + " - base64 to text" print color.BLUE + "encode hex" + W + " - text to hex" print color.BLUE + "decode hex" + W + " - hex to text" print "" + W + "+----------------------------+" elif main == "spoof mac": print "" + C + "1 - Random MAC address" print "" + C + "2 - Set MAC address" print "" + C + "3 - See available addresses" while True: spoofmac = raw_input('' + G + '' + color.UNDERLINE + 'Tri>Spoof>' + color.END) if spoofmac == "1": try: inter = raw_input('' + T + '' + color.UNDERLINE + 'Interface>' + color.END) os.system('spoof-mac.py randomize ' + inter) print "" + G + "[*] Done! " + C + "To change you MAC Address back to your original, restart your computer\n or set your MAC address to your original" except: print("" + R + "[!] " + color.UNDERLINE + "\033[91m" + "Oops.... Something went wrong!" + color.END) elif spoofmac == "2": try: inter = raw_input('' + T + '' + color.UNDERLINE + 'Interface>' + color.END) setmac = raw_input('' + T + '' + color.UNDERLINE + 'New MAC>' + color.END) os.system('spoof-mac.py set ' + setmac + ' ' + inter) print "" + C + "Keep in mind you won't have internet during the time of your spoofed MAC!" print "" + G + "[*] Done!" + C + " To change you MAC Address back to your original, restart your computer\n or set your MAC address to your original" except: print("" + R + "[!] " + color.UNDERLINE + "\033[91m" + "Oops... Something went wrong!" + color.END) elif spoofmac == "3": os.system('spoof-mac.py list') else: print("" + R + "[!] " + color.UNDERLINE + "\033[91m" + "That is not an option!" + color.END) elif main == "sms": sms() elif main == "encode base64": encode() elif main == "decode base64": decode() elif main == "email": smtp() elif main == "quote": quote() elif main == "spoof email": spoofemail() elif main == "zip": zipfile() elif main == "decode hex": decode1() elif main == "encode hex": encode1() elif main == "google": googleSearch() elif main == "web": web() elif main == "clickjacking": clickjacking() elif main == "siteexists": siteexists() elif main == "qr": gen_qrcode() elif main == "twitter": twitter() elif main == "crack": gmail() elif main == "anonymous": anon() elif main == "contact": print('' + T + '' + color.UNDERLINE + 'Skype:' + W + '' + color.BOLD + ' infamouzgaming' + color.END) print('' + T + '' + color.UNDERLINE + 'Instagram:' + W + '' + color.BOLD + ' @_t0x1c - www.instagram.com/_t0x1c' + color.END) print('' + T + '' + color.UNDERLINE + 'Email me:' + W + '' + color.BOLD + ' [email protected]' + color.END) print('' + T + '' + color.UNDERLINE + 'XMPP:' + W + '' + color.BOLD + ' [email protected]' + color.END) elif main == "ping": while True: hostname = raw_input('' + T + '' + color.UNDERLINE + 'Host>' + color.END) os.system("ping " + hostname) elif main == "craft": while True: table() elif main == "facebook": facebook() elif main == "whois": whoisweb() elif main == "admin": admin() elif main == "banner": os.system('clear') banner() banner1() elif main == "speak": while True: speak = raw_input('' + T + '' + color.UNDERLINE + 'What to say>' + color.END) os.system('espeak "' + speak + '"') elif main == "echo": while True: echo = raw_input('' + T + '' + color.UNDERLINE + 'What to echo>' + color.END) os.system('echo ' + echo) elif main == "clone": clone() elif main == "cd": try: path = raw_input('' + T + '' + color.UNDERLINE + 'Directory>' + color.END) os.chdir(path) except OSError: print("" + R + "[!] " + color.UNDERLINE + "\033[91m" + "That is not a directory!" + color.END) elif main == "ls": os.system('ls') elif main == "tool": print(color.UNDERLINE + '' + C + 'Version: 3.0.1' + color.END) print(color.UNDERLINE + '' + C + 'Time spent on it: 74 hours - 21 minutes' + color.END) print(color.UNDERLINE + '' + C + 'toxic is a sp00ky h4ck3r' + color.END) elif main == "website": while True: a = raw_input('' + T + '' + color.UNDERLINE + 'Website>' + color.END) try: print socket.gethostbyname(a) except socket.gaierror: print("" + R + "[!] " + color.UNDERLINE + "\033[91m" + "Apparently host is unknown! :/" + color.END) elif main == "ip": ip = raw_input('' + T + '' + color.UNDERLINE + 'IP>' + color.END) if ip is None or ip == "": sys.exit("" + R + "[!] " + color.UNDERLINE + "\033[91m" + "Please enter an IP!" + color.END) reversed_dns = socket.getfqdn(ip) geoip = urllib.urlopen( 'http://api.hackertarget.com/geoip/?q=' + ip).read().rstrip() print("" + G + "[*] " + color.UNDERLINE + "\033[91m" + "IP Info" + color.END) print geoip elif main == "clear": os.system('clear') elif main == "exit": print("" + G + "[*] " + color.UNDERLINE + "\033[91m" + "Exiting..." + color.END) print("" + G + "[*] " + color.UNDERLINE + "\033[92m" + "GoodBye!" + color.END) time.sleep(0.2) sys.exit() elif main == "": print("" + R + "[!] " + color.UNDERLINE + "\033[91m" + "Please enter an option!" + color.END) else: print("" + R + "[!] " + color.UNDERLINE + "\033[91m" + "That is not an option!" + color.END) except KeyboardInterrupt: print "\n" tritymain()
def tritymain(): while True: try: main = raw_input(''+G+'' + color.BOLD + color.UNDERLINE + 'Tri>' + color.END) if main in swear: print(""+R+"[!] " + color.UNDERLINE + "\033[91m" + "Watch your language!" + color.END) elif main in spell: print(""+R+"[!] " + color.UNDERLINE + "\033[91m" + "Do you know how to spell?!" + color.END) elif main == "joke": joke() elif main == "info": info() elif main == "help": print ""+W+"+----------------------------+" print ""+C+"help "+W+"- displays this help message" print ""+C+"clear "+W+"- clears the screen" print ""+C+"exit "+W+"- exits tool" print ""+C+"tool "+W+"- displays info about the tool" print ""+C+"info "+W+"- displays computer and network info" print ""+C+"cd "+W+"- change working directories" print ""+C+"ls "+W+"- see files in working directory" print ""+W+"+----------------------------+" print ""+P+"speak "+W+"- text to speech" print ""+P+"ping "+W+"- ping a host" print ""+P+"banner "+W+"- print a new banner" print ""+P+"joke "+W+"- tell a joke" print ""+P+"quote "+W+"- print a quote" print ""+P+"contact "+W+"- contact me" print ""+W+"+----------------------------+" print ""+R+"website "+W+"- enter a website and get its ip" print ""+R+"clone"+W+" - clone a websites source " print ""+R+"whois"+W+" - whois a website" print ""+R+"web"+W+" - extract info from a website" print ""+R+"siteexists"+W+" - check if a site exists" print ""+R+"google"+W+" - find google results for a query" print ""+R+"clickjacking"+W+" - test websites for clickjacking vulnerability" print ""+W+"+----------------------------+" print ""+G+"ip "+W+"- geolocate an ip" print ""+W+"+----------------------------+" print ""+T+"email "+W+"- bomb an email address" print ""+T+"spoof email "+W+"- spoof an email address" print ""+T+"sms"+W+" - spam text messages " print ""+T+"crack"+W+" - bruteforce an email" print ""+T+"anonymous"+W+" - send an anonymous email" print ""+T+"facebook"+W+" - bruteforce a facebook account" print ""+T+"twitter"+W+" - check the details of a twitter account" print ""+W+"+----------------------------+" print color.CYAN + "craft"+W+" - generate useful scripts " print color.CYAN + "qr"+W+" - generate a qr code" print color.CYAN + "zip"+W+" - crack a password-protected zip file" print ""+W+"+----------------------------+" print color.BLUE + "encode base64"+W+" - text to base64" print color.BLUE + "decode base64"+W+" - base64 to text" print color.BLUE + "encode hex"+W+" - text to hex" print color.BLUE + "decode hex"+W+" - hex to text" print ""+W+"+----------------------------+" elif main == "sms": sms() elif main == "encode base64": encode() elif main == "decode base64": decode() elif main == "email": smtp() elif main == "quote": quote() elif main == "spoof email": os.system("python emaill.py") elif main == "zip": zipfile() elif main == "decode hex": decode1() elif main == "encode hex": encode1() elif main == "google": googleSearch() elif main == "web": web() elif main == "clickjacking": clickjacking() elif main == "siteexists": siteexists() elif main == "qr": gen_qrcode() elif main == "twitter": twitter() elif main == "crack": gmail() elif main == "anonymous": anon() elif main == "contact": print(''+T+'' + color.UNDERLINE + 'Facebook:'+W+'' + color.BOLD + ' https://www.facebook.com/Cyber.S3C.Professional' + color.END) print(''+T+'' + color.UNDERLINE + 'GitHub:'+W+'' + color.BOLD + ' https://CybernetiX-S3C.github.io/' + color.END) elif main == "ping": while True: hostname = raw_input(''+T+'' + color.UNDERLINE + 'Host>' + color.END) os.system("ping " + hostname) elif main == "craft": while True: table() elif main == "facebook": facebook() elif main == "whois": whoisweb() elif main == "admin": admin() elif main == "banner": os.system('clear') banner() banner1() elif main == "speak": while True: speak = raw_input(''+T+'' + color.UNDERLINE + 'What to say>' + color.END) os.system('espeak "' + speak + '"') elif main == "echo": while True: echo = raw_input(''+T+'' + color.UNDERLINE + 'What to echo>' + color.END) os.system('echo ' + echo) elif main == "clone": clone() elif main == "cd": try: path = raw_input(''+T+'' + color.UNDERLINE + 'Directory>' + color.END) os.chdir(path) except OSError: print (""+R+"[!] " + color.UNDERLINE + "\033[91m" + "That is not a directory!" + color.END) elif main == "ls": os.system('ls') elif main == "tool": print(color.UNDERLINE + ''+C+'Version: 4.2.1' + color.END) print(color.UNDERLINE + ''+C+'Time spent on it: 98 hours - 54 minutes' + color.END) print(color.UNDERLINE + ''+C+'John Modica @ CybernetiX S3C' + color.END) elif main == "website": while True: a = raw_input(''+T+'' + color.UNDERLINE + 'Website>' + color.END) try: print socket.gethostbyname(a) except socket.gaierror: print (""+R+"[!] " + color.UNDERLINE + "\033[91m" + "Apparently host is unknown! :/" + color.END) elif main == "ip": ip = raw_input(''+T+'' + color.UNDERLINE + 'IP>' + color.END) if ip is None or ip == "": sys.exit(""+R+"[!] " + color.UNDERLINE + "\033[91m" + "Please enter an IP!" + color.END) reversed_dns = socket.getfqdn(ip) geoip = urllib.urlopen('api.hackertarget.com/geoip/?q=' + ip).read().rstrip() print (""+G+"[*] " + color.UNDERLINE + "\033[91m" + "IP Info" + color.END) print geoip elif main == "clear": os.system('clear') elif main == "exit": print (""+G+"[*] " + color.UNDERLINE + "\033[91m" + "Exiting..." + color.END) print (""+G+"[*] " + color.UNDERLINE + "\033[92m" + "GoodBye!" + color.END) time.sleep(0.2) sys.exit() elif main == "": print (""+R+"[!] " + color.UNDERLINE + "\033[91m" + "Please enter an option!" + color.END) else: print (""+R+"[!] " + color.UNDERLINE + "\033[91m" + "That is not an option!" + color.END) except KeyboardInterrupt: print "\n" tritymain()
def tidosmain(): while True: try: main = raw_input(''+M+' ' + color.BOLD + 'TID :> ' + color.END) if main == "info": print ""+O+color.BOLD+" Collecting info about your network..." time.sleep(0.5) print ""+G+color.BOLD+" Info collected... Preparing results..."+color.END time.sleep(1) info() elif main == "geoip": time.sleep(0.5) print ""+P+color.BOLD+" Preparing scripts about the info you requested..."+color.END time.sleep(0.4) print ""+G+color.BOLD+" Launching module..."+color.END time.sleep(1) geoIP() elif main == "webex": print ""+P+color.BOLD+" Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" Launching module..."+color.END time.sleep(1) webex() elif main == "subdom": print ""+P+color.BOLD+" Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" Launching module..."+color.END time.sleep(1) subdom() elif main == "grabhead": print ""+P+color.BOLD+" Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" Launching module..."+color.END time.sleep(1) grabhead() elif main == "subnet": print ""+P+color.BOLD+" Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" Launching module..."+color.END time.sleep(1) subnet() elif main == "dnschk": print ""+P+color.BOLD+" Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" Launching module..."+color.END time.sleep(1) dnschk() elif main == "nmap": print ""+P+color.BOLD+" Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" Launching module..."+color.END time.sleep(1) nmap() elif main == "pglink": print ""+P+color.BOLD+" Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" Launching module..."+color.END time.sleep(1) links() elif main == "nping": print ""+P+color.BOLD+" Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" Launching module..."+color.END time.sleep(1) nping() elif main == "revip": print ""+P+color.BOLD+" Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" Launching module..."+color.END time.sleep(1) revip() elif main == "help": print ""+O+color.BOLD+" +================================================================+" print ""+C+color.BOLD+" ╦ ╦╔═╗╦ ╔═╗" print ""+C+color.BOLD+" ╠═╣║╣ ║ ╠═╝" print ""+C+color.BOLD+" ╩ ╩╚═╝╩═╝╩ " print ""+O+color.BOLD+" +================================================================+" time.sleep(0.2) print ""+C+color.BOLD+" [1] help "+GR+"- Displays this help message" time.sleep(0.05) print ""+P+color.BOLD+" [2] banner "+GR+"- Prints a new banner" time.sleep(0.05) print ""+G+color.BOLD+" [3] cls "+GR+"- Clears the screen" time.sleep(0.05) print ""+T+color.BOLD+" [4] info "+GR+"- Displays information about your Network" time.sleep(0.05) print ""+C+color.BOLD+" [5] piweb "+GR+"- Pings a website" time.sleep(0.205) print ""+R+color.BOLD+" [6] nping"+GR+" - Perform a nPing(NMap-Ping) on a Website" time.sleep(0.05) print ""+T+color.BOLD+" [7] webex"+GR+" - Check whether a website exists or not" time.sleep(0.05) print ""+M+color.BOLD+" [8] grabhead"+GR+" - Grabs the HTTP Headers of a Website" time.sleep(0.05) print ""+B+color.BOLD+" [9[ trace"+GR+" - Use MTR for Advanced TraceRoute of Web" time.sleep(0.05) print ""+T+color.BOLD+" [10] whois"+GR+" - Get WHOIS info of a website" time.sleep(0.05) print ""+P+color.BOLD+" [11] revip"+GR+" - Do a Reverse IP LookUP of a Website" time.sleep(0.05) print ""+M+color.BOLD+" [13] revdns"+GR+" - Does a Reverse DNS LookUP of Website" time.sleep(0.05) print ""+R+color.BOLD+" [12] geoip"+GR+" - Does a GeoIP Lookup of the website" time.sleep(0.05) print ""+C+color.BOLD+" [13] subdom"+GR+" - Launches the Sub-Domain scanner" time.sleep(0.05) print ""+G+color.BOLD+" [14] subnet"+GR+" - Does a SubNet Scan of a Website" time.sleep(0.05) print ""+P+color.BOLD+" [15] dnschk"+GR+" - Starts up a DNS LookUP of a Website" time.sleep(0.05) print ""+B+color.BOLD+" [16] gsearch"+GR+" - Search Google about a Website" time.sleep(0.05) print ""+C+color.BOLD+" [17] pglink"+GR+" - Dumps a list of the links with Website" time.sleep(0.05) print ""+G+color.BOLD+" [18] nmap"+GR+" - Shoots up NMap Port Scan on a Website" time.sleep(0.05) print ""+O+color.BOLD+" [19] fl00d"+GR+" - Flood a website at the UDP level dead" time.sleep(0.05) print ""+R+color.BOLD+" [20] exit"+GR+" - Quits this tool " time.sleep(0.05) print ""+M+color.BOLD+" [21] contact"+GR+" - Contact me for queries :)" time.sleep(0.05) print ""+O+color.BOLD+" +=================================================================+" elif main == "fl00d": print ""+P+color.BOLD+" Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" Launching module..."+color.END time.sleep(1) UDoS() elif main == "whois": print ""+P+color.BOLD+" Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" Launching module..."+color.END time.sleep(1) whoischeckup() elif main == "trace": print ""+P+color.BOLD+" Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" Launching module..."+color.END time.sleep(1) trcrt() elif main == "gsearch": print ""+P+color.BOLD+" Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" Launching module..."+color.END time.sleep(1) googleSearch() elif main == "revdns": print ""+P+color.BOLD+" Preparing scripts about the info you requested..."+color.END time.sleep(0.3) print ""+G+color.BOLD+" Launching module..."+color.END time.sleep(1) revdns() elif main == "contact": print(''+O+color.BOLD+' +=====================================================================+' + color.END) print(''+T+color.BOLD+' ╔═╗╔═╗╔╗╔╔╦╗╔═╗╔═╗╔╦╗ ╔╦╗╔═╗') time.sleep(0.1) print(''+T+color.BOLD+' ║ ║ ║║║║ ║ ╠═╣║ ║ ║║║║╣ ') time.sleep(0.1) print(''+T+color.BOLD+' ╚═╝╚═╝╝╚╝ ╩ ╩ ╩╚═╝ ╩ ╩ ╩╚═╝') time.sleep(0.1) print(''+O+color.BOLD+' +=====================================================================+' + color.END) print(''+T+color.BOLD+' Facebook :>'+GR+'' + color.BOLD + ' https://www.facebook.com/pinaxx.robinson' + color.END) time.sleep(0.3) print(''+T+color.BOLD+' Instagram :>'+GR+'' + color.BOLD + ' @tID - www.instagram.com/the_infected_drake'+color.END) time.sleep(0.3) print(''+T+color.BOLD+' Email me :>'+GR+'' + color.BOLD + ' [email protected]' + color.END) print(''+O+color.BOLD+' +=====================================================================+' + color.END) elif main == "piweb": piweb() elif main == "banner": print (""+C+color.BOLD+" ╔╗╔╔═╗╦ ╦ ╔╗ ╔═╗╔╗╔╔╗╔╔═╗╦═╗") time.sleep(0.1) print (""+C+color.BOLD+" ║║║║╣ ║║║ ╠╩╗╠═╣║║║║║║║╣ ╠╦╝") time.sleep(0.1) print (""+C+color.BOLD+" ╝╚╝╚═╝╚╩╝ ╚═╝╩ ╩╝╚╝╝╚╝╚═╝╩╚═") time.sleep(0.5) os.system('clear') banner() banner1() elif main == "cls": time.sleep(0.1) print (""+C+color.BOLD+" ╔═╗╦ ╔═╗╔═╗╦═╗ ╔═╗╔═╗╦═╗╔═╗╔═╗╔╗╔") time.sleep(0.1) print (""+C+color.BOLD+" ║ ║ ║╣ ╠═╣╠╦╝ ╚═╗║ ╠╦╝║╣ ║╣ ║║║") time.sleep(0.1) print (""+C+" ╚═╝╩═╝╚═╝╩ ╩╩╚═ ╚═╝╚═╝╩╚═╚═╝╚═╝╝╚╝") time.sleep(0.5) os.system('clear') elif main == "exit": print (''+O+' +==============================================================+' + color.END) print (""+C+color.BOLD+" ╔═╗ ╦ ╦╦╔╦╗") time.sleep(0.1) print (""+C+color.BOLD+" ║═╬╗║ ║║ ║") time.sleep(0.1) print (""+C+color.BOLD+" ╚═╝╚╚═╝╩ ╩" + color.END) time.sleep(0.1) print(''+O+color.BOLD+' +==============================================================+' + color.END) print (""+M+color.BOLD+" [*] \033[91m" + "Exiting..." + color.END) time.sleep(0.3) print (""+GR+color.BOLD+" [*] " + "Remember the Infected Drake" + color.END) time.sleep(0.3) print (""+O+color.BOLD+" [*] " + "GoodBye... ^_^" + color.END) time.sleep(0.3) print (''+O+color.BOLD+' +==============================================================+' + color.END) sys.exit() elif main == "": print (""+R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter an option properly..." + color.END) elif main == "1": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly...") elif main == "2": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly...") elif main == "3": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly...") elif main == "4": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly...") elif main == "5": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly...") elif main == "6": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly...") elif main == "7": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly...") elif main == "8": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly...") elif main == "9": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly") elif main == "10": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly") elif main == "11": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly") elif main == "12": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly") elif main == "13": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly") elif main == "14": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly") elif main == "15": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly") elif main == "16": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly") elif main == "17": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly") elif main == "18": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly") elif main == "19": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly") elif main == "20": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly") elif main == "21": print (R+" [!] " + color.UNDERLINE + "\033[91m" + "Enter the keyword properly") else: print (""+R+" [!] " + color.UNDERLINE + "\033[91m" + "That is not an option! Type 'help'" + color.END) except KeyboardInterrupt: print (""+R+" [!] " + color.UNDERLINE + "\033[91m" + " Use 'exit' to close the tool!" + color.END) tidosmain()
""" menu.py user menu interface Copyright (c) 2013-201x sb0x project See the file LICENSE """ from banner import * import sys import time import os banner() while True: try: options() print "-->Press Ctrl+C to Quit!" ask = int(raw_input(">")) if ask == 1: web_op() ask = int(raw_input("web>")) if ask == 1: web_wp() elif ask == 2: web_bf() elif ask == 3: web_af() else: print "You need to choice option..." elif ask == 2: dos_op()
def tritymain(): while True: try: main = raw_input(''+G+'' + color.BOLD + color.UNDERLINE + 'Tri>' + color.END) if main in swear: print(""+R+"[!] " + color.UNDERLINE + "\033[91m" + "Watch your language!" + color.END) elif main in spell: print(""+R+"[!] " + color.UNDERLINE + "\033[91m" + "Do you know how to spell?!" + color.END) elif main == "joke": joke() elif main == "info": info() elif main == "help": print ""+W+"+----------------------------+" print ""+C+"help "+W+"- displays this help message" print ""+C+"clear "+W+"- clears the screen" print ""+C+"exit "+W+"- exits tool" print ""+C+"tool "+W+"- displays info about the tool" print ""+C+"info "+W+"- displays computer and network info" print ""+C+"cd "+W+"- change working directories" print ""+W+"+----------------------------+" print ""+P+"speak "+W+"- text to speech" print ""+P+"ping "+W+"- ping a host" print ""+P+"banner "+W+"- print a new banner" print ""+P+"joke "+W+"- tell a joke" print ""+P+"quote "+W+"- print a quote" print ""+P+"contact "+W+"- contact me" print ""+W+"+----------------------------+" print ""+R+"website "+W+"- enter a website and get its ip" print ""+R+"clone"+W+" - clone a websites source " print ""+R+"whois"+W+" - whois a website" print ""+R+"web"+W+" - extract info from a website" print ""+R+"siteexists"+W+" - check if a site exists" print ""+R+"google"+W+" - find google results for a query" print ""+W+"+----------------------------+" print ""+G+"ip "+W+"- geolocate an ip" print ""+W+"+----------------------------+" print ""+O+"xss "+W+"- simple check for a xss vulnerability" print ""+O+"sql "+W+"- basic check for a sql vulnerability" print ""+O+"admin "+W+"- scan a website for its admin panel" print ""+W+"+----------------------------+" print ""+T+"email "+W+"- bomb an email address" print ""+T+"spoof email "+W+"- spoof an email address" print ""+T+"anonymous "+W+"- send an anonymous email" print ""+T+"sms"+W+" - spam text messages " print ""+T+"twitter"+W+" - check the details of a twitter account" print ""+W+"+----------------------------+" print color.CYAN + "craft"+W+" - generate useful scripts " print color.CYAN + "qr"+W+" - generate a qr code" print color.CYAN + "zip"+W+" - crack a password-protected zip file" print ""+W+"+----------------------------+" print color.BLUE + "encode base64"+W+" - text to base64" print color.BLUE + "decode base64"+W+" - base64 to text" print color.BLUE + "encode hex"+W+" - text to hex" print color.BLUE + "decode hex"+W+" - hex to text" print ""+W+"+----------------------------+" elif main == "sms": sms() elif main == "xss": xss() elif main == "sql": sql() elif main == "anonymous": anon() elif main == "encode base64": encode() elif main == "decode base64": decode() elif main == "email": smtp() elif main == "quote": quote() elif main == "spoof email": spoofemail() elif main == "zip": zipfile() elif main == "decode hex": decode1() elif main == "encode hex": encode1() elif main == "google": googleSearch() elif main == "web": web() elif main == "siteexists": siteexists() elif main == "qr": gen_qrcode() elif main == "twitter": twitter() elif main == "anonymous": anon() elif main == "contact": print(''+T+'' + color.UNDERLINE + 'Skype:'+W+'' + color.BOLD + ' [email protected]' + color.END) print(''+T+'' + color.UNDERLINE + 'Instagram:'+W+'' + color.BOLD + ' @_t0x1c - www.instagram.com/_t0x1c' + color.END) print(''+T+'' + color.UNDERLINE + 'Email me:'+W+'' + color.BOLD + ' [email protected]' + color.END) print(''+T+'' + color.UNDERLINE + 'XMPP:'+W+'' + color.BOLD + ' [email protected]' + color.END) print(''+T+'' + color.UNDERLINE + 'Twitter:'+W+'' + color.BOLD + ' @toxicnull' + color.END) elif main == "ping": while True: hostname = raw_input(''+T+'' + color.UNDERLINE + 'Host>' + color.END) os.system("ping " + hostname) elif main == "craft": while True: table() elif main == "whois": whoisweb() elif main == "admin": admin() elif main == "banner": os.system('clear') banner() banner1() elif main == "speak": while True: speak = raw_input(''+T+'' + color.UNDERLINE + 'What to say>' + color.END) os.system('espeak "' + speak + '"') elif main == "clone": clone() elif main == "cd": try: path = raw_input(''+T+'' + color.UNDERLINE + 'Directory>' + color.END) os.chdir(path) except OSError: print (""+R+"[!] " + color.UNDERLINE + "\033[91m" + "That is not a directory!" + color.END) elif main == "tool": print(color.UNDERLINE + ''+C+'Version: ' + (VersionNum) + color.END) print(color.UNDERLINE + ''+C+'34 options to choose from!' + color.END) print(color.UNDERLINE + ''+C+'Time spent on it: 76 hours - 14 minutes' + color.END) print(color.UNDERLINE + ''+C+'hackingurwifi is a hacker' + color.END) elif main == "website": while True: a = raw_input(''+T+'' + color.UNDERLINE + 'Website>' + color.END) try: print socket.gethostbyname(a) except socket.gaierror: print (""+R+"[!] " + color.UNDERLINE + "\033[91m" + "Apparently host is unknown! :/" + color.END) elif main == "ip": ip = raw_input(''+T+'' + color.UNDERLINE + 'IP>' + color.END) if ip is None or ip == "": sys.exit(""+R+"[!] " + color.UNDERLINE + "\033[91m" + "Please enter an IP!" + color.END) reversed_dns = socket.getfqdn(ip) geoip = urllib.urlopen('http://api.hackertarget.com/geoip/?q=' + ip).read().rstrip() print (""+G+"[*] " + color.UNDERLINE + "\033[91m" + "IP Info" + color.END) print geoip elif main == "clear": os.system('clear') elif main == "exit": print (""+G+"[*] " + color.UNDERLINE + "\033[91m" + "Exiting..." + color.END) print (""+G+"[*] " + color.UNDERLINE + "\033[92m" + "GoodBye!" + color.END) time.sleep(0.2) sys.exit() elif main == "": print (""+R+"[!] " + color.UNDERLINE + "\033[91m" + "Please enter an option!" + color.END) else: print (""+R+"[!] " + color.UNDERLINE + "\033[91m" + "That is not an option!" + color.END) except KeyboardInterrupt: print (""+R+"[!] " + color.UNDERLINE + "\033[91m" + "\nCtrl-C Pressed! Use 'exit' to close the tool!" + color.END) wyattmain()
def menuPrincipal(): banner() opciones = { 'Opciones': [ 'Introducir manalmente un numero y mensaje', 'Introducir un archivo "CSV"', 'Salir del programa' ], 'Index': [1, 2, 3] } print("°-=| Elije una opción |=-°") print("") print(tabulate(opciones, headers='keys', tablefmt='grid')) try: varDeOpcion = int(input("\n°-=| Digita una opción |=-°\n")) except NameError or ValueError: print("\n°-=| Digita una opción |=-°\n") try: if varDeOpcion == 1: print( "ESTA OPCIÓN ES EXCLUSIVA PARA ENVIAR UN MENSAJE A UN NUMERO ESPECIFICO" ) print( "DEBERÁS DIGITAR EL NUMERO CON SU CORRESPONDIENTE LADA DESPUES DE UN '_'\n" ) print("pulsa '00' para salir\n") try: numeroDeTel = int( input( "INTRODUCE EL NUMERO DE TELEFONO CAN LADA (01_numero)\n" )) if numeroDeTel == 00: system("cls") menuPrincipal() except ValueError: print("\n°-=| Esa no es un numero |=-°") print("°-=| En 3 segundos volveras |=-°\n") time.sleep(3) system("cls") menuPrincipal() mensajeAEnviar = str(input("INTRODUCE EL MENSAJE\n")) try: repeticiones = int( input("CUANTAS VECES QUIERES ENVIAR EL MENSJAE?\n")) except ValueError: print("\n°-=| Esa no es un numero |=-°") print("°-=| En 3 segundos volveras |=-°\n") time.sleep(3) system("cls") menuPrincipal() botManual(telefonoMAN=numeroDeTel, mensajeMAN=mensajeAEnviar, repeticionesMAN=repeticiones) else: if varDeOpcion == 2: print( "ESTA OPCIÓN ES EXCLUSIVA PARA ENVIAR UN MENSAJES USANDO UN ARCHIVO '.csv'" ) print( "EL ARCHIVO DEVERA ESTAR ESTRUCURADO DE ESTA FORMA EXACTAMENTE:\n" ) instrucciones = { 'celular': [ 'AQUÍ PONER EL NUMERO TELEFONICO CON LADA', '12_1111111111', '12_2222222222' ], 'Mensaje': [ 'AQUÍ PONER EL MENSAJE', 'AQUÍ PONER EL MENSAJE', 'AQUÍ PONER EL MENSAJE' ] } print(tabulate(instrucciones, headers='keys', tablefmt='grid')) print( "PUEDES ELEVORAR UN ARCHIVO CSV EN EXEL Y GUARDARLO CON ESA EXTENCIÓN" ) print( "\nEL NUMERO DE TELEFONO DEVE DE SER DE 10 DÍGITOS SIN CONTAR LA LADA Y EL '_'" ) rutaCSV = str( input("\n°-=| pega la ruta del archivo aqui |=-°\n")) try: numRep = int( input( "\n°-=| numero ve veces que se repetiran los mensajes |=-°\n" )) except ValueError: print("\n°-=| Esa no es un numero |=-°") print("°-=| En 3 segundos volveras |=-°\n") time.sleep(3) system("cls") menuPrincipal() botCSV(ruta=rutaCSV, repeticiones=numRep) else: if varDeOpcion == 3: print("\n°-=| SALIENDO... |=-°") time.sleep(3) system("cls") sys.exit() else: print("\n°-=| Esa opcion no es valida |=-°") print("°-=| En 3 segundos volveras |=-°\n") time.sleep(3) system("cls") menuPrincipal() except UnboundLocalError: print("\n°-=| Esa opcion no es valida |=-°") print("°-=| En 3 segundos volveras |=-°\n") time.sleep(3) system("cls") menuPrincipal()
print("the netmask/ipaddress seems not to be valid for an ip4v address",+new_ip) time.sleep(3) sys.exit() #print(new_ip) os.system("ifconfig eth0 +new_ip netmask 255.255.255.0 up") os.system("route add default gw +new_ip")#setting new default getway #os.system("""echo nameserver 1.1.1.1" > /etc/resolv.conf""")#setting Dns server 1.1.1.1 except: warnings.filterwarnings('ignore')#blocks ssl related warning print(FAIL+"the script could not change your ip address") time.sleep(3) sys.exit() #checking again the system ip new_ip_address = socket.gethostbyname(hostname) if (ip_address != new_ip_address): return banner() print(OKGREEN+"+--------------------------+") print(OKGREEN+'| new ip'+ new_ip_address '|') print(OKGREEN+"+--------------------------+") time.sleep(5) sys.exit() else: print(FAIL+"your ip has not changed"+new_ip_address, "please run the script again") time.sleep(3) sys.exit()