Commit Graph

121 Commits

Author SHA1 Message Date
Jeffrey Martin
34283b14a1
lock the java package
The many services that rely on java need to have better limits.

By installing a specific compatible java version early the build
can eliminate churn and provide more consistent enviornments.
2020-08-19 08:11:37 -05:00
Jeffrey Martin
6ef3902e25
Land #444, Fix Powershell SSL/TLS error for chocolatey download 2020-02-08 08:45:18 -06:00
HomeSen
a47a60f37d Fix Powershell SSL/TLS error for chocolatey download 2020-02-06 17:51:04 +01:00
Wayne Haber
785a042ab4
Fix install of elasticsearch on Windows
The install is failing as the .zip download was not working.  Updated link to elaticsearch.co, changed it from http to https, and updated the script to ignore cert errors.  All changes were required to make it work (for me at least).
2020-01-28 16:16:50 -05:00
Jeffrey Martin
02e65a2c17
Land #381, Fix snmp 2019-10-21 12:15:32 -05:00
jorgitux
3598053ff4 Fix install Glassfish win2k8 2019-10-07 22:43:46 -05:00
usmcfiredog
525940362a
changed to DISM install to allow the feature to install 2019-03-05 08:05:56 -08:00
Nicholas Kasprinski
6f01e7a9d7 changed from pkgmgr to DISM to allow for the features to be enabled correctly 2019-02-05 17:43:13 -08:00
Jeffrey Martin
a4ecd265cf
Update guest tools install for better vmware support
* make guest tools last so pre-reqs are in place

Packer 1.3.x and possibly more does not inject enviornment
variables as expected into `windows-shell` provisioners, moving
script that requires these into a `shell` provisioner.

* do not trust default uploaded windows.iso

Packer in some cases will upload windows.iso from the host
building the VM, since server 2008 needs a specific older
version of tools this can cause problems.

