Skip to content

Instantly share code, notes, and snippets.

@D-Virus
Created November 16, 2015 15:34
Show Gist options
  • Save D-Virus/22b298ba0110141b7394 to your computer and use it in GitHub Desktop.
Save D-Virus/22b298ba0110141b7394 to your computer and use it in GitHub Desktop.
Base 64 Decoder
from base64 import b64decode
target = open('base','r').readline()
decoded = True
while decoded:
try:
print target
target = b64decode(target)
except:
decoded = False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment