This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Adds an IP to Cloudflare IP block list | |
# Path: /var/ossec/active-response/bin/cloudflare-ban.sh | |
# | |
ACTION=$1 | |
USER=$2 | |
IP=$3 | |
PWD=`pwd` | |
TKN='CF API KEY' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Adds an IP to Cloudflare IP block list | |
# Path: /var/ossec/active-response/bin/cloudflare-ban.sh | |
# | |
ACTION=$1 | |
USER=$2 | |
IP=$3 | |
PWD=`pwd` | |
TKN='CF API KEY' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
me=`basename $0` | |
exec 1> /tmp/$me 2>&1 | |
BDIR="/mnt/data/backup" | |
mv $BDIR/pi-dos.bin.gz $BDIR/pi-dos.bin.gz.1 -f | |
mv $BDIR/pi-ext4.bin.gz $BDIR/pi-ext4.bin.gz.1 -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
me=`basename $0` | |
exec 1> /tmp/$me 2>&1 | |
BDIR="/mnt/data/backup" | |
mv $BDIR/pi-dos.bin.gz $BDIR/pi-dos.bin.gz.1 -f | |
mv $BDIR/pi-ext4.bin.gz $BDIR/pi-ext4.bin.gz.1 -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
me=`basename $0` | |
exec 1> /tmp/$me 2>&1 | |
BDIR="/mnt/data/backup" | |
mv $BDIR/pi-dos.bin.gz $BDIR/pi-dos.bin.gz.1 -f | |
mv $BDIR/pi-ext4.bin.gz $BDIR/pi-ext4.bin.gz.1 -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
me=`basename $0` | |
exec 1> /tmp/$me 2>&1 | |
BDIR="/mnt/data/backup" | |
mv $BDIR/pi-dos.bin.gz $BDIR/pi-dos.bin.gz.1 -f | |
mv $BDIR/pi-ext4.bin.gz $BDIR/pi-ext4.bin.gz.1 -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
me=`basename $0` | |
exec 1> /tmp/$me 2>&1 | |
BDIR="/mnt/data/backup" | |
mv $BDIR/pi-dos.bin.gz $BDIR/pi-dos.bin.gz.1 -f | |
mv $BDIR/pi-ext4.bin.gz $BDIR/pi-ext4.bin.gz.1 -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
me=`basename $0` | |
exec 1> /tmp/$me 2>&1 | |
BDIR="/mnt/data/backup" | |
mv $BDIR/pi-dos.bin.gz $BDIR/pi-dos.bin.gz.1 -f | |
mv $BDIR/pi-ext4.bin.gz $BDIR/pi-ext4.bin.gz.1 -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
me=`basename $0` | |
exec 1> /tmp/$me 2>&1 | |
BDIR="/mnt/data/backup" | |
mv $BDIR/pi-dos.bin.gz $BDIR/pi-dos.bin.gz.1 -f | |
mv $BDIR/pi-ext4.bin.gz $BDIR/pi-ext4.bin.gz.1 -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
me=`basename $0` | |
exec 1> /tmp/$me 2>&1 | |
BDIR="/mnt/data/backup" | |
mv $BDIR/pi-dos.bin.gz $BDIR/pi-dos.bin.gz.1 -f | |
mv $BDIR/pi-ext4.bin.gz $BDIR/pi-ext4.bin.gz.1 -f |
NewerOlder