mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-07-01 01:06:05 +02:00
Lower wampapache priv to LOCAL SERVICE
This commit is contained in:
parent
7bb9e85ab4
commit
3b330046c0
|
@ -3,4 +3,6 @@ C:\Windows\Temp\wampserver2.2.d-x64.exe /verysilent
|
|||
copy /Y "C:\vagrant\resources\wamp\httpd.conf" "C:\wamp\bin\apache\Apache2.2.21\conf\httpd.conf"
|
||||
copy /Y "C:\vagrant\resources\wamp\phpmyadmin.conf" "C:\wamp\alias\phpmyadmin.conf"
|
||||
sc config wampapache start= auto
|
||||
sc config wampmysqld start= auto
|
||||
sc config wampmysqld start= auto
|
||||
icacls "C:\wamp" /grant "NT Authority\LOCAL SERVICE:(OI)(CI)F" /T
|
||||
sc config wampapache obj= "NT Authority\LOCAL SERVICE"
|
||||
|
|
Loading…
Reference in New Issue
Block a user