URI: 
       Removing old development files - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
   DIR Log
   DIR Files
   DIR Refs
   DIR README
       ---
   DIR commit 2646200ba2fe5d69063d9d362b0a161d7fdb213a
   DIR parent a98b17c8699b572fe5e568ce6e49f7f8c6ccb7b5
  HTML Author: Jay Scott <jay@beardyjay.co.uk>
       Date:   Tue,  6 Sep 2016 10:07:50 +0000
       
       Removing old development files
       
       Diffstat:
         D setup.sh                            |      34 -------------------------------
       
       1 file changed, 0 insertions(+), 34 deletions(-)
       ---
   DIR diff --git a/setup.sh b/setup.sh
       @@ -1,34 +0,0 @@
       -#!/bin/bash
       -#
       -# based of a setup script by pandrew/metasploit
       -#
       -
       -VOXUSER="warvox"
       -VOXPASS="changeme"
       -
       -USEREXIST="$(psql -h $DB_PORT_5432_TCP_ADDR -p 5432 -U postgres postgres -tAc "SELECT 1 FROM pg_roles WHERE rolname='$VOXUSER'")"
       -if [[ ! $USEREXIST -eq 1 ]]
       -then
       -  psql -h $DB_PORT_5432_TCP_ADDR -p 5432 -U postgres postgres -c "create role $VOXUSER WITH SUPERUSER login password '$VOXPASS'"
       -fi
       -
       -DBEXIST="$(psql -h $DB_PORT_5432_TCP_ADDR -p 5432 -U postgres  postgres -l | grep warvox)"
       -if [[ ! $DBEXIST ]]
       -then
       -  psql -h $DB_PORT_5432_TCP_ADDR -p 5432 -U postgres postgres -c "CREATE DATABASE warvox OWNER $VOXUSER;"
       -fi
       -
       -sh -c "echo 'production:
       -  adapter: postgresql
       -  database: warvox
       -  username: $VOXUSER
       -  password: $VOXPASS
       -  host: $DB_PORT_5432_TCP_ADDR
       -  port: 5432
       -  pool: 75
       -  timeout: 5' > /opt/warvox/config/database.yml"
       -
       -cd /opt/warvox 
       -make database
       -bin/adduser admin godsexlove
       -bin/warvox.rb --address 0.0.0.0