From 6e6a8279c90cdd0e1728835bba712dbeba015dbe Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 30 Jun 2015 17:41:18 +0200 Subject: Add a comment --- poc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poc.py b/poc.py index 1ddbefd..9d66e30 100644 --- a/poc.py +++ b/poc.py @@ -20,7 +20,7 @@ for root, dirnames, filenames in os.walk(sys.argv[1]): if os.stat(fname).st_size: matches = rules.match(os.path.join(root, filename), fast=True) if matches: - matches=matches.pop() + matches = matches.pop() # only one match, since we're scaning files print str(matches) + fname print '\n'.join(hex(m[0]) + ':' + m[1] + ': ' + m[2] for m in matches.strings) -- cgit v1.3