mirror of
https://github.com/danielmiessler/SecLists.git
synced 2026-08-11 11:48:10 +00:00
more verbose logging
This commit is contained in:
@@ -26,10 +26,13 @@ for i in files:
|
|||||||
exit(2)
|
exit(2)
|
||||||
print("[+] %s passed new line check!"%(i))
|
print("[+] %s passed new line check!"%(i))
|
||||||
|
|
||||||
|
counter=1
|
||||||
|
|
||||||
for line in contents.split('\n'):
|
for line in contents.split('\n'):
|
||||||
if len(line)==0:
|
if len(line)==0:
|
||||||
print("[!] %s has an empty entry!"%(i))
|
print("[!] %s has an empty entry at line %i!"%(i,counter))
|
||||||
exit(2)
|
exit(2)
|
||||||
|
counter+=1
|
||||||
print("[+] %s passed empty line check!"%(i))
|
print("[+] %s passed empty line check!"%(i))
|
||||||
|
|
||||||
print("[+] All files passed checks")
|
print("[+] All files passed checks")
|
||||||
|
|||||||
Reference in New Issue
Block a user