diff --git a/binbase_find.py b/binbase_find.py index e157e71..69a3b0e 100644 --- a/binbase_find.py +++ b/binbase_find.py @@ -2,7 +2,6 @@ # https://github.com/mncoppola/ws30/blob/master/basefind.py -import gc import os import re import signal @@ -20,26 +19,6 @@ pattern = re.compile(regexp) regexpc = bytes("[{}]{{1,}}".format(chars), "us-ascii") patternc = re.compile(regexpc) -def high_scores(signal, frame): - print("\nTop 20 base address candidates:") - for score in sorted(scores, key=itemgetter(1), reverse=True)[:20]: - print("0x{:x}\t{:d}".format(*score)) - sys.exit(0) - -def get_pointers(filename): - table = {} - with open(filename, "rb") as f: - while True: - try: - value = struct.unpack("