Skip to content

Instantly share code, notes, and snippets.

View ukihot's full-sized avatar
💭
🦀

Yu Tokunaga ukihot

💭
🦀
  • TSUCHIYOSHI INDUSTRY Co., Ltd.
  • Japan
View GitHub Profile
@ukihot
ukihot / sec-audit.sh
Last active December 24, 2025 00:49
Configuration-drift detection audit for Rocky Linux. A forensics-safe, read-only script to verify OS hardening state and detect silent config tampering.
#!/usr/bin/env bash
set -u
IFS=$'\n\t'
PATH=/usr/sbin:/usr/bin:/sbin:/bin
###############################################################################
# color palette
###############################################################################
CLR_RST="\033[0m"