diff --git a/CHANGELOG.md b/CHANGELOG.md index 0069e5f..eb3da8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## CHANGELOG: -* v8.9 - Fixed error in install.sh for theharvester sym link -* v8.9 - Fixed issue with flyover mode not capturing web screenshots +* v8.8 - Fixed issue with webscreenshot on Kali 2020.3+ +* v8.8 - Fixed error in install.sh for theharvester sym link +* v8.8 - Fixed issue with flyover mode not capturing web screenshots * v8.8 - Added automatic 'flyover' scans of all discovered domains for 'recon' mode * v8.8 - Added static grep searching rules of all URL's and sub-domains (see sniper.conf for details) * v8.8 - Added verbose status logging to flyover mode showing HTTP status/redirect/title, etc. diff --git a/install.sh b/install.sh index dd29aae..baf7a20 100755 --- a/install.sh +++ b/install.sh @@ -108,6 +108,7 @@ apt-get install -y jsbeautifier apt-get install -y phantomjs 2> /dev/null apt-get install -y openvas apt-get install -y greenbone-security-assistant +apt-get install -y chromium echo -e "$OKBLUE[*]$RESET Installing Metasploit...$RESET" curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > /tmp/msfinstall diff --git a/modes/flyover.sh b/modes/flyover.sh index fcff4fb..9b779a3 100644 --- a/modes/flyover.sh +++ b/modes/flyover.sh @@ -96,8 +96,8 @@ if [[ "$MODE" = "flyover" ]]; then fi if [[ $WEBSCREENSHOT = "1" ]]; then cd $LOOT_DIR - python2 $INSTALL_DIR/bin/webscreenshot.py http://$TARGET:80 2> /dev/null > /dev/null & - python2 $INSTALL_DIR/bin/webscreenshot.py https://$TARGET:443 2> /dev/null > /dev/null & + python2 $INSTALL_DIR/bin/webscreenshot.py -r chromium http://$TARGET:80 2> /dev/null > /dev/null & + python2 $INSTALL_DIR/bin/webscreenshot.py -r chromium https://$TARGET:443 2> /dev/null > /dev/null & fi echo "$TARGET" >> $LOOT_DIR/scans/updated.txt echo "$TARGET" >> $LOOT_DIR/domains/targets-all-presorted.txt diff --git a/modes/normal.sh b/modes/normal.sh index a2930b0..8d6f330 100644 --- a/modes/normal.sh +++ b/modes/normal.sh @@ -486,7 +486,7 @@ else fi if [[ $WEBSCREENSHOT = "1" ]]; then cd $LOOT_DIR - python2 $INSTALL_DIR/bin/webscreenshot.py http://$TARGET:80 + python2 $INSTALL_DIR/bin/webscreenshot.py -r chromium http://$TARGET:80 fi source $INSTALL_DIR/modes/normal_webporthttp.sh @@ -823,7 +823,7 @@ else if [[ $WEBSCREENSHOT = "1" ]]; then cd $LOOT_DIR - python2 $INSTALL_DIR/bin/webscreenshot.py https://$TARGET:443 + python2 $INSTALL_DIR/bin/webscreenshot.py -r chromium https://$TARGET:443 fi source $INSTALL_DIR/modes/normal_webporthttps.sh diff --git a/modes/stealth.sh b/modes/stealth.sh index b50656b..18bd783 100644 --- a/modes/stealth.sh +++ b/modes/stealth.sh @@ -296,7 +296,7 @@ if [[ "$MODE" = "stealth" ]]; then fi if [[ $WEBSCREENSHOT = "1" ]]; then cd $LOOT_DIR - python2 $INSTALL_DIR/bin/webscreenshot.py http://$TARGET:80 + python2 $INSTALL_DIR/bin/webscreenshot.py -r chromium http://$TARGET:80 fi fi @@ -462,7 +462,7 @@ if [[ "$MODE" = "stealth" ]]; then fi if [[ $WEBSCREENSHOT = "1" ]]; then cd $LOOT_DIR - python2 $INSTALL_DIR/bin/webscreenshot.py https://$TARGET:443 + python2 $INSTALL_DIR/bin/webscreenshot.py -r chromium https://$TARGET:443 fi echo -e "$OKRED[+]$RESET Screenshot saved to $LOOT_DIR/screenshots/$TARGET-port443.jpg" fi diff --git a/modes/webporthttp.sh b/modes/webporthttp.sh index ab5b266..a0178ba 100644 --- a/modes/webporthttp.sh +++ b/modes/webporthttp.sh @@ -141,7 +141,7 @@ if [[ "$MODE" = "webporthttp" ]]; then fi if [[ $WEBSCREENSHOT = "1" ]]; then cd $LOOT_DIR - python2 $INSTALL_DIR/bin/webscreenshot.py http://$TARGET:$PORT + python2 $INSTALL_DIR/bin/webscreenshot.py -r chromium http://$TARGET:$PORT fi if [[ "$BURP_SCAN" == "1" ]]; then echo -e "${OKGREEN}====================================================================================${RESET}•x${OKGREEN}[`date +"%Y-%m-%d](%H:%M)"`${RESET}x•" diff --git a/modes/webporthttps.sh b/modes/webporthttps.sh index fd0583f..bdebbe6 100644 --- a/modes/webporthttps.sh +++ b/modes/webporthttps.sh @@ -157,7 +157,7 @@ if [[ "$MODE" = "webporthttps" ]]; then fi if [[ $WEBSCREENSHOT = "1" ]]; then cd $LOOT_DIR - python2 $INSTALL_DIR/bin/webscreenshot.py https://$TARGET:$PORT + python2 $INSTALL_DIR/bin/webscreenshot.py -r chromium https://$TARGET:$PORT fi if [[ "$BURP_SCAN" == "1" ]]; then echo -e "${OKGREEN}====================================================================================${RESET}•x${OKGREEN}[`date +"%Y-%m-%d](%H:%M)"`${RESET}x•"