Skip to content
WJunction - Webmaster Forum

How to protect from C99 Shell ?

Status
Not open for further replies.

8 comments

as far as i know denying remote inclusion can help you with this, also update your software or use disable_functions = shell() , exec() in the php.ini
 
There isn't a simple way to completely stop PHP shells.

Most of the functions you disable are only part of the collection of system-related calls.
Additionally, even if disabling the functions does 'stop' it, you're doing something to PHP you shouldn't be.

Many scripts make use of functions such as eval and exec, disabling them would break them.

The best way to protect yourself from these 'shells' is to not get them in the first place.
 
I am not using those functions, not even one. If my script is stolen using a shell, my business is over.

And the shell would be uploaded by the person who owns that account.
 
I am not using those functions, not even one. If my script is stolen using a shell, my business is over.

And the shell would be uploaded by the person who owns that account.
Not really know - if your website/script is vuln then anybody can get into yoru system by uploading a shell.

A good way of ensuring your secure on your website/forum etc is to ensure that it is ALWAYS upto date, secure passwords for everything (Not all the same!), Use trusted plugins etc.
 
I want to create a small shared hosting on a VPS. Every client will get the same PHP applications, but over the ftp he can only change the template. The application is built under CodeIgniter using MVC Structure. Controllers and models are stored somewhere in the system. I am choosing this method, instead of encoding files with zend/ioncube, because they can be decoded and my work is lost.

This is why I don't want to have a client which will upload the shell and steal my scripts.
 
I got a common PHP shells(like c99, r57 etc) completely blocked on my servers. If you setup/configure/secure the server well, PHP shells can't do much harm anyway.
 
Status
Not open for further replies.

About the author

M
Active Member · Joined
185
Messages
1
Reactions
18
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom