INNER CODE UNIT · Python
fun
BullsEye0/ghost_eye · ghost_eye.py:108
def fun():
choice = ("1")
banner()
while choice != ("15"):
menu()
choice = input("\033[1;34m[+]\033[1;m \033[1;91mEnter your choice:\033[1;m ")
if choice == ("3"):
try:
target = input("\033[1;91m[+] Enter Domain or IP Address: \033[1;m").lower()
os.system("reset -Q")
print("\033[34m[~] Searching for Whois Lookup: \033[0m".format(target) + target)
time.sleep(1.5)
command = ("whois " + target)
proces = os.popen(command)
results = str(proces.read())
print(results + command)