Easy way to uninstall CSF from server
There is script in the csf directory for doing the same simply. You can uninstall the CSF firewall utility by running the ‘uninstall.sh’ script from command line.
Step I : Login to your server via SSH as root user.
Step II : Change the directory to ‘/etc/csf’
# cd /etc/csf
You can find out this file under the directory /etc/csf.
uninstall.sh -> /usr/local/csf/bin/uninstall.sh
Step III : Execute the following command.
# sh uninstall.sh Or # /usr/local/csf/bin/uninstall.sh