mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +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"
|
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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user