summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblotus2015-09-08 17:22:26 +0200
committerblotus2015-09-08 17:22:26 +0200
commitb7df1dfdc1ba9817ce4a4915263ca7fd2da18d8b (patch)
tree23c1355cae0772e06cb121df129d3b79f1f5bd94
parent7070de185d4fc85238d49a43c7153e34ae2533f7 (diff)
parent9c9daa6e9ad114f4e743e3ec0cea5d4d6f851ea7 (diff)
Merge pull request #8 from gdelpierre/master
Add shebang
-rw-r--r--generate_whitelist.py2
-rw-r--r--poc.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/generate_whitelist.py b/generate_whitelist.py
index 2671fc7..791bab9 100644
--- a/generate_whitelist.py
+++ b/generate_whitelist.py
@@ -1,3 +1,5 @@
1#!/usr/bin/env python
2
1import fnmatch 3import fnmatch
2import hashlib 4import hashlib
3import os 5import os
diff --git a/poc.py b/poc.py
index 8fddc5a..f1d5399 100644
--- a/poc.py
+++ b/poc.py
@@ -1,5 +1,6 @@
1#1/usr/bin/env python
2
1import fnmatch 3import fnmatch
2import glob
3import os 4import os
4import sys 5import sys
5import time 6import time
@@ -27,4 +28,3 @@ for cpt, (root, dirnames, filenames) in enumerate(os.walk(sys.argv[1])):
27 print str(matches) + fname 28 print str(matches) + fname
28 print '\n'.join(hex(m[0]) + ':' + m[1] + ': ' + m[2] for m in matches.strings) 29 print '\n'.join(hex(m[0]) + ':' + m[1] + ': ' + m[2] for m in matches.strings)
29 30
30