Set workign directory

This commit is contained in:
Wei Chen 2017-11-03 11:57:41 -05:00
parent cdfa9eef87
commit 0c181b6474
1 changed files with 5 additions and 1 deletions

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