Skip to content

Update filler.py#1

Open
se0hax wants to merge 2 commits intotimothyericsson:mainfrom
se0hax:patch-1
Open

Update filler.py#1
se0hax wants to merge 2 commits intotimothyericsson:mainfrom
se0hax:patch-1

Conversation

@se0hax
Copy link

@se0hax se0hax commented May 16, 2025

Resolved a typo in the initial script (line 120 changed users.txt to passwords.txt) and added password policy enumeration (lines 106-114).

Resolved a typo in the initial script (line 120 users.txt to passwords.txt) and added password policy enumeration.
f.write(f"netexec smb {target_ip} -u users.txt -p '{password}' --continue-on-success\n")
else:
f.write(f"netexec smb {target_ip} -u users.txt -p users.txt --continue-on-success\n")
f.write(f"netexec smb {target_ip} -u users.txt -p passwords.txt --continue-on-success\n")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean... you're supposed to spray the users list as the password also.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i changed it so there is output for both in order people to not forget to try users.txt for sprays

f.write(f"netexec smb {target_ip} -u '{user}' -p '{password}' --pass-pol\n")
f.write(f"crackmapexec smb {target_ip} -u '{user}' -p '{password}' --pass-pol\n")
else:
f.write(f"# Requires credentials for password policy enumeration\n")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, this could be useful, I think it's useful to put in this check.

Updated password sprays to include both spraying users.txt and passwords.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants