/opt/dedrads/extras
NameSizeModeActions
__pycache__/-0555rm
apache-top.py139480555editdlrm
bwshapectl.sh41500555editdlrm
cms_signatures.yaml158370555editdlrm
column-list56640555editdlrm
defacement_fixer31220555editdlrm
defacement_scan68620555editdlrm
killroundcube2680555editdlrm
locatecore6280555editdlrm
makepasswd167040555editdlrm
pingcheck.sh6420555editdlrm
say62790555editdlrm
secureperms.sh22410555editdlrm
seohackscanner65650555editdlrm
seosanitizer.sh80890555editdlrm
set_modsec.sh50190555editdlrm
zsu181710555editdlrm
Edit: /opt/dedrads/extras/pingcheck.sh (642B)
#!/bin/bash PINGTIME="0.9" if [ -z $1 ]; then echo "you must provide a server to check" exit; fi if [ ! -z $2 ]; then PINGTIME=$2 fi; if (echo $@|grep "\-v"); then echo "$@" echo "PINGTIME IS $PINGTIME" echo "HOST IS $1" fi echo "Starting ping test - pinging $1 every $PINGTIME seconds for 100 packets, please be patient..." echo "You should be running traceroutes from machine A -> machine B and from machine B -> Machine A " echo "to look for routing issues right now too." while [ 1 -eq 1 ]; do echo $(date) - $(hostname) - $1 - $(ping -c100 -i $PINGTIME $1 | grep loss) | tee -a $1.pinglog.$(date --iso) done