Files
python-rshell/README.md
2019-10-11 14:11:30 +02:00

34 lines
652 B
Markdown

# rshell
Nothing to worry about.
## rhsell.py
To run the example execute the rshell skript.
```bash
$ python rshell.py
```
It will open a reverse shell on port 31337 on the local system. You can connect
to it using
```bash
$ nc 0.0.0.0 31337
```
## self_copy_test.py
Code snippet that searches files based on a search string and copies its
content into all matched files. There is a local `victims` folder for testing
purposes.
## Putting things together
```bash
$ python self_copy_rshell.py
```
Runs code that seraches for victim files and deploys a appends the reverse
shell snippet. The example only searches the local `victims` folder.