From 50e53b5f1e7934ddaa73bcaae806fab474e5781f Mon Sep 17 00:00:00 2001 From: root Date: Thu, 8 Mar 2018 19:18:26 -0700 Subject: [PATCH] Sn1per by 1N3@CrowdShield --- CHANGELOG.md | 2 ++ sniper | 14 ++++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e7be2ef..5e8278e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/sniper b/sniper index ec37c20..68acffd 100755 --- a/sniper +++ b/sniper @@ -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