No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bash
python
testnotes/bash
LICENSE
README.md

README.md

scoring

Welcome and thanks for the interest in the project.

At this time, it's highly unlikely we accept pull requests from outside the organization itself unless it cures cancer or magically makes someone an instant cyberwarrior.

To actually pull this code, go ahead and download it and either pick the bash or python setup.

The only functioning one is currently bash. It also only runs on init systems so far but you could probably comment out the services part and it'll work again.

The process for bash is as follows:

  1. Setup your image

  2. Run ./setupimg.sh to specify what you actually want scored

  3. setupimg.sh will generate a (insecurely) encoded config file. Easily decode it with base64 --decode

  4. Deploy with ./setupimg.sh --deploy

Now whenever they elevate to root or whenever they run "score" as root, it'll score.

To deploy the bash version

	cd ~
	
	wget https://github.com/mike-bailey/scoring/archive/master.zip
	
	unzip master.zip
	
	cd scoring-master

	cd bash
	
	chmod +x scorer.sh
	
	chmod +x setupimg.sh
	
	*DO YOUR IMAGE CONFIGURATION*
	
	./setupimg.sh

To score,

	./setupimg.sh --deploy

Other options include:

	./setupimg.sh --help (or -h)

	./setupimg.sh --testconfig

	./setupimg.sh --viewconfig