mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-07-02 17:55:46 +02:00
Merge pull request #11 from rapid7/new_sinatra_loader_2
New sinatra loader 2
This commit is contained in:
commit
86c5d2d71d
Binary file not shown.
File diff suppressed because one or more lines are too long
|
@ -2,4 +2,8 @@ description 'Run vulnerable Sinatra'
|
||||||
author 'metasploitable3'
|
author 'metasploitable3'
|
||||||
|
|
||||||
start on runlevel [2345]
|
start on runlevel [2345]
|
||||||
exec "/opt/sinatra/server"
|
chdir /opt/sinatra/
|
||||||
|
script
|
||||||
|
echo "Starting sinatra"
|
||||||
|
/opt/sinatra/server
|
||||||
|
end script
|
Binary file not shown.
|
@ -29,11 +29,6 @@ cookbook_file '/opt/sinatra/server' do
|
||||||
mode '0777'
|
mode '0777'
|
||||||
end
|
end
|
||||||
|
|
||||||
cookbook_file '/opt/sinatra/.server' do
|
|
||||||
source 'sinatra/server'
|
|
||||||
mode '0777'
|
|
||||||
end
|
|
||||||
|
|
||||||
cookbook_file '/etc/init/sinatra.conf' do
|
cookbook_file '/etc/init/sinatra.conf' do
|
||||||
source 'sinatra/sinatra.conf'
|
source 'sinatra/sinatra.conf'
|
||||||
mode '0777'
|
mode '0777'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user