Jump to content

[SOLVED] My site keeps getting hacked!


steviez

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.