mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-07-05 03:05:51 +02:00
9 lines
644 B
Batchfile
9 lines
644 B
Batchfile
powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://sourceforge.mirrorservice.org/w/wa/wampserver/WampServer 2/WampServer 2.2/wampserver2.2d-x64.exe', 'C:\Windows\Temp\wampserver2.2.d-x64.exe')" <NUL
|
|
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
|
|
icacls "C:\wamp" /grant "NT Authority\LOCAL SERVICE:(OI)(CI)F" /T
|
|
sc config wampapache obj= "NT Authority\LOCAL SERVICE"
|