Adxcsouf 2 John
Adxcsouf 2 John
Adxcsouf 2 John
/usr/bin/env python3
import re
import os
import sys
import math
import binascii
PY3 = sys.version_info[0] == 3
return entropy
def process_other_file(filename):
"""
Parser for ADXEPW0F.DATA files. Based on some heavy guessing.
I am assuming that username appears on a line whose position is aligned to
16 bytes. I am probably biased by looking at ADXEPW0F.DATA using xxd.
"""
def process_file(filename):
"""
Parser for ADXCSOUF.DAT files. Based on some trial-and-error.
"""
data = open(filename, "rb").read()
if PY3:
username = username.decode("ascii")
h = h.decode("ascii")
if __name__ == "__main__":
if len(sys.argv) < 2:
sys.stderr.write("Usage: %s <ADXCSOUF.DAT / ADXEPW0F.DAT file(s)>\n" %
sys.argv[0])
sys.exit(1)
# print a pro-tip
sys.stderr.write("Tip: Maxmium password length is 8 on IBM/Toshiba 4690
systems\n\n")