The net's largest PHP, CGI, Perl, JavaScript and ASP script collection and resource web portal
  New Listings
New Listings
Most Popular
Most Popular
Top Rated
Top Rated
Discussion
Discussion
Link to Us!
Link To Us
Search For:         
   
 
Categories

Ajax
ASP
ASP.NET
C and C++
CFML
CGI and Perl
Flash
Java
JavaScript
PHP
Python
Remotely Hosted
Ruby on Rails
Tools and Utilities
Web Hosting
XML

Sponsor Links



Home :: CGI and Perl :: Scripts and Programs :: Security Systems Notes 

Spot Hackers Hits: 939


Description:
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.


 Resource Specification
Platform(s): linux
Date Added: Jun 9, 2005
Last Updated: Jun 9, 2005
Author: Mohammad Ranji


 Share


 License Information
License # 1:
  License Type: Freeware Price: Free
License # 2:
  License Type: Freeware Price: Free


Average Visitor Rating:     5.00 (out of 5)
Number of Ratings: 2 Votes

  Visitor ratings breakdown by period
  Last 7 Days 0 0 0 0 0 0.00
  Last Month 0 0 0 0 0 0.00
  Last Year 0 0 0 0 0 0.00
  Overall 0 0 0 0 2 5.00
  1 2 3 4 5 AVG
  Visitor Rating Totals
1 2 3 4 5


  Visitor Voting Booth

Average Member Rating: Not yet reviewed by any member....

You can be the FIRST one to write a review for Spot Hackers.

 Other Links by This Member






 

Register | FAQ/Support | Contact Us | About Us | Getting Rated | Link to Us | Bookmark Us | Advertising Info | Terms of Use | Privacy Policy
Copyright © 2008 iNET Interactive. All rights reserved.
Other iNET Interactive Sites:
Web Hosting Talk | dBForums | Mac Forums | Hosting Catalog