Jump to content

Recommended Posts

Hi,

 

Im not sure if this is the correct forum for this post but here i go...

 

I keep getting my site hacked by http://jamaycka.net.tc/, i run cPanel 11.4.19-CURRENT 14378, and Apache 1.3.37 (Unix). How the hell can i stop this? is there certain dir permissions?

 

Please help!!

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/56839-solved-my-site-keeps-getting-hacked/
Share on other sites

Ah! - shared hosting!!

 

Are there other websites also compromised on this shared server?? It might not be your fault.

 

Is your website dynamic? i.e. datadriven from a database?

 

Do you have **any** passwords saved in ANY files on the webserver???

 

Do you have weblogs? Do they show the attacker coming via the website? or are they accessing and changing the files via the filesystem and server?

 

I suggest you contact your webhosting provider as they may be able to assist in blocking these attacks.

 

-steve

One more loophole that sometimes exists is the file permissions, cant remmember but once a person asked me the same question....

He even told that his file permissions were 777. This is the most insecure file permission. I recommend you check you file permissions. All of them should be set to 644 or 744.

IF other sites are also compromised,then contact your hosting provider

All u r Programing Files.. should not have 777 permission...........

 

Also U r important files should be In the folder called "PRIVATE" 

 

So that files will not be accessed from doc_root folder..........

 

 

Also Keep the .htacess file in Each directory with some specification

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.