NetExec icon indicating copy to clipboard operation
NetExec copied to clipboard

Filter output for "pw3nd" when spray across big scopes

Open evildrummer opened this issue 2 years ago • 3 comments

Hey,

it would be cool to get a filter like "--only-admin" when spaying vaild credentials over many hosts. In my PenTests i spray newly gathered creds a gsinst all clients to check for admin access.

Yes I could grep for it but with the filter the colors would stay and it's much nicer for Screenshots :)

evildrummer avatar Oct 21 '23 13:10 evildrummer

This was brought up before doing something like --only-success but several people didn't like it. I however, do like it and think we should bring it back. @NeffIsBack can you scrounge up the code you wrote for it?

Marshall-Hallenbeck avatar Oct 21 '23 22:10 Marshall-Hallenbeck

Yes that would be possible. What came to my mind was that we just could add a check for the specific log message instead of the previous system where we disabled all info/error messages. Thoughts?

NeffIsBack avatar Oct 22 '23 09:10 NeffIsBack

I think allowing explicitly disabling the login failures is preferrable, at least in the use cases I would want to.

Marshall-Hallenbeck avatar Oct 27 '23 00:10 Marshall-Hallenbeck