Commit Graph

206 Commits

Author SHA1 Message Date
James Barnett
c4977eea3b
Add "pro" version.
This separates out a "pro" version that builds almost everything
in Vagrant. This version will be used for customizability so
you can build with only specific services. The mainline files
will continue to be used to bring the system up with as little
friction as possible.
2017-05-25 14:31:39 -05:00
James Barnett
f8e3e4a7ff
Update resources for packer build
Only use one packer build file with both virtualbox and vmware defined.
Having multiple build files will make it difficult to keep things consistent.

Also update references in the build scripts to only build for virtualbox
by default.
2017-05-15 17:07:36 -05:00
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
4ca2e7c292
Install software during packer build instead of vagrant. 2017-05-08 16:45:05 -05:00
James Barnett
85c9eea665
WIP: AUTOUNATTEND updates to get it building.
Still seeing issues when provisioning.
2017-05-03 11:57:25 -05:00
James Barnett
abe223ba44 Merge remote-tracking branch 'origin/master' into feature/build_with_packer 2017-05-02 15:44:49 -05:00
jbarnett-r7
b16fc99470 Update README.md
Indicate Vagrant 1.9.1 is recommended.
2017-05-02 11:40:20 -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
f5786dde31 Merge pull request #94 from pbarry-r7/vbox_ver_check_in_powershell
Enhanced VBox version check error msgs for PS.
2017-04-13 16:32:24 -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
James Barnett
50a8a91c71 Revert "Merge branch 'docker_vuln'"
This reverts commit 7f77216223, reversing
changes made to 8b1af132e1.
2017-04-03 10:43:43 -05:00
James Barnett
7f77216223 Merge branch 'docker_vuln' 2017-03-30 15:27:41 -05:00
James Barnett
9f20618e2a
Add docker and compat_resource cookbooks. 2017-03-30 15:26:04 -05:00
Sliim
dbe3947d22 linux: add docker_daemon_privilege_escalation
Install docker from the community cookbook and add some users in the
docker group from attributes.
I created the `attributes/default.rb` attribute file to configure which
users are added in the `docker` group. I suggest to put all configurable
values here, such as users, passwords etc..
2017-03-25 12:41:46 +01:00
James Barnett
5d36ad0306
Fix typo in proftpd recipe header 2017-03-24 15:31:47 -05:00
James Barnett
6549e398bc
Add new vuln for proftpd mod_copy 2017-03-23 13:06:48 -05:00
James Barnett
3566e9f009
Add php 5.4.5 and phpmyadmin 3.5.8 2017-03-21 13:50:39 -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
James Barnett
8ae68cb895
Remove unused file. 2017-03-13 17:35:51 -05:00
James Barnett
4d6c47efda
Add shellshock vulnerability exploitable through Apache mod_cgi. 2017-03-13 17:34:45 -05:00
James Barnett
ffed818290
Do an apt-get update before installing mysql. 2017-03-13 17:33:17 -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
Pearce Barry
b2c9443a5c
Land #61, Print current vbox version if less than minimum version 2017-03-06 08:56:16 -06:00
Pearce Barry
8dda67eff1
Enhanced VBox version check error msgs for PS. 2017-03-06 08:28:04 -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
James Barnett
0c6a9063e8
Add recipe for vulnerable Apache Continuum 2017-02-17 16:25:13 -06:00
James Barnett
c3bf91c693
WIP: Adding Linux VM using chef solo provisioning 2017-02-13 15:53:51 -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
jbarnett-r7
16ff6de74f Merge pull request #79 from infosec-intern/exactmatch_fix
Fix VirtualBox version check in PowerShell build script
2017-01-11 12:03:11 -06:00
Thomas Gardner
4d43b5793a removed leading dash from exactMatch on line 37
this is in response to issue #78 "build_win2008.ps1 Failing version check"
exactMatch sends the string "--exactMatch" to the CompareVersions function instead of $False
2017-01-09 21:58:03 -06:00
jbarnett-r7
4ad1fa6626 Merge pull request #77 from adricnet/patch-1
glassfish install: Enable overwriting in 7Zip
2017-01-09 13:30:22 -06:00
Brent Cook
b867d50773 Remove warnings about packages fixed upstream 2017-01-04 10:48:36 -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
ff0d4f338b Merge branch 'add_vmware_build_support' of github.com:centurion89/metasploitable3 into add_vmware_build_support 2016-12-28 16:50:32 -06:00
Chris Long
acf5b4df2c Reverting my changes to glassfish and updating .gitignore 2016-12-28 16:48:33 -06:00
wchen-r7
a37af8a287 Merge branch 'master' of github.com:rapid7/metasploitable3 2016-12-16 09:45:25 -06:00
wchen-r7
1c9a59437b Fix a typo 2016-12-16 09:45:15 -06:00
Chris Long
3e2df8cbfa Update start_glassfish_service.bat 2016-12-14 11:35:29 -08:00
James Barnett
abe6fc6726
Increase memory for VM to 4GB. Update README to reflect this. 2016-12-13 16:26:36 -06:00
Chris Long
21634baa36 Adding Vagrant build support for VMWare 2016-12-11 20:26:22 -08:00
James Barnett
6107acc62e
Add an issue template. 2016-12-09 16:01:03 -06:00
Aaron Gallagher
1103561918 Print current vbox version if less than minimum version 2016-12-08 22:06:40 -08:00
James Barnett
31c480b435
Update build scripts for newly released versions of VirtualBox and Vagrant 2016-12-06 11:59:09 -06:00
James Barnett
84917b6aa4
Merge branch 'master' of github.com:rapid7/metasploitable3
Fix merge conflicet in README
2016-12-05 10:47:58 -06:00
James Barnett
01d4019f3f
Add system requirements to README` 2016-12-05 10:38:49 -06:00