mirror of
https://github.com/Pennyw0rth/NetExec
synced 2026-06-06 16:34:30 +00:00
Update eventlog_creds.py
fix for lint Signed-off-by: Hakan Yavuz <lodos05@gmail.com>
This commit is contained in:
@@ -66,10 +66,9 @@ class NXCModule:
|
||||
# if username is found but password is not found. we need? ignore it
|
||||
continue
|
||||
# C:\Windows\system32\RunDll32.exe C:\Windows\system32\migration\WininetPlugin.dll,MigrateCacheForUser /m /0
|
||||
if m.groupdict().get("username") and m.groupdict().get("password"):
|
||||
if m.groupdict().get("username") and m.groupdict().get("password") and len(m.group("password")) < 6 and len(m.group("username")) < 6:
|
||||
# if username and password is shorter than 6 characters, ignore it
|
||||
if len(m.group("password")) < 6 and len(m.group("username")) < 6:
|
||||
continue
|
||||
continue
|
||||
|
||||
context.log.highlight("Credentials found! " + line.strip())
|
||||
if m.groupdict().get("username"):
|
||||
|
||||
Reference in New Issue
Block a user