Commit Graph

146 Commits

Author SHA1 Message Date
Dave Eargle
72dc282aa0 ub1404 dev workflow
Tweaks to the recipes to avoid repetition of work, and ub1404 dev,
* let apt cookbook handle apt-update globally
* do not download, configure, make, make install if the package is
already installed
* add guards for file deletion to first check whether file is present
* use docker cookbook for image building and running, to only build if
not alrady built and only run if not already running
* drop mysql table and recreate each time

Also,
* bump Docker cookbook to 4.9.3
* bump mysql cookbook to 8.5.1
* add apt cookbook for better apt-update management
* bump depends versions and add apt
* modify readme with customization instructions
* modify all chef runlists to call apt first in the runlist
* add a vagrantfile for dev of ub1404
2019-10-29 13:36:27 -06:00
Jeffrey Martin
6b0bac0626
Land #375, Lock ubuntu docker 2019-02-17 21:34:30 -06:00
Jeffrey Martin
2680a14624
lock docker version for kernel compatibility 2019-02-17 00:03:49 -06:00
Jeffrey Martin
c238a6a46d
update with chef-cookbook/docker v4.9.2 2019-02-17 00:02:05 -06:00
Dave Eargle
adacceed5a remove carriage returns from service config files 2018-10-20 01:51:32 -06:00
James Barnett
23b71528fd Changes for community CTF. 2017-11-07 15:13:46 -06:00
Wei Chen
0c181b6474 Set workign directory 2017-11-03 11:57:41 -05:00
Wei Chen
78096eb8be Put Ruby code in loader 2017-11-02 16:13:04 -05:00
Wei Chen
0a5a175f65 Update loader 2017-11-01 15:13:04 -05:00
James Barnett
c3c3b63382 Everything needed for RC5 2017-09-12 09:16:20 -05:00
James Barnett
80c2fc0f84 Run readme as chewbacca 2017-09-10 14:45:01 -05:00
James Barnett
1545f8930a proftpd needs the hostname in /etc/hosts 2017-09-08 15:04:00 -05:00
James Barnett
3453c20899 Use correct file for sinatra server.
- Turns out it was supposed to be the loader file, not server
- Bump version for aws to 0.1.8
- This is RC1 for the UNITED CTF. Will launch with this version
  if no issues are found.
2017-09-05 14:18:18 -05:00
James Barnett
cd8f2d7b1c Missed a folder 2017-09-01 16:24:47 -05:00
James Barnett
6088d95c0b Use different sinatra server based on platform 2017-09-01 16:23:59 -05:00
James Barnett
b1b50a6872 Update tests 2017-09-01 12:33:36 -05:00
James Barnett
c74a74bbef Merge branch 'feature/linux_ctf' of github.com:rapid7/metasploitable3-ctf into feature/linux_ctf 2017-08-29 16:24:45 -05:00
James Barnett
0b5812e7e1 Build locate db for easy mode flags 2017-08-29 13:41:38 -05:00
Wei Chen
51633796c4 Update server 2017-08-24 17:16:21 -05:00
Wei Chen
ff8a49c9a4 Update server 2017-08-24 17:16:09 -05:00
Wei Chen
afbb2cc03e update loader 2017-08-24 17:14:26 -05:00
Wei Chen
e6b1516c0a This updates the loader for Sinatra
Updates the MD5 for the first 40 lines of /etc/passwd
2017-08-24 16:29:13 -05:00
James Barnett
885799e1d0 Missed a file. 2017-08-24 13:49:23 -05:00
James Barnett
ee4a882539 Fix perms on 9 of diamonds 2017-08-24 10:47:43 -05:00
James Barnett
ef4678651d Check that port 3500 is listening 2017-08-23 15:56:08 -05:00
James Barnett
0345d7b4c1 Update unrealircd 2017-08-23 11:19:18 -05:00
James Barnett
cad75cb940 Run unrealircd as different user 2017-08-22 15:55:38 -05:00
James Barnett
0b6f6010a2 Set users and groups 2017-08-22 10:50:00 -05:00
James Barnett
01d320cb76 Always use strings for permissions 2017-08-21 16:12:02 -05:00
James Barnett
b8288b3441 Add tests for easy mode flags 2017-08-21 16:06:47 -05:00
James Barnett
f0667a1785 Fix bug with 8_of_clubs 2017-08-18 19:00:54 -05:00
James Barnett
5dc209aacf Hide 8_of_clubs 2017-08-18 15:05:06 -05:00
James Barnett
a2bd868dc5 Hide 10_of_spades 2017-08-18 14:49:57 -05:00
James Barnett
9bc7d30edb Hide 3_of_hearts 2017-08-18 14:34:48 -05:00
James Barnett
e9c1a10b88 Add 9_of_diamonds
- Introduce hard mode flags for linux vm
2017-08-18 14:12:24 -05:00
James Barnett
31afcead74 Configure sshd to allow passwords 2017-08-16 16:09:07 -05:00
James Barnett
afd863afe1 Change user passwords and groups 2017-08-15 17:28:53 -05:00
James Barnett
bc3ef65dbf Update linux tests.
- Finished out flag tests
- All tests are passing correctly
- Use integer for mode consistently
2017-08-15 12:43:37 -05:00
James Barnett
d1ad7dcd47 Merge branch 'feature/linux_ctf' of github.com:rapid7/metasploitable3-ctf into feature/linux_ctf 2017-08-11 13:36:58 -05:00
James Barnett
d8091b6e66 Add more tests. 2017-08-11 13:36:04 -05:00
jbarnett-r7
04f0aa2737 Merge pull request #8 from rapid7/update_king_of_spades
Update the Base64 for ircd.motd
2017-08-10 14:44:16 -05:00
James Barnett
25d896fd4d Update test for new logo 2017-08-09 11:10:49 -05:00
James Barnett
aa72a903cb Missed a file. 2017-08-09 10:55:32 -05:00
jbarnett-r7
ca7f6b2d31 Merge pull request #9 from rapid7/add_aws_builder
Add AWS builder
2017-08-09 10:51:34 -05:00
James Barnett
3fdaf996ae Update recipes for better chef practices.
There were quite a few bugs in the chef recipes when building using other platforms.
These were mostly due to assuming the vagrant user would exist.
Things are now more generic and should be more reliable overall.
2017-08-04 11:18:57 -05:00
James Barnett
520c0564be Build Linux VM in packer.
This makes some other changes:
* Moves packer related files to packer directory.
* Updates build scripts for new packer directory.
* Renames boxes to metasploitabl3-<OS>
2017-07-31 15:48:27 -05:00
sinn3r
be68ba5724 Merge pull request #7 from rapid7/2_of_spades
Add 2 of spades
2017-07-28 12:12:58 -05:00
wchen-r7
761140684e Update the Base64 for ircd.motd 2017-07-28 00:47:46 -05:00
James Barnett
b4b47b5e06 Merge branch 'master' into feature/linux_ctf 2017-07-27 11:31:23 -05:00
James Barnett
24e20be16e Add 2 of spades 2017-07-26 17:42:43 -05:00