2017 © Pedro Peláez
 

library webshell-detector

Webshell detector

image

cylab-be/webshell-detector

Webshell detector

  • Friday, July 27, 2018
  • by tdebatty
  • Repository
  • 3 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 3 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

webshell-detector

pipeline status Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Developement now taks place at https://gitlab.cylab.be/cylab/webshell-detector, (*2)

Installation and usage

The webshell detector can be integrated as a composer library to your project, or you can run it from the command line., (*3)

As a library

composer require cylab-be/webshell-detector, (*4)

require_once "vendor/autoload.php";

use RUCD\WebshellDetector\Detector;

$detector = new Detector();
echo $detector->analyzeFile("strange_file.php");

From the command line

Download the runnable PHAR from the Releases pages., (*5)

To run:, (*6)

webshell-detector.phar analyze:directory /path/to/directory

, (*7)

You can modify the "sensitivity" of the detector, by modifying the threshold for displaying files. This will display the suspiciousness score of every files:, (*8)

webshell-detector.phar analyze:directory -t 0.0 /path/to/directory

The default threshold used by the tool is 0.4, (*9)

The Versions