Sn1per by 1N3@CrowdShield

This commit is contained in:
root 2017-05-14 12:52:17 -04:00
parent 043182dcd5
commit b94e67dfe1
3 changed files with 16 additions and 0 deletions

View File

@ -1,4 +1,5 @@
## CHANGELOG:
* v2.4c - Added loot and $TARGET sanity checks (CC. @menzow)
* v2.4b - Fixed issue with discovery scan output file (CC. @ifly53e)
* v2.4b - Fixed issue with Intel AMT RCE port list
* v2.4a - Added all NMap script checks via 'fullportonly' mode

View File

@ -1,3 +1,5 @@
###TODO:
* Add web port scans for directed web scans
* Add various modes (airstrike,nuke,web,etc.) for discovery scans
* Add automatic reporting for all scans by default

13
sniper
View File

@ -120,6 +120,16 @@ GOOHAK="1"
cd $INSTALL_DIR
function init {
mkdir -p $LOOT_DIR 2> /dev/null
mkdir $LOOT_DIR/domains 2> /dev/null
mkdir $LOOT_DIR/screenshots 2> /dev/null
mkdir $LOOT_DIR/nmap 2> /dev/null
mkdir $LOOT_DIR/reports 2> /dev/null
mkdir $LOOT_DIR/output 2> /dev/null
TARGET="$(echo $TARGET | sed 's/https:\/\///g' | sed 's/http:\/\///g')"
}
function loot {
echo -e "$OKRED ____ $RESET"
echo -e "$OKRED _________ / _/___ ___ _____$RESET"
@ -240,6 +250,9 @@ else
SCAN_TYPE="DOMAIN"
fi
# INITILIZE()
init
if [ "$MODE" = "report" ]; then
sniper $TARGET | tee $LOOT_DIR/sniper-$TARGET-`date +%Y%m%d%H%M`.txt 2>&1
exit