Warning
These scripts are highly subjective and may not apply to your work, read the source code and proceed with great care.
OpSec Scripts Package - a compilation of scripts I use in my work from time to time.
These scripts will be separated per theme - administration, security, log analysis and etc.
| Filename | Theme | Description |
|---|---|---|
find_active_users.ps1 |
WinAD | Well, gives you a CSV file of enabled users (no service accounts \ contacts) and some info about them |
group_management.ps1 |
WinAD | Adding user to the group X by SAM, searching for user by NAME in groups |
| Filename | Theme | Description |
|---|---|---|
check_live.sh |
Networking | Ping + traceroute to target |
switch_proxy.sh |
Networking | Switching proxy connection on\off (tunnel via SSH -D, port 1080) |
clear_ntds.sh |
Security | Clearing NetExec-produced *.ntds files, resulting in username:hash pairs ready for Hashcat |
build-container.sh |
Docker | Well, building a docker container |
forgettobeam.sh |
Git | Erases your commit history, pushes current local repo as a single commit |
custom_aliases.sh |
Misc | Aliases I use in my daily work (Yes, I call nvim via zx) |
Wanna make this repo an "Awesome OpSec scripts"? Be my guest - fork, add and make PR.
Cheers.