Code Monkey home page Code Monkey logo

webmonitor's Introduction

webmonitor

Web Monitor

Version 2.00

PURPOSE

The purpose of this document is to describe the web site monitoring software used by Ramblers-Webs. The software is used to try and spot if a web site has been hacked. It does this my checking and reporting what files have been changed. The owner of the site and the Ramblers-Webs administrators can then review these changes to see if any of them are suspect.

HACKING

Unfortunately there are people who will try and hack a web site. Some of these people just do it as a challenge and will not cause any damage. Others however will cause damage and will affect how a web site works, these often will redirect users to another site.

There are also cases where people high-jack sites and use them to spread viruses or send emails. These often leave the site looking and working as normal.

WEBMONITOR

This software consists of one Mysql database and some php files

The hashscan.php file contains the code that is run to check the site.

INSALLATION

To install the software do the following

  1. Set up a new mysql database

  2. Create a new folder called monitor (normally at the same level as the public_html folder)

  3. Copy the php files into the new monitor folder

  4. Copy the config_master.php and save it as config.php. Edit the config.php file to have the correct web site details

  5. Try running the hashscan.php (this will normally require using the ip address of your site)

  6. If the above is successful then

    1. Move the monitor folder to the same level as the public html folder so it is not accesable to the public
    2. set up a cron/scheduled task to run ever day in the early hours of the morning. E;g; /usr/bin/php5 /home/sites/ramblers-webs.org.uk/monitor/hashscan.php or /usr/bin/php55 /home/sites/ramblers-webs.org.uk/monitor/hashscan.php

EMAILS

the system will send an email to the specified email address if it detects any changes. If there have been no changes and the time limit set in the config file by $emailinterval has elapsed then it will also send an email. This allows as to know that it is still running each night but not detecting any changes.

Description of config.php values

a description of these fields is contained in the config.php file.

webmonitor's People

Contributors

chriswaterside avatar ramblerswebs avatar

Watchers

James Cloos avatar Thierry BOULOGNE avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.