mirror of
https://github.com/danielmiessler/SecLists
synced 2026-01-05 07:36:26 +01:00
more verbose logging
This commit is contained in:
parent
3da34d777e
commit
5cdf3deb4c
1 changed files with 4 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue