Initial commit

This commit is contained in:
2026-04-24 17:41:53 +08:00
commit 7105e8b165
94 changed files with 8141 additions and 0 deletions

18
winrm_run.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
# Quick WinRM script launcher
# Usage: ./winrm_run.sh script_name [args...]
if [ $# -eq 0 ]; then
echo "Available WinRM scripts:"
ls -1 scripts/winrm/*.py | sed 's/scripts\/winrm\///g' | sed 's/\.py//g'
echo ""
echo "Usage: $0 script_name [args...]"
echo "Example: $0 test_simple_winrm"
echo "Example: HOST=pc-74269 $0 smart_executor ../powershell/recon.ps1"
exit 1
fi
SCRIPT_NAME="$1"
shift
cd scripts/winrm && python3 $SCRIPT_NAME.py "$@"