Skip to content

Instantly share code, notes, and snippets.

@powerexploit
Last active September 14, 2019 13:17
Show Gist options
  • Save powerexploit/c6ef926cd943383a5ada4a0a8e47fd8c to your computer and use it in GitHub Desktop.
Save powerexploit/c6ef926cd943383a5ada4a0a8e47fd8c to your computer and use it in GitHub Desktop.
Hackthebox invite code using python
#!/usr/bin/python3
#its hackthebox invite code script
# parse your encrypted code after with help of curl
# example : python hackthebox.py 'encrypted_code'
import base64
import sys
s = sys.argv[1]
base = base64.b64decode(s + '=' * (-len(s)%4))
print('This is your hackthebox invite code : ',base)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment