Sha256: d2abe4650c20387faa7aee93207e92ed6206df1dce75212a4668ece4f93f26b7

Contents?: true

Size: 948 Bytes

Versions: 28

Compression:

Stored size: 948 Bytes

Contents

#!/usr/bin/env bash

#
# Prints a log message.
#
function log()
{
	if [[ -t 1 ]]; then
		echo -e "\x1b[1m\x1b[32m>>>\x1b[0m \x1b[1m$1\x1b[0m"
	else
		echo ">>> $1"
	fi
}

#
# Prints a warn message.
#
function warn()
{
	if [[ -t 1 ]]; then
		echo -e "\x1b[1m\x1b[33m***\x1b[0m \x1b[1m$1\x1b[0m" >&2
	else
		echo "*** $1" >&2
	fi
}

#
# Prints an error message.
#
function error()
{
	if [[ -t 1 ]]; then
		echo -e "\x1b[1m\x1b[31m!!!\x1b[0m \x1b[1m$1\x1b[0m" >&2
	else
		echo "!!! $1" >&2
	fi
}

#
# Prints an error message and exists with -1.
#
function fail()
{
	error "$@"
	exit -1
}

# default to installing gems into vendor/bundle
if [[ ! -f .bundle/config ]]; then
	bundle config set --local path vendor/bundle >/dev/null || \
	  fail "Failed to run 'bundle config'"
fi

log "Installing gems ..."
bundle install || fail "Failed to run 'bundle install'!"

log "Setting up the project ..."
bundle exec rake setup || "Failed to run 'rake setup'!"

Version data entries

28 entries across 28 versions & 11 rubygems

Version Path
ronin-2.1.0 scripts/setup
ronin-fuzzer-0.2.0 scripts/setup
ronin-recon-0.1.0 scripts/setup
ronin-wordlists-0.1.0 scripts/setup
ronin-exploits-1.1.0 scripts/setup
ronin-payloads-0.2.0 scripts/setup
ronin-listener-0.1.0 scripts/setup
ronin-web-2.0.0 scripts/setup
ronin-vulns-0.2.0 scripts/setup
ronin-db-0.2.0-java scripts/setup
ronin-db-0.2.0 scripts/setup
ronin-repos-0.2.0 scripts/setup
ronin-recon-0.1.0.rc2 scripts/setup
ronin-listener-0.1.0.rc2 scripts/setup
ronin-payloads-0.2.0.rc2 scripts/setup
ronin-exploits-1.1.0.rc2 scripts/setup
ronin-2.1.0.rc1 scripts/setup
ronin-fuzzer-0.2.0.rc1 scripts/setup
ronin-recon-0.1.0.rc1 scripts/setup
ronin-wordlists-0.1.0.rc1 scripts/setup