This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # container_recon.sh | |
| # A safe, non-destructive container reconnaissance script for advanced users. | |
| # Purpose: gather capability, namespace, cgroup, mount, device, network and quick secrets hints. | |
| # Usage: ./container_recon.sh [-o /path/to/output] [-d] [-v] | |
| # -o OUTPUT : write report to OUTPUT (default: /tmp/container_recon_<ts>.txt) | |
| # -d : deep scan mode (may take longer and search deeper for writable dirs and secrets) | |
| # -v : verbose (prints progress markers to stderr) | |
| # -h : help |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # cos_audit.sh | |
| # Container-Optimized OS (COS) guest audit script (read-only) | |
| # Produces a PASS / FAIL / INFO style report for many guest-side hardening checks. | |
| # | |
| # Usage: | |
| # sudo ./cos_audit.sh | tee cos_audit_$(date +%F_%T).log | |
| # | |
| # Author: Generated by ChatGPT for Bipin Jitiya (auditor) | |
| set -u |
OlderNewer