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