ScriptSentry
ScriptSentry copied to clipboard
ScriptSentry finds misconfigured and dangerous logon scripts.
When running the tool on a domain without Mapped Drives nor GPO Logon Scripts, PowerShell hangs and then throws the exception `ParameterArgumentValidationErrorNullNotAllowed`. I wrapped the function calls that use `$GPOLogonScripts`...
When using `net use` the following are all valid: ``` - /user: - /us: - /u: ``` However, only the first `/user:` is being detected currently. Via quick testing it...
In the source code it does seem to support domain authentication but I do not get how to make ti work. What I tried: `$creds = Get-Credential Invoke-ScriptSentry -Credential $creds...
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,...
Hi @techspence, First off, great script! I came across it after reading your blog post, and I’m really impressed. I have one suggestion to make it more versatile across Active...
```powershell # Import necessary modules for GUI and Active Directory Add-Type -AssemblyName System.Windows.Forms Add-Type -AssemblyName System.Drawing # Check and import required modules with error handling try { Import-Module ActiveDirectory -ErrorAction...