Skip to content

Instantly share code, notes, and snippets.

@teamextension
teamextension / tripwire-setup.sh
Last active March 25, 2018 09:32
Tripwire Setup
cd /etc/tripwire/
# setup
tripwire-setup-keyfiles
tripwire --init
# remove 404s
tripwire --check | grep Filename | sed 's/ Filename: \(.*\)/\1/' > twpol.sh
sed -i 's/\//\\\//g' twpol.sh
sed -i 's/\./\\\./g' twpol.sh
Dim $urlString = "http://ping.pushmon.com/ping/5f6090d6-714f-4f47-bc7a-5f878996ef57";
InetGet($urlString, "~ping.tmp")
If @error <> 0 Then
; log error
EndIf