Code Monkey home page Code Monkey logo

php-malware-detector's Introduction

PHP malware detector

Build Status Version Downloads License

Smart PHP vulnerability detector

Web mode:

ollyxar php-malware-detector

Console mode:

chat

Using PHP malware detector

Requirements

  • PHP 5.4+

Install php-malware-detector via composer.

# Install Composer
curl -sS https://getcomposer.org/installer | php

Next, run the Composer command to install the latest stable version of php-malware-detector:

php composer.phar require ollyxar/php-malware-detector

After installing, you need to require Composer's autoloader and run scan:

require 'vendor/autoload.php';

(new Scanner())->run();

Using php-malware-detector in Web-mode:

Put scanner.php in the web-root directory on the web-server and open your website in the browser (like http://mywebsite.com/scanner.php)

Using php-malware-detector in Cron-mode:

You can schedule scanning process. To do that you have to add commend:

php /path_to/scanner.php > "log.txt"

Additional parameters for scanner:

// First parameter is a scan directory
// Second parameter is an array of file extensions to scan
(new Scanner('/var/some_other_direcrory_to_scan'), ['php', 'txt', 'php5'])->run();

php-malware-detector's People

Contributors

alexslipknot avatar peter279k avatar

Stargazers

John Musa avatar

Watchers

James Cloos 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.