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" CMD="/bin/sh"
./php -r "system('$CMD');" ./php -r "system('$CMD');"
upload: 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: | code: |
LHOST=0.0.0.0 LHOST=0.0.0.0
LPORT=8888 LPORT=8888

View File

@ -5,7 +5,7 @@ functions:
sudo-enabled: sudo-enabled:
- code: sudo ruby -e 'exec "/bin/sh"' - code: sudo ruby -e 'exec "/bin/sh"'
upload: 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: | code: |
export LPORT=8888 export LPORT=8888
ruby -run -e httpd . -p $LPORT ruby -run -e httpd . -p $LPORT