Skip to content

Instantly share code, notes, and snippets.

@ucalyptus2
Created March 10, 2023 08:10
Show Gist options
  • Save ucalyptus2/7d88d4568ee96a1170629e6a1b5c61b7 to your computer and use it in GitHub Desktop.
Save ucalyptus2/7d88d4568ee96a1170629e6a1b5c61b7 to your computer and use it in GitHub Desktop.
comes after hukum.sh
get_ipython().system_raw('/usr/sbin/sshd -D &')
print("Copy authtoken from https://dashboard.ngrok.com/auth")
import getpass
authtoken = getpass.getpass()
get_ipython().system_raw('./ngrok authtoken $authtoken && ./ngrok tcp 22 &')
print("Root password: {}".format(password))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment