Merge pull request #11 from rapid7/new_sinatra_loader_2

New sinatra loader 2
This commit is contained in:
jbarnett-r7 2017-11-06 11:36:56 -06:00 committed by GitHub
commit 86c5d2d71d
5 changed files with 5 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -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

View File

@ -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'