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'
|
||||
|
||||
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'
|
||||
end
|
||||
|
||||
cookbook_file '/opt/sinatra/.server' do
|
||||
source 'sinatra/server'
|
||||
mode '0777'
|
||||
end
|
||||
|
||||
cookbook_file '/etc/init/sinatra.conf' do
|
||||
source 'sinatra/sinatra.conf'
|
||||
mode '0777'
|
||||
|
|
Loading…
Reference in New Issue