Example issue:
VMware Fusion 11 on macOS Mojave will supply 10.3.x in windows.iso
and will hit https://kb.vmware.com/s/article/55798 due the patch level
expectaions that are intentionally not met for Windows 2008r2.
2019-01-17 21:33:55 -06:00
Stan
dc43bc6c9f add explicit TLS 1.2 setting to PS session when downloading RubyDevKit from new https endpoint 2018-12-01 19:21:52 -08:00
Jeffrey Martin
a3c19e7fac
lets try version 16.04, hopefully buys more time 2018-04-11 10:20:17 -05:00
Jeffrey Martin
4fbe02277d
Update 7zip url for latest version
Fix #266 due to previous version now behind soureforge redirect.
2018-04-09 11:34:03 -05:00
Brent Cook
1dc344bc30
Land #231, Add the Linux Box From the 2017 CTF 2018-03-14 20:59:53 -05:00
Hlynrkjaer
4b3ad2a7b2
Fix for "Could not create SSL/TLS secure channel".
Proposed file change is potential fix for ""Could not create SSL/TLS secure channel"" with ""scripts/installs/install_openjdk6.bat"".
Discussed there: https://github.com/rapid7/metasploitable3/issues/219
2018-03-03 15:23:26 +00:00
Chan9390
51778136ac
Added WAMP installer to /resources/wamp 2018-02-20 17:48:30 +05:30
James Barnett
39c8ee092f Merge branch 'feature/linux_ctf' into merge_linux_ctf 2017-12-14 16:31:53 -06:00
Jeffrey Martin
f6fc402e0a
suppress non-zero exit for glassfish start
when requesting glassfish to start in vmware fusion 10 packer get
a non-zero exit code when service is already starting.  This look
to be valid to simply ignore.
2017-11-28 12:33:39 -06:00
Chan9390
880ba056b0
Moved devkit to RubyDevKit 2017-09-01 16:34:41 +05:30
Tijl Deneut
fbbb3e4718 Fix ManageEngine not starting
Notification Server fails to be configured for Local Service and the auto start settings where lost too. Fixed now.
2017-08-03 15:15:40 +02:00
Tijl Deneut
5e99d564cb Fix the broken jack_of_diamonds ADS flag 2017-08-03 15:14:31 +02:00
James Barnett
b4b47b5e06 Merge branch 'master' into feature/linux_ctf 2017-07-27 11:31:23 -05:00
James Barnett
0ddaf0c8b9
Add .NET 4.0 script back in.
Let's keep this file even though it's not actively being used.
IMO it's better to have a large collection of working install
scripts that we can use as needed. This will make sure it is
available if needed in the future.
2017-07-27 11:19:43 -05:00
Chan9390
81571c9ff4
Removed dotnet 4.0 and added WMF to autounattend 2017-07-26 23:47:34 +05:30
Chan9390
415660add5
Removed dotnet 4.0 2017-07-26 19:11:16 +05:30
Chan9390
e3c1001ba8
Removed dotnet chocolatey install 2017-07-26 18:18:01 +05:30
Chan9390
181f3e733b
Moving dotnet installation to Autounattend.xml 2017-07-26 14:41:37 +05:30
James Barnett
e86ba5119b Merge branch 'ctf/master' into feature/linux_ctf 2017-07-25 11:12:18 -05:00
Chan9390
0c9c396aba
Added dotNet4.5 and Windows Management Framework 5 2017-07-20 10:23:25 +05:30
wchen-r7
d398a7b6e8 Add Autorun for linux share 2017-07-12 17:16:19 -05:00
wchen-r7
848c23898e Add share from Linux 2017-07-12 17:14:45 -05:00
Chan9390
6901e885f1
Increased the sleep time in glassfish script #155 2017-06-28 11:15:15 +05:30
Matt Robinson
550140e51f
Fix typo in script
This is windows, not unix :)
2017-06-26 21:01:04 -04:00
James Barnett
e12f4e39fe Merge branch 'master' into feature/build_with_packer 2017-06-13 15:23:26 -05:00
Chan9390
99cd396aba
Fixed the Ruby version to 2.3.3 #145 2017-05-29 18:37:33 +05:30
Chan9390
e487176a49
Corrected tomcat version 2017-05-20 15:27:24 +05:30
James Barnett
96c3e950e1
Building from packer working.
All of the software installation and configuration is occurring
on packer now. Vagrant just brings the box up and adjusts the firewall.
We probably want to do more configuration on the vagrant side to
make it more flexible, but this code is working so I wanted to
commit it.
2017-05-11 15:21:54 -05:00
James Barnett
abe223ba44 Merge remote-tracking branch 'origin/master' into feature/build_with_packer 2017-05-02 15:44:49 -05:00
wchen-r7
e937c7055d Increase timeout by 5 for GlassFish, also rm unnecessary taskkill 2017-05-02 10:22:19 -05:00
jbarnett-r7
280e9e9fdd Merge pull request #96 from jikuja/PR
Fix glassfish
2017-04-11 14:02:19 -05:00
James Barnett
f09ea0d648
Use canonical spelling for user names. Fixes #105 2017-04-03 11:30:58 -05:00
jbarnett-r7
8b1af132e1 Merge pull request #93 from a-garcia/Update_Elasticsearch's_initial_startup_time
Updated the initial startup time for Elasticsearch Fixes #73
2017-03-17 15:11:20 -05:00
Janne Kujanpää
1245a782bb Fix glassfish
This fix was in #65 but was removed from PR for some reason
2017-03-07 19:10:02 +02:00
James Barnett
1066317922
Update URL for WAMP download. Fixes #91 2017-03-06 17:05:28 -06:00
Arturo Garcia
448dbb007c Updated the initial startup time for Elasticsearch from 5 seconds to 30 seconds. 2017-03-05 08:45:08 -06:00
Nicholas Charron
a076214362 Merged with upstream 2017-01-25 09:47:09 -05:00
Nicholas Charron
394d47f60f updating changes. still work in progress 2017-01-25 09:43:00 -05:00
Kyle Gray (Noxferatu)
ef8fed0fd2 Merge pull request #65 from Centurion89/add_vmware_build_support
Adding Vagrant build support for VMWare
2017-01-12 10:30:08 -06:00
James Barnett
3fbc4b42d4
Add the Oracle root CA during packer build to fix failures caused by expired Oracle certificate in guest additions. Fixes #75 2017-01-11 15:05:32 -06:00
Adric Net
5130f491d1 glassfish install: Enable overwriting in 7Zip
This has proved very helpful when troubleshooting builds. Without it the second time this script runs it hangs waiting for input to 7zip like this:
```
   default: Running: scripts/installs/install_boxstarter.bat as c:\tmp\vagrant-shell.bat
==> default: C:\Windows\system32>mkdir C:\glassfish 
==> default: 
==> default: A subdirectory or file C:\glassfish already exists.
==> default: 
==> default: C:\Windows\system32>powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://download.java.net/glassfish/4.0/release/glassfish-4.0.zip', 'C:\Windows\Temp\glassfish4.zip')"  0<NUL 
==> default: C:\Windows\system32>cmd /c ""C:\Program Files\7-Zip\7z.exe" x "C:\Windows\Temp\glassfish4.zip" -oC:\glassfish" 
==> default: 
==> default: 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
==> default: 
==> default: Scanning the drive for archives:
==> default: 1 file, 102178360 bytes (98 MiB)
==> default: 
==> default: Extracting archive: C:\Windows\Temp\glassfish4.zip
==> default: --
==> default: Path = C:\Windows\Temp\glassfish4.zip
==> default: Type = zip
==> default: Physical Size = 102178360
==> default: 
==> default: 
==> default: Would you like to replace the existing file:
==> default:   Path:     C:\glassfish\glassfish4\bin\asadmin
==> default:   Size:     2274 bytes (3 KiB)
==> default:   Modified: 2013-05-14 22:08:54
==> default: with the file from archive:
==> default:   Path:     glassfish4\bin\asadmin
==> default:   Size:     2274 bytes (3 KiB)
==> default:   Modified: 2013-05-14 22:08:54
==> default: ? (Y)es / (N)o / (A)lways / (S)kip all / A(u)to rename all / (Q)uit? 
```
2016-12-30 09:57:58 -05:00
Chris Long
acf5b4df2c Reverting my changes to glassfish and updating .gitignore 2016-12-28 16:48:33 -06:00