Skip to content

Instantly share code, notes, and snippets.

@samduy
Created December 31, 2017 12:16
Show Gist options
  • Save samduy/9e200cf7c684a44c3f3cb4852be25ec6 to your computer and use it in GitHub Desktop.
Save samduy/9e200cf7c684a44c3f3cb4852be25ec6 to your computer and use it in GitHub Desktop.
Python base64 wordlist
#!/usr/bin/python
import base64
file1=open("pwd.lst","r")
file2=open("b64pwds.lst,"w")
for line in file1:
clear = "administrator:" + str.strip(line)
new = base64.encodestring(clear)
file2.write(new)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment