PHP Virus Scanner
========================

This is a console tool for scanning files for virus signatures.

Usage
-----------------
For correct signature interpretation, use only single quotes in command line.
If signature contains single code itself, escape it in such way: `'\''`

This will output `*.php` files containing code `eval($_POST['a'])`:
```bash
php phpvs scan /path/to/dir 'eval($_POST['\''a'\''])'
```

This will delete all `*.php` files containing code `eval(base64_decode($abc))`:
```bash
php phpvs scan /path/to/dir 'eval(base64_decode($abc))' --delete
```
PHP Virus Scanner
========================
[![Latest Stable Version](https://poser.pugx.org/maxakawizard/php-virus-scanner/v/stable.svg)](https://packagist.org/packages/maxakawizard/php-virus-scanner) 
[![Total Downloads](https://poser.pugx.org/maxakawizard/php-virus-scanner/downloads.svg)](https://packagist.org/packages/maxakawizard/php-virus-scanner) 
[![Latest Unstable Version](https://poser.pugx.org/maxakawizard/php-virus-scanner/v/unstable.svg)](https://packagist.org/packages/maxakawizard/php-virus-scanner) 
[![License](https://poser.pugx.org/maxakawizard/php-virus-scanner/license.svg)](https://packagist.org/packages/maxakawizard/php-virus-scanner)

This is a console tool for scanning files for virus signatures.

Usage
-----------------
For correct signature interpretation, use only single quotes in command line.
If signature contains single code itself, escape it in such way: `'\''`

This will output `*.php` files containing code `eval($_POST['a'])`:
```bash
php phpvs scan /path/to/dir 'eval($_POST['\''a'\''])'
```

This will delete all `*.php` files containing code `eval(base64_decode($abc))`:
```bash
php phpvs scan /path/to/dir 'eval(base64_decode($abc))' --delete
```
Update readme - add badges
Update readme - add badges
