diff --git a/README.md b/README.md index 06f145b..6222381 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ bash install_debian_ubuntu.sh ## DOCKER INSTALL: ``` -docker build Dockerfile +sudo docker build -t sn1per-docker . && docker run -it sn1per-docker /bin/bash ``` ## USAGE: @@ -183,6 +183,20 @@ sniper --status [*] UPDATE SNIPER sniper -u|--update ``` +## DOCKER USAGE: +``` +# After Docker Install successfull: + +# A) Run container and get shell inside: +docker run -it sn1per-docker /bin/bash + +# B) Run container, run sniper and get shell output (better integration): +docker run -it sn1per-docker sniper $@ -t + +# C) Even better you can : +alias sniper='docker run -it sn1per-docker sniper $@' +sniper -t +``` ### MODES: * **NORMAL:** Performs basic scan of targets and open ports using both active and passive checks for optimal performance. diff --git a/build.sh b/build.sh deleted file mode 100644 index 18755f0..0000000 --- a/build.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# build script to push to github... -git add * -git commit -m 'Sn1per by 1N3CrowdShield' -git push origin master diff --git a/sniper b/sniper index fbcb504..f350a06 100755 --- a/sniper +++ b/sniper @@ -8,6 +8,9 @@ INSTALL_DIR="/usr/share/sniper" LOOT_DIR="$INSTALL_DIR/loot/$TARGET" SNIPER_PRO=$INSTALL_DIR/pro.sh +# INIT POSTGRESQL +service postgresql start + # LOAD SNIPER CONFIGURATION FILE if [ -f ~/.sniper.conf ]; then source ~/.sniper.conf