| Removing old development files - warvox - VoIP based wardialing tool, forked fr… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 2646200ba2fe5d69063d9d362b0a161d7fdb213a | |
| parent a98b17c8699b572fe5e568ce6e49f7f8c6ccb7b5 | |
| Author: Jay Scott <[email protected]> | |
| 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(-) | |
| --- | |
| 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 … | |
| -if [[ ! $USEREXIST -eq 1 ]] | |
| -then | |
| - psql -h $DB_PORT_5432_TCP_ADDR -p 5432 -U postgres postgres -c "create role … | |
| -fi | |
| - | |
| -DBEXIST="$(psql -h $DB_PORT_5432_TCP_ADDR -p 5432 -U postgres postgres -l | g… | |
| -if [[ ! $DBEXIST ]] | |
| -then | |
| - psql -h $DB_PORT_5432_TCP_ADDR -p 5432 -U postgres postgres -c "CREATE DATAB… | |
| -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 |