PHP Classes
elePHPant
Icontem

File: src/index.php

Recommend this page to a friend!
  Classes of Marco Cesarato  >  PHP Malware Scanner Free Tool  >  src/index.php  >  Download  
File: src/index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Malware Scanner Free Tool
Scan PHP files to find malicious code
Author: By
Last change: fix: directory with phar host prefix issue

Fix directory with phar host prefix issue
Update Copyright year
Updated bin files permissions
New version 0.5.0.70

Closes 4
Date: 26 days ago
Size: 589 bytes
 

 

Contents

Class file image Download
<?php

namespace marcocesarato\amwscan;

include
'./Argument.php';
include
'./Argv.php';
include
'./Console.php';
include
'./CSV.php';
include
'./Definitions.php';
include
'./Flag.php';
include
'./Deobfuscator.php';
include
'./Application.php';

$isCLI = (php_sapi_name() === 'cli');
if (!
$isCLI) {
    die(
'This file must run from a console session.');
}

// Settings
ini_set('memory_limit', '1G');
ini_set('xdebug.max_nesting_level', 500);
ob_implicit_flush(false);
set_time_limit(-1);

// Errors
error_reporting(0);
ini_set('display_errors', 0);

$app = new Application();
$app->run();