From 401c469b26b5e8e04fbff58c183b200daf58e375 Mon Sep 17 00:00:00 2001 From: Emilio Pinna Date: Sun, 17 Jun 2018 20:08:02 +0100 Subject: [PATCH] Add versions requirements on PHP and ruby --- _gtfobins/php.md | 2 +- _gtfobins/ruby.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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