Skip to content

Instantly share code, notes, and snippets.

@th3happybit
Created March 3, 2020 10:14
Show Gist options
  • Save th3happybit/501c27a35cf1281485e569d0001f7a09 to your computer and use it in GitHub Desktop.
Save th3happybit/501c27a35cf1281485e569d0001f7a09 to your computer and use it in GitHub Desktop.
Random-string-in-file
python3 -c "import os,binascii; f=open('random-string-file.txt', 'a+'); f.write(binascii.hexlify(os.urandom(32)).decode()); f.close()"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment