monitors:wpscan.sh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

monitors:wpscan.sh [2017/11/10 11:47] – created richmonitors:wpscan.sh [2017/11/10 14:24] (current) rich
Line 65: Line 65:
                         MSG="$HOSTTAG status for host $MACHINE"                         MSG="$HOSTTAG status for host $MACHINE"
  
-                        CMD="$(/usr/bin/ruby /usr/local/wpscan/wpscan.rb --url ${URL} -enumerate u)"+                        CMD="$(/usr/bin/ruby /usr/local/wpscan/wpscan.rb --url ${URL} -enumerate u --disable-tls-checks)" 
 + 
 +                        if [[ $CMD == *"[!]"* ]]; then 
 +                                COLOR=red 
 +                        fi
  
                         MSG="$MSG $CMD"                         MSG="$MSG $CMD"
  
-                        $XYMON $XYMSRV "status $MACHINECOMMAS.$COLUMN $COLOR `date` ${MSG}"+                        $XYMON $XYMSRV "status $MACHINECOMMAS.$COLUMN $COLOR `date` 
 + 
 +${MSG}"
                 fi                 fi
  
Line 88: Line 94:
  
 ===== Changelog ===== ===== Changelog =====
 +
 +  * **2017-11-10**
 +    * Added in basic vulnerability detect that turns status red
 +    * Change to the wpscan command to prevent SSL/TLS errors
  
   * **2017-11-10**   * **2017-11-10**
     * Initial release     * Initial release
  
  • monitors/wpscan.sh.txt
  • Last modified: 2017/11/10 14:24
  • by rich