Skip to content

Commit

Permalink
chore: add silent mode and improved whitelist, now can be run without…
Browse files Browse the repository at this point in the history
… cli
  • Loading branch information
marcocesarato committed Oct 4, 2020
1 parent d158159 commit 6dbdf90
Show file tree
Hide file tree
Showing 15 changed files with 244 additions and 191 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
eol=lf
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# AMWSCAN - PHP Antimalware Scanner

**Version:** 0.5.0.71 beta
**Version:** 0.5.1.72 beta

**Github:** https://github.com/marcocesarato/PHP-Antimalware-Scanner

Expand Down Expand Up @@ -79,7 +79,7 @@ For compile `/src/` folder to single file `/dist/scanner` you need to do this:

## Test

For test detection of malwares you can try detect they from this collection:
For test detection of malware you can try detect they from this collection:

https://github.com/marcocesarato/PHP-Malware-Collection

Expand Down Expand Up @@ -160,6 +160,8 @@ Flags:
--list-exploits - Get default exploits list
--list-functions - Get default functions lists
--silent - No output and prompt
Notes:
For open files with nano or vim run the scripts with "-d disable_functions=''"
Expand Down
Empty file modified bin/build
100755 → 100644
Empty file.
Empty file modified bin/composer
100755 → 100644
Empty file.
Empty file modified bin/fix-cs
100755 → 100644
Empty file.
Empty file modified bin/fix-cs-all
100755 → 100644
Empty file.
Empty file modified bin/lint
100755 → 100644
Empty file.
Empty file modified bin/pre-commit
100755 → 100644
Empty file.
Empty file modified bin/run
100755 → 100644
Empty file.
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
"process-timeout": 0,
"sort-packages": true
},
"autoload": {
"psr-4": {
"marcocesarato\\amwscan\\": "src"
}
},
"extra": {
"hooks": {
"pre-commit": [
Expand Down
Binary file modified dist/scanner
Binary file not shown.
Loading

0 comments on commit 6dbdf90

Please sign in to comment.