This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
"""Simple HTTP Server With Upload. | |
This module builds on BaseHTTPServer by implementing the standard GET | |
and HEAD requests in a fairly straightforward manner. | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys, base64, hexdump, textwrap | |
from itertools import permutations | |
# pip3 install textwrap hexdump | |
# Create file full of base64 fragments, each one on a new line | |
# Usage: | |
# python3 debaser.py <file> | |
def getLines(): | |
with open(sys.argv[1],"r") as f: |