#!/bin/sh # # $Id: usr.local.etc.cron.weekly.john 5818 2002-12-28 07:35:29Z wohler $ # # This is a modification of /usr/share/john/john-dailyscript to do some # wordlist runs weekly. JOHNDIR=/usr/sbin PASSWD=/etc/passwd SHADOW=/etc/shadow PASSFILE=`grep -e "[ ]*passfile[ ]*=[ ]*" /etc/john-mail.conf | sed -e "s/#.*//" -e "s/.*=[ ]*//"` if [ -z $PASSFILE ]; then mail -s "John cronjob is not configured yet!" root <