mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-09-21 00:01:14 +02:00
Some touch ups to the WAMP install.
This commit is contained in:
parent
6b6c14d90a
commit
502a642d32
5
Vagrantfile
vendored
5
Vagrantfile
vendored
|
@ -59,7 +59,10 @@ Vagrant.configure("2") do |config|
|
|||
config.vm.provision :shell, inline: "rm C:\\tmp\\vagrant-shell.bat" # Hack for this bug: https://github.com/mitchellh/vagrant/issues/7614
|
||||
config.vm.provision :shell, path: "scripts/installs/install_wamp.bat"
|
||||
config.vm.provision :shell, inline: "rm C:\\tmp\\vagrant-shell.bat" # Hack for this bug: https://github.com/mitchellh/vagrant/issues/7614
|
||||
|
||||
#config.vm.provision :shell, path: "scripts/installs/install_wordpress.bat"
|
||||
#config.vm.provision :shell, inline: "rm C:\\tmp\\vagrant-shell.bat" # Hack for this bug: https://github.com/mitchellh/vagrant/issues/7614
|
||||
config.vm.provision :shell, path: "scripts/installs/start_wamp.bat"
|
||||
config.vm.provision :shell, inline: "rm C:\\tmp\\vagrant-shell.bat" # Hack for this bug: https://github.com/mitchellh/vagrant/issues/7614
|
||||
|
||||
# Configure Firewall to open up vulnerable services
|
||||
config.vm.provision :shell, path: "scripts/configs/configure_firewall.bat"
|
||||
|
|
|
@ -4,4 +4,5 @@ netsh advfirewall firewall add rule name="Open Port 8282 for Apache Struts" dir=
|
|||
netsh advfirewall firewall add rule name="Open Port 80 for IIS" dir=in action=allow protocol=TCP localport=80
|
||||
netsh advfirewall firewall add rule name="Open Port 4848 for GlassFish" dir=in action=allow protocol=TCP localport=4848
|
||||
netsh advfirewall firewall add rule name="Open Port 8080 for GlassFish" dir=in action=allow protocol=TCP localport=8080
|
||||
netsh advfirewall firewall add rule name="Open Port 3389 for Remote Desktop" dir=in action=allow protocol=TCP localport=3389
|
||||
netsh advfirewall firewall add rule name="Open Port 3389 for Remote Desktop" dir=in action=allow protocol=TCP localport=3389
|
||||
netsh advfirewall firewall add rule name="Open Port 8585 for Wordpress and phpMyAdmin" dir=in action=allow protocol=TCP localport=8585
|
|
@ -5,5 +5,5 @@ copy /Y "C:\vagrant\resources\wamp\wampserver2.2d-x64.exe" "C:\Windows\Temp\wamp
|
|||
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"
|
||||
net start wampapache
|
||||
net start wampmysqld
|
||||
sc config wampapache start= auto
|
||||
sc config wampmysqld start= auto
|
2
scripts/installs/start_wamp.bat
Normal file
2
scripts/installs/start_wamp.bat
Normal file
|
@ -0,0 +1,2 @@
|
|||
net start wampapache
|
||||
net start wampmysqld
|
Loading…
Reference in New Issue
Block a user