Advertisement
egfw

egfw ip lookup

Jan 25th, 2024
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.67 KB | None | 0 0
  1. import requests
  2. import json
  3. import colorama
  4. from colorama import Fore,Style
  5. import time
  6. import os
  7. colorama.init()
  8. def main():
  9.  
  10.  
  11.  banner = f"""
  12.  
  13. ███████╗░██████╗░███████╗░██╗░░░░░░░██╗  ██╗██████╗░  ██╗░░░░░░█████╗░░█████╗░██╗░░██╗██╗░░░██╗██████╗░
  14. ██╔════╝██╔════╝░██╔════╝░██║░░██╗░░██║  ██║██╔══██╗  ██║░░░░░██╔══██╗██╔══██╗██║░██╔╝██║░░░██║██╔══██╗
  15. █████╗░░██║░░██╗░█████╗░░░╚██╗████╗██╔╝  ██║██████╔╝  ██║░░░░░██║░░██║██║░░██║█████═╝░██║░░░██║██████╔╝
  16. ██╔══╝░░██║░░╚██╗██╔══╝░░░░████╔═████║░  ██║██╔═══╝░  ██║░░░░░██║░░██║██║░░██║██╔═██╗░██║░░░██║██╔═══╝░
  17. ███████╗╚██████╔╝██║░░░░░░░╚██╔╝░╚██╔╝░  ██║██║░░░░░  ███████╗╚█████╔╝╚█████╔╝██║░╚██╗╚██████╔╝██║░░░░░
  18. ╚══════╝░╚═════╝░╚═╝░░░░░░░░╚═╝░░░╚═╝░░  ╚═╝╚═╝░░░░░  ╚══════╝░╚════╝░░╚════╝░╚═╝░░╚═╝░╚═════╝░╚═╝░░░░░
  19. """
  20.  for char in banner: egfwww
  21.  
  22.     print(Fore.RED + Style.BRIGHT + char,end='',flush=True)
  23. print(" egfwwww")
  24. print ("egfwwww")
  25. print("*************************")
  26. print("*************************")
  27. ipinput = input("enter ip :  " )
  28. jsonA = requests.get(f"http://ip-api.com/json/{ipinput}").json()
  29. print(f'Country : {jsonA["country"]}')
  30. print(f'Region Name : {jsonA["regionName"]}')
  31. print(f'City : {jsonA["city"]}')
  32. print(f'Zip : {jsonA["zip"]}')
  33. print(f'Latitude : {jsonA["lat"]}')
  34. print(f'Timezone : {jsonA["timezone"]}')
  35. print(f'Isp : {jsonA["isp"]}')
  36. print(f'ORG : {jsonA["org"]}')
  37. print(f'as : {jsonA["as"]}')
  38. print('back in 10 sec main ')
  39. time.sleep(10)
  40. os.system("cls")
  41. main()
  42.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement