hackedprofile

ServerConfig

Nov 12th, 2021 (edited)
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.55 KB | None | 0 0
  1.         print('\n-- Server Configuration --\n\n')
  2.         print("\033[32mPrivate IP:\033[0m\n")
  3.         print('\033[4m' + socket.gethostbyname(socket.gethostname()) + '\033[0m')
  4.         print('\n\033[32mPublic IP:\033[0m\n')
  5.         ipadd = get('https://api.ipify.org').text
  6.         print('\033[4m' + format(ipadd) + '\033[0m\n')
  7.         print('\n\033[32mServer:\033[0m\n')
  8.         print('\033[4mhttps://enhxum5vgqymwsa.m.pipedream.net\033[0m\n')
  9.         print('\n\033[32mServer Status:\033[0m\n')
  10.         print('\033[4m' + str(connected) + '\033[0m\n')
Add Comment
Please, Sign In to add comment