Skip to content

Instantly share code, notes, and snippets.

View win3zz's full-sized avatar
♾️
{"amount":1,"amount":-1}

Bipin Jitiya win3zz

♾️
{"amount":1,"amount":-1}
View GitHub Profile
@win3zz
win3zz / container_recon.sh
Created October 12, 2025 06:08
Container Recon
#!/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
@win3zz
win3zz / cos_audit.sh
Created October 16, 2025 19:32
Container-Optimized OS (COS) guest audit script
#!/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