ScriptSentry icon indicating copy to clipboard operation
ScriptSentry copied to clipboard

ScriptSentry finds misconfigured and dangerous logon scripts.

Results 6 ScriptSentry issues
Sort by recently updated
recently updated
newest added

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`...

bug

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...

enhancement

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...

enhancement

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,...

enhancement

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...

enhancement

```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...