PHP Classes

File: docs/docs/

Recommend this page to a friend!
  Classes of Marco Cesarato   PHP Malware Scanner Free Tool   docs/docs/   Download  
File: docs/docs/
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: PHP Malware Scanner Free Tool
Scan PHP files to find malicious code
Author: By
Last change:
Date: 2 years ago
Size: 2,303 bytes


Class file image Download

sidebar_position: 3



You can use one of this method to install the scanner downloading it from github or directly from console.

Download from browser

Go on GitHub page and press on Releases tab or download from here

Download from console

  1. Run this command from console (scanner will be download on your current directory):

    wget --no-check-certificate
  2. Run the scanner:

    php scanner ./dir-to-scan -l ...
  3. <span class="optional">Optional</span> Install as bin command (Unix Bash)

    Run this command:

     wget --no-check-certificate -O /usr/bin/awscan.phar && \
     printf "#!/bin/bash\nphp /usr/bin/awscan.phar \$@" > /usr/bin/awscan && \
     chmod u+x,g+x /usr/bin/awscan.phar && \
     chmod u+x,g+x /usr/bin/awscan && \
     export PATH=$PATH":/usr/bin"

    Now you can run the scanner simply with this command:

    awscan ./dir-to-scan -l # ...



Click on GitHub page "Clone or download" or download from here


  1. Install composer (if not installed)
  2. Install the library using composer:

    composer require marcocesarato/amwscan
  3. Go on `vendor/marcocesarato/amwscan/` to have the source


  1. Install git
  2. Copy the command and link from below in your terminal:

    git clone
  3. Change directories to the new `~/PHP-Antimalware-Scanner` directory:

    cd ~/PHP-Antimalware-Scanner/
  4. To ensure that your master branch is up-to-date, use the pull command:

    git pull


  1. Download the source
  2. Build command

    docker build --tag amwscan-docker .
  3. Run command

    docker run -it --rm amwscan-docker bash