We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6cd5f8c + cc6761d commit c66c1f9Copy full SHA for c66c1f9
1 file changed
check_for_sqlite_files.py
@@ -8,6 +8,7 @@
8
9
# Description : Scans directories to check if there are any sqlite files in there
10
11
+from __future__ import print_function
12
import os
13
14
def isSQLite3(filename):
@@ -31,9 +32,10 @@ def isSQLite3(filename):
31
32
for r,d,f in os.walk(r'.'):
33
for files in f:
34
if isSQLite3(files):
- print files
35
- print "[+] '%s' **** is a SQLITE database file **** " % os.path.join(r,files)
+ print(files)
36
+ print("[+] '%s' **** is a SQLITE database file **** " % os.path.join(r,files))
37
log.write("[+] '%s' **** is a SQLITE database file **** " % files+'\n')
38
else:
39
log.write("[-] '%s' is NOT a sqlite database file" % os.path.join(r,files)+'\n')
40
log.write("[-] '%s' is NOT a sqlite database file" % files+'\n')
41
+
0 commit comments