diff --git a/CHANGELOG.md b/CHANGELOG.md index 9dbb923..0b71e84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ ## CHANGELOG: +* v8.2 - Added root priv check to sniper script to run * v8.2 - Added NMap port change notifications via Slack * v8.2 - Fixed issue with firefox not loading on Kali Linux 2020.1 * v8.2 - Fixed issue with Masswebscan mode not working diff --git a/install.sh b/install.sh index 1e8caeb..286a7aa 100755 --- a/install.sh +++ b/install.sh @@ -176,7 +176,7 @@ cd shodan-python python setup.py install cd .. pip3 install spyse.py -pip install h8mail +pip install h8mail 2> /dev/null echo -e "$OKORANGE + -- --=[ Setting up environment...$RESET" mv ~/.sniper.conf ~/.sniper.conf.old 2> /dev/null cp $INSTALL_DIR/sniper.conf ~/.sniper.conf 2> /dev/null diff --git a/sniper b/sniper index cca841c..9d3ce7e 100755 --- a/sniper +++ b/sniper @@ -3,6 +3,11 @@ # + -- --=[https://xerosecurity.com # +if [[ $EUID -ne 0 ]]; then + echo "This script must be run as root" + exit 1 +fi + VER="8.1" INSTALL_DIR="/usr/share/sniper" LOOT_DIR="$INSTALL_DIR/loot/$TARGET" diff --git a/sniper.conf b/sniper.conf index dc6dc7d..1fe9fd7 100644 --- a/sniper.conf +++ b/sniper.conf @@ -134,7 +134,7 @@ EMAILFORMAT="1" ULTRATOOLS="1" URLCRAZY="1" VHOSTS="1" -H8MAIL="1" +H8MAIL="0" # ACTIVE WEB PLUGINS BURP_SCAN="0"