APF Lockdown Wizkid,Expert,Hacker needed

viooltje

Well-Known Member
Mar 14, 2004
60
0
156
Well now I've locked myself out of the box with APF!
I have kinda disabled all ports that's accesable like this:
deny_hosts.rules

#ftp
tcp:in:d=21:s=0/0
#ssh
tcp:in:d=22:s=0/0
#smtp
#tcp:in:d=25:s=0/0
.......
out:d=21:d=0/0
out:d=22:d=0/0
......


But I have WHM and CPANEL acces, there I can upload files and modify website files or change configuration of the webserver.

I need to find out how to stop APF from inside the WHM or cpanel.
Is this possible? I have looked for a few hours now it's not possible I think.

Now I try to upload an php or perl code and accesing the website to apf-f and remove the cronjob.
But does it work?

<?
system("apf -f");
exec('apf -f');
?>

This is not working?

Somebody here got any tips or tricks?
Thank allot for your time.
 

viooltje

Well-Known Member
Mar 14, 2004
60
0
156
I submitted both support tickets to the datacenter and cpanel.
Both can't acces evrythin glike me but whm.
cpanel support came with answer in seconds!!
that's master skillzz in my eye.

WHM Cpanel support is the best!
I got his and worked
flushes the iptables because APF is a iptable something.

https://serverip:port/scripts2/doautofixer?autofix=iptablesflush

thanks allot cpanel suppport team.

btw i'm the typo expert I think
 
Thread starter Similar threads Forum Replies Date
X Security 6
S Security 5
Tarak Nath Security 3
B Security 3
P Security 1