Add versions requirements on PHP and ruby

This commit is contained in:
Emilio Pinna 2018-06-17 20:08:02 +01:00
parent 50ffed4210
commit 401c469b26
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ functions:
CMD="/bin/sh"
./php -r "system('$CMD');"
upload:
- description: Serve files in the local folder running an HTTP server.
- description: Serve files in the local folder running an HTTP server. This requires PHP version 5.4 or later.
code: |
LHOST=0.0.0.0
LPORT=8888

View File

@ -5,7 +5,7 @@ functions:
sudo-enabled:
- code: sudo ruby -e 'exec "/bin/sh"'
upload:
- description: Serve files in the local folder running an HTTP server.
- description: Serve files in the local folder running an HTTP server. This requires version 1.9.2 or later.
code: |
export LPORT=8888
ruby -run -e httpd . -p $LPORT