show all logs in php it can be dangerous , the logs and errors not suppose to show to simple people so use it in right way add these at top of your php file.
delete all iptables rules and chains these commands will delete all chains and rules inside them completly. take a backup with : if you are not sure about what you tryin to do.
default route in linux replace your router or gateway ip instead 10.0.0.11 then your default route (0.0.0.0) will forward to your gateway
delete all .log files you can replace your target directory instead “.” (dot) after “find” on the line , otherwise its use current directory to find and delete
Delete error_log files from all cpanel users its not recomended at all but if u sure what you are goin to do , you can use it find /home/*/public_html -type f -name “error_log” -delete
reset & update all dns zones/records in whm for i in $(cat /etc/trueuserdomains | cut -d: -f1); do whmapi1 resetzone domain=$i; done run this command in ssh/terminal to update all accounts/users records and zones.useful when your server ip/nameservers changed