Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

APF Lockdown Wizkid,Expert,Hacker needed

Discussion in 'General Discussion' started by viooltje, Jul 22, 2008.

  1. viooltje

    viooltje Well-Known Member

    Joined:
    Mar 14, 2004
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You might do best to contact your datacenter to see if they can help. Much safer than asking a forum of strangers. ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. viooltje

    viooltje Well-Known Member

    Joined:
    Mar 14, 2004
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    868
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice