#!/bin/sh if [ "$EUID" -ne 0 ] then echo "Please run as root" exit fi # Delete user: userdel _tarpit # Delete binary: rm /usr/local/bin/sip-tarpit # Delete rc.d: rcctl disable sip_tarpit rm /etc/rc.d/sip_tarpit # Delete config file rm -rf /etc/sip-tarpit/ # Log directory rm -rf /var/log/sip_tarpit/