Feature request: run against specific host
I would love the option to run it against a specific host by (e.g point it to a DC to scan), I don’t want to run powershell via the C2, I would like to use it via SOCSK.
Thanks for the feedback and idea. I think this may go hand in hand with https://github.com/techspence/ScriptSentry/issues/20
Hey @N7WEra do you want to try the latest version I pushed to dev? Trying to get ScriptSentry to work from a non-domain joined computer. Let me know if you run it and if you run into any issues. And if you do try it, I appreciate it!!
The update I pushed to dev doesn't work. I believe there are protections in place that prevent non-domain joined hosts from accessing SYSVOL. I haven't found a solution yet for enumeration SYSVOL remotely even with credentials.
I wonder if you could do it with:
TrustedHost Remote PSSession on desired target with credentials. Invoke ScriptSentry
I don't know how I missed this comment. Interesting idea, I will have to try it sometime. Thanks Sam! 👍