diff --git a/_gtfobins/php.md b/_gtfobins/php.md index 6dc7765..944ba2a 100644 --- a/_gtfobins/php.md +++ b/_gtfobins/php.md @@ -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 diff --git a/_gtfobins/ruby.md b/_gtfobins/ruby.md index 0935dc3..2f6aa89 100644 --- a/_gtfobins/ruby.md +++ b/_gtfobins/ruby.md @@ -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