PHP Classes

File: Dip_Scan.php

Recommend this page to a friend!
  Classes of Ettore Moretti   DIP   Dip_Scan.php   Download  
File: Dip_Scan.php
Role: Example script
Content type: text/plain
Description: Application script
Class: DIP
Detect website deface by checking changed files
Author: By
Last change: Create Dip_Scan.php
Date: 2 years ago
Size: 432 bytes
 

Contents

Class file image Download
<?php
include_once 'cfg.php';
require_once
CORE_PATH.'Dip.class.php';
require_once
CORE_PATH.'Dip.action.class.php';


// Insert OUR PERSONAL SECRET KEY BEFORE LAUCH in "cfg.php" file,

$D = new DIP(PERSONAL_SECRET_KEY);
$Repo=$D->getResult();

if(
is_string($Repo)){
   
DipAction::_DO(0, $Repo);
}elseif (
is_array($Repo)){
   
DipAction::_DO(ERROR_ACTION, $Repo);
}

/*
 * Only for debug ;)
 * echo "<pre>";
    print_r($Repo);
 */