Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users/Password List ? #7

Open
0xGreen opened this issue Feb 29, 2024 · 1 comment
Open

Users/Password List ? #7

0xGreen opened this issue Feb 29, 2024 · 1 comment
Assignees

Comments

@0xGreen
Copy link

0xGreen commented Feb 29, 2024

Great Tool!

Is there any way to provide a list of users and passwords? like what is available for Targets -Target "C:\Targets.txt"

PsMapExec -Targets all -Username c:\users.txt -Password c:\passwords.txt -Method wmi -Command "hostname"

Scenario: If i have 3 valid username/passwords. with -username and -password i have to run the above command 9 times. If the script accept user/pass list then single command will check wmi access for all credentials sets.

Thanks!

@0xGreen 0xGreen changed the title Spcify Users and Password List ? Users/Password List ? Feb 29, 2024
@The-Viper-One
Copy link
Owner

Thanks for the feedback.

This is something I would like to add and should be quite reasonable to implement. However, there is an underlying issue where if you run PsMapExec as one user then immediately run it again using the same protocol as a different user it sometimes pollutes the permissions on the second run with the account used in the first run. I think the issue is a limitation in Windows rather than the tool (I might be wrong) so its been quite difficult to pinpoint a solution.

I will keep this issue open for the time being, hopefully if the polluting issue can be resolved I can then add this recommendation.

@The-Viper-One The-Viper-One self-assigned this Mar 2, 2024
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

No branches or pull requests

2 participants