This commit is contained in:
WP Engine Marketing
2019-07-05 10:02:48 -07:00
3 changed files with 18 additions and 6 deletions

View File

@@ -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 <TARGET>
# C) Even better you can :
alias sniper='docker run -it sn1per-docker sniper $@'
sniper -t <TARGET>
```
### MODES:
* **NORMAL:** Performs basic scan of targets and open ports using both active and passive checks for optimal performance.

View File

@@ -1,5 +0,0 @@
#!/bin/bash
# build script to push to github...
git add *
git commit -m 'Sn1per by 1N3CrowdShield'
git push origin master

3
sniper
View File

@@ -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