Skip to content

Instantly share code, notes, and snippets.

@DominicImhof
Last active May 19, 2016 09:00
Show Gist options
  • Save DominicImhof/b64a9c5778b1e096c43d to your computer and use it in GitHub Desktop.
Save DominicImhof/b64a9c5778b1e096c43d to your computer and use it in GitHub Desktop.
Python script to generate .de authcode
#!/usr/bin/python
import random
chars=list('ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnpqrstuvwxyz23456789')
code=''
for i in range(8):
code+=random.choice(chars)
print code

install this script

  • sudo wget -O /usr/local/bin/deauth https://gist.githubusercontent.com/dimhof/b64a9c5778b1e096c43d/raw/a7ee6eef29440490aa207ae0081b89fe69a7d0bb/generate-de-authcode.py
  • chmod +x /usr/local/bin/deauth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment