Categories

Updated: 06/09/2005

Spot Hackers

Find the most common way of hacking and be notified by email/pager around the clock. Most hackers use /tmp to hack linux servers by writing some file in /tmp directory and call it remotely to play around in your server. If you are offering shared-hosting or web hosting services on your server, then you are making this much easier for hackers to find access to your /tmp directory. There are many ways of closing or limiting their access to this directory such as running PHP with suEXEC Support. I assume you already know all of those and you have a very secure /tmp directory. However, often hackers find newer ways of accessing this directory. Therefore, it is necessary to check this directory often to make sure nothing is going on without you knowing it. Following script was written to check /tmp directory or any other directory and notify the admin if any un-authorized file exists. To keep this example simple, we are looking into each file and look for different keywords such as &"perl&". Keep in mind that this script can only detect files with source, not executables. This is still very useful as most hackers use wget method to write something into this directory. You could setup a cron-job to run this every few minutes and have it email you as soon as it finds something. Script will also create a log file of what it finds.
Similar Scripts for "Spot Hackers"

NUKE HOSTING (Web Host Automation Module for Php Nuke)

You now have ability to automate web hosting right from your php nuke website. This script focuses mainly on your admin area so no one has access to your cPanel login information. You now have the ability to create sub domains, ftp accounts, mysql da...

PHP HTTP LOG

If your web hosting have no access to Apache or IIS http logs, this PHP HTTP LOG is just an idea for you. PHP HTTP LOG is php script that can log your site visit stats in NCSA extended/combined log format, same as Apache http log format. Logs can be ...

eZ Publish Hosting with true Root Access

Why settle for a glorified static page editor instead of the world''s best open source content management system? Enjoy built in support for web services like SOAP, out of the box support for the latest XHTML web standards, the ability to run u...

ezDatabase

A web based program for creating online databases, written in PHP and MySQL. An Admin CP allows you to create databases, fields, categories, users, user groups and customize your databases using powerful templates && settings. Visitors can ac...

ezDatabase

A web based program for creating online databases, written in PHP and MySQL. An Admin CP allows you to create databases, fields, categories, users, user groups and customize your databases using powerful templates && settings. Visitors can ac...
©2003-2008 jCay.com