Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git Rootfs #2

Closed
zachriggle opened this issue Jun 22, 2015 · 1 comment
Closed

Git Rootfs #2

zachriggle opened this issue Jun 22, 2015 · 1 comment

Comments

@zachriggle
Copy link

It looks like most of the effort in setup_wargame.sh and external_tools.sh is spent doing things which could be automated with a simple Git clone into the root directory.

root $ cd /
root $ git init
root $ git remote add origin https://github.com/RPISEC/MBE-rootfs 
root $ git checkout -f -t origin/master

This would automate the creation of all of the files and folders, and everything would be "ready to go". The only scripting necessary would be to install a list of packages and fix permissions.

For an example of what this looks like, check out https://github.com/zachriggle/defcon22.

@RPISEC
Copy link
Collaborator

RPISEC commented Jun 22, 2015

There is only one cp command (see line 320) to place the levels in the specified directory. Most of the work in setup_wargame.sh is locking down the machine, installing tools, creating users, and setting permissions.

@RPISEC RPISEC closed this as completed Jun 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant