Jump to content

Recommended Posts

My sites been hacked a good few times and I think I've finally patched up all the vulnerabilities. I have the whole site backed up so losing datas not a problem. What I'm wondering though is what kind of files might hackers hide in the servers files and how would I find them? What should I do to make sure theres no malicious files or changes left by hackers? I mean in the webservers files. I'm not familiar with managing servers I never touch anything thats not in the WWW folder.

 

 

Link to comment
https://forums.phpfreaks.com/topic/164055-what-to-do-when-your-sites-been-hacked/
Share on other sites

If you have directories like this that broswers dont need to enter:

 

/includes/

/js/

/images/

 

etc...

 

Boot the browser off with htaccess, redirect them to the root account.

 

Your index.php page is the main target for hacking. Youll sometime see it with 777 permissions, if you dont update this page - chmod it to 444.

 

Rember htaccess is you best friend  for fooling hackers as to what directory structure youve got by useing urlrewrite, its easier for them to go to a less confusing site - unless your worth hacking of course

 

Use remote address to check the ip for admin panels so only allowing your ip into the admin panel

 

My advice:

 

-Scan your site with http://phpantivirus.sourceforge.net/

-If your using a public/retail script use google to see if theirs any exploits and then patch them.

-Set directories to suitable permissions.

-Install a firewall?.

-Manipulate the use of .htaccess.

 

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.