Sn1per by 1N3@CrowdShield

This commit is contained in:
root 2018-03-08 19:18:26 -07:00
parent 79b8e64c89
commit 50e53b5f1e
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,6 @@
## CHANGELOG:
* v4.1 - Fixed a few bugs with various command line switches for airstrike and nuke modes.
* v4.1 - Fixed issue with path relative file inclusion via the -f flag. You can now include just the local filename (sniper -f targets.txt).
* v4.0 - Added new command switch options for all sniper scans (see --help for details)
* v4.0 - Added HTML formatted report for all workspaces to display screenshots, headers, reports and open ports
* v4.0 - Added optional scan options such as --recon, --osint, --fullportonly --bruteforce, etc. to selectively enable scan modules. (see --help for details)

14
sniper
View File

@ -3,7 +3,7 @@
# + -- --=[http://crowdshield.com
#
VER="4.0"
VER="4.1"
BROWSER="firefox" # SET DEFAULT BROWSER
INSTALL_DIR="/usr/share/sniper"
PLUGINS_DIR="/usr/share/sniper/plugins"
@ -216,6 +216,10 @@ case $key in
REPORT="0"
shift # past argument
;;
-nl|--noloot)
LOOT="0"
shift # past argument
;;
-w|--workspace)
WORKSPACE="$2"
WORKSPACE_DIR="$INSTALL_DIR/loot/workspace/$WORKSPACE"
@ -230,7 +234,7 @@ case $key in
;;
*) # unknown option
POSITIONAL+=("$1") # save it in an array for later
echo "Unknown scan option...refer to the help menu for usage details."
echo "Unknown scan option $POSITIONAL...refer to the help menu for usage details."
exit
shift # past argument
;;
@ -892,9 +896,6 @@ if [ "$MODE" = "stealth" ]; then
if [ "$RECON" = "1" ]; then
args="$args -re"
fi
if [ "$LOOT" = "1" ]; then
args="$args -l"
fi
if [ ! -z "$WORKSPACE" ]; then
args="$args -w $WORKSPACE"
LOOT_DIR=$INSTALL_DIR/loot/workspace/$WORKSPACE
@ -1152,9 +1153,6 @@ if [ "$MODE" = "airstrike" ]; then
if [ "$RECON" = "1" ]; then
args="$args -re -m stealth"
fi
if [ "$LOOT" = "1" ]; then
args="$args -l"
fi
if [ ! -z "$WORKSPACE" ]; then
args="$args -w $WORKSPACE"
WORKSPACE_DIR=$INSTALL_DIR/loot/workspace/$WORKSPACE