Skip to content

Commit ac62337

Browse files
committed
chore(release): 0.8.2
1 parent e3525cb commit ac62337

File tree

5 files changed

+59
-36
lines changed

5 files changed

+59
-36
lines changed

CHANGELOG.md

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,25 @@
44
All notable changes to this project will be documented in this file.
55
<!--- END HEADER -->
66

7-
## [v0.8.1.241](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.8.1.236...vv0.8.1.241) (2021-01-17)
7+
## [0.8.2](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.8.1.241...v0.8.2) (2021-02-27)
8+
9+
10+
### Bug Fixes
11+
12+
* Silent mode and disable cache/checksum programmatically ([73cd76](https://github.com/marcocesarato/PHP-Antimalware-Scanner/commit/73cd76f59b0a5b418c614f4edcf4f9e1e1aa9fc5))
13+
* Update autoloader ([2b61fd](https://github.com/marcocesarato/PHP-Antimalware-Scanner/commit/2b61fda2cf6d4d9d4b6ed2f0c754e5d678e35586))
14+
15+
---
16+
17+
## [0.8.1.241](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.8.1.236...vv0.8.1.241) (2021-01-17)
818

919
### Bug Fixes
1020

1121
* Minified report template ([aca0cf](https://github.com/marcocesarato/PHP-Antimalware-Scanner/commit/aca0cff8cbb13dfbadc87990019ed63cae67f5cf))
1222

1323
---
1424

15-
## [v0.8.1.236](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.8.0.234...vv0.8.1.236) (2021-01-11)
25+
## [0.8.1.236](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.8.0.234...vv0.8.1.236) (2021-01-11)
1626

1727

1828
### Features
@@ -21,7 +31,7 @@ All notable changes to this project will be documented in this file.
2131

2232
---
2333

24-
## [v0.8.0.234](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.7.5.177...vv0.8.0.234) (2021-01-10)
34+
## [0.8.0.234](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.7.5.177...vv0.8.0.234) (2021-01-10)
2535

2636

2737
### Features
@@ -60,7 +70,7 @@ All notable changes to this project will be documented in this file.
6070

6171
---
6272

63-
## [v0.7.5.177](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.7.4.147...vv0.7.5.177) (2020-12-31)
73+
## [0.7.5.177](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.7.4.147...vv0.7.5.177) (2020-12-31)
6474

6575

6676
### Features
@@ -87,7 +97,7 @@ All notable changes to this project will be documented in this file.
8797

8898
---
8999

90-
## [v0.7.4.147](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.7.3.133...vv0.7.4.147) (2020-12-27)
100+
## [0.7.4.147](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.7.3.133...vv0.7.4.147) (2020-12-27)
91101

92102

93103
### Features
@@ -102,7 +112,7 @@ All notable changes to this project will be documented in this file.
102112

103113
---
104114

105-
## [v0.7.3.133](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.7.2.125...vv0.7.3.133) (2020-12-24)
115+
## [0.7.3.133](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.7.2.125...vv0.7.3.133) (2020-12-24)
106116

107117

108118
### Features
@@ -117,7 +127,7 @@ All notable changes to this project will be documented in this file.
117127

118128
---
119129

120-
## [v0.7.2.125](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.7.2.123...vv0.7.2.125) (2020-10-25)
130+
## [0.7.2.125](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.7.2.123...vv0.7.2.125) (2020-10-25)
121131

122132

123133
### Bug Fixes
@@ -126,7 +136,7 @@ All notable changes to this project will be documented in this file.
126136

127137
---
128138

129-
## [v0.7.2.123](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.7.1.113...vv0.7.2.123) (2020-10-25)
139+
## [0.7.2.123](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.7.1.113...vv0.7.2.123) (2020-10-25)
130140

131141

132142
### Features
@@ -142,7 +152,7 @@ All notable changes to this project will be documented in this file.
142152

143153
---
144154

145-
## [v0.7.1.113](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.7.0.110...vv0.7.1.113) (2020-10-24)
155+
## [0.7.1.113](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.7.0.110...vv0.7.1.113) (2020-10-24)
146156

147157

148158
### Features
@@ -151,7 +161,7 @@ All notable changes to this project will be documented in this file.
151161

152162
---
153163

154-
## [v0.7.0.110](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.6.0.109...vv0.7.0.110) (2020-10-24)
164+
## [0.7.0.110](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.6.0.109...vv0.7.0.110) (2020-10-24)
155165

156166

157167
### Features
@@ -166,7 +176,7 @@ All notable changes to this project will be documented in this file.
166176

167177
---
168178

169-
## [v0.6.0.109](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.6.0.107...vv0.6.0.109) (2020-10-08)
179+
## [0.6.0.109](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.6.0.107...vv0.6.0.109) (2020-10-08)
170180

171181

172182
### Features
@@ -175,7 +185,7 @@ All notable changes to this project will be documented in this file.
175185

176186
---
177187

178-
## [v0.6.0.107](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.5.3.93...vv0.6.0.107) (2020-10-07)
188+
## [0.6.0.107](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.5.3.93...vv0.6.0.107) (2020-10-07)
179189

180190

181191
### Features
@@ -192,7 +202,7 @@ All notable changes to this project will be documented in this file.
192202

193203
---
194204

195-
## [v0.5.3.93](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.5.2.75...vv0.5.3.93) (2020-10-06)
205+
## [0.5.3.93](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.5.2.75...vv0.5.3.93) (2020-10-06)
196206

197207

198208
### Features
@@ -202,7 +212,7 @@ All notable changes to this project will be documented in this file.
202212

203213
---
204214

205-
## [v0.5.2.75](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.5.1.72...vv0.5.2.75) (2020-10-05)
215+
## [0.5.2.75](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/v0.5.1.72...vv0.5.2.75) (2020-10-05)
206216

207217

208218
### Features
@@ -212,7 +222,7 @@ All notable changes to this project will be documented in this file.
212222

213223
---
214224

215-
## [v0.5.1.72](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/0.5.0.71...vv0.5.1.72) (2020-10-05)
225+
## [0.5.1.72](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/0.5.0.71...vv0.5.1.72) (2020-10-05)
216226

217227

218228
---
@@ -239,7 +249,7 @@ All notable changes to this project will be documented in this file.
239249

240250
---
241251

242-
## [v0.5.0.69](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/0.5.0.68...vv0.5.0.69) (2020-01-30)
252+
## [0.5.0.69](https://github.com/marcocesarato/PHP-Antimalware-Scanner/compare/0.5.0.68...vv0.5.0.69) (2020-01-30)
243253

244254

245255
### Features

README.md

Lines changed: 31 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<h1 align="center">PHP Antimalware Scanner</h1>
66

7-
![Version](https://img.shields.io/badge/version-0.8.1-brightgreen?style=for-the-badge)
7+
![Version](https://img.shields.io/badge/version-0.8.2-brightgreen?style=for-the-badge)
88
![Requirements](https://img.shields.io/badge/php-%3E%3D%205.5-4F5D95?style=for-the-badge)
99
![Code Style](https://img.shields.io/badge/code%20style-PSR-blue?style=for-the-badge)
1010
![License](https://img.shields.io/github/license/marcocesarato/PHP-Antimalware-Scanner?style=for-the-badge)
@@ -18,20 +18,27 @@
1818

1919
PHP Antimalware Scanner is a free tool to scan PHP files and analyze your project to find any malicious code inside it.
2020

21-
It provides an interactive text terminal console interface to scan a file, or all files in a given directory (file paths can be also be managed using `--filter-paths` or `--ignore-paths`), and find PHP code files that seem contain malicious code.
22-
When a probable malware is detected, will be asked what action to take (like add to whitelist, delete files, try clean infected code etc...).
21+
It provides an interactive text terminal console interface to scan a file, or all files in a given directory (file paths
22+
can be also be managed using `--filter-paths` or `--ignore-paths`), and find PHP code files that seem contain malicious
23+
code. When a probable malware is detected, will be asked what action to take (like add to whitelist, delete files, try
24+
clean infected code etc...).
2325

24-
The package can also scan the PHP files in a report mode (`--report|-r`), so without interact and outputting anything to the terminal console. In that case the results will stored in a report file in html (default) or txt format (`--report-format <format>`).
26+
The package can also scan the PHP files in a report mode (`--report|-r`), so without interact and outputting anything to
27+
the terminal console. In that case the results will stored in a report file in html (default) or txt
28+
format (`--report-format <format>`).
2529

26-
This scanner can work on your own php projects and on a lot of others platform using the right combinations of configurations (ex. using `--lite|-l` flag can help to find less false positivity).
30+
This scanner can work on your own php projects and on a lot of others platform using the right combinations of
31+
configurations (ex. using `--lite|-l` flag can help to find less false positivity).
2732

28-
:warning: *Remember that you will be solely responsible for any damage to your computer system or loss of data that results from such activities.
29-
You are solely responsible for adequate protection and backup of the data before execute the scanner.*
33+
:warning: *Remember that you will be solely responsible for any damage to your computer system or loss of data that
34+
results from such activities. You are solely responsible for adequate protection and backup of the data before execute
35+
the scanner.*
3036

3137
### How to contribute
3238

33-
Have an idea? Found a bug? Please raise to [ISSUES](https://github.com/marcocesarato/PHP-Antimalware-Scanner/issues) or [PULL REQUEST](https://github.com/marcocesarato/PHP-Antimalware-Scanner/pulls).
34-
Contributions are welcome and are greatly appreciated! Every little bit helps.
39+
Have an idea? Found a bug? Please raise to [ISSUES](https://github.com/marcocesarato/PHP-Antimalware-Scanner/issues)
40+
or [PULL REQUEST](https://github.com/marcocesarato/PHP-Antimalware-Scanner/pulls). Contributions are welcome and are
41+
greatly appreciated! Every little bit helps.
3542

3643
## :blue_book: Requirements
3744

@@ -61,16 +68,16 @@ Go on GitHub page and press on Releases tab or download the raw file from:
6168

6269
3. *(Optional)* Install as bin command (Unix Bash)
6370

64-
Run this command:
65-
71+
Run this command:
72+
6673
```sh
6774
wget https://raw.githubusercontent.com/marcocesarato/PHP-Antimalware-Scanner/master/dist/scanner --no-check-certificate -O /usr/bin/awscan.phar && \
6875
printf "#!/bin/bash\nphp /usr/bin/awscan.phar \$@" > /usr/bin/awscan && \
6976
chmod u+x,g+x /usr/bin/awscan.phar && \
7077
chmod u+x,g+x /usr/bin/awscan && \
7178
export PATH=$PATH":/usr/bin"
7279
```
73-
80+
7481
Now you can run the scanner simply with this command: `awscan ./dir-to-scan -l...`
7582

7683
### Source
@@ -129,14 +136,17 @@ You could find some false positive during scanning. For this you can choice the
129136
| --------------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
130137
| None (`default`) | :red_circle: | Search for all functions, exploits and malware signs without any restrictions |
131138
| `--only-exploits` or `-e` | :orange_circle: | Search only for exploits definitions |
132-
| `--lite` or `-l` | :yellow_circle: | Search for exploits with some restrictions and malware signs *(on Wordpress and others platform could detect less false positivity)* |
133-
| `--only-functions` or `-f` | :yellow_circle: | Search only for functions *(on some obfuscated code functions couldn't be detected)* |
134-
| `--only-signatures` or `-s` | :green_circle: | Search only for malware signatures *(could be a good solution for Wordpress and others platform to detect less false positivity)* |
139+
| `--lite` or `-l` | :yellow_circle: | Search for exploits with some restrictions and malware signs *(on
140+
Wordpress and others platform could detect less false positivity)* |
141+
| `--only-functions` or `-f` | :yellow_circle: | Search only for functions *(on some obfuscated code functions
142+
couldn't be detected)* |
143+
| `--only-signatures` or `-s` | :green_circle: | Search only for malware signatures *(could be a good solution for
144+
Wordpress and others platform to detect less false positivity)* |
135145
136146
### Suggestions
137147
138-
If you are running the scanner on a Wordpress project or other popular platform use `--only-signatures` or `--lite` flag for have check with less false positive but
139-
this could miss some dangerous exploits like `nano`.
148+
If you are running the scanner on a Wordpress project or other popular platform use `--only-signatures` or `--lite` flag
149+
for have check with less false positive but this could miss some dangerous exploits like `nano`.
140150
141151
#### Examples:
142152
@@ -147,7 +157,8 @@ php -d disable_functions='' scanner -l
147157
148158
## Detection Options
149159
150-
When a malware is detected you will have the following choices (except when scanner is running in report mode `--report`):
160+
When a malware is detected you will have the following choices (except when scanner is running in report
161+
mode `--report`):
151162
152163
- Delete file [`--auto-delete`]
153164
- Move to quarantine `(move to ./scanner-quarantine)` [`--auto-quarantine`]
@@ -162,6 +173,7 @@ When a malware is detected you will have the following choices (except when scan
162173
## :computer: Usage
163174
164175
### Command line
176+
165177
```
166178
Arguments:
167179
@@ -290,4 +302,5 @@ object(stdClass) (7) {
290302
![Screen Report](images/screenshot_report.png)
291303

292304
### Interactive CLI
305+
293306
![Screen Full](images/screenshot_full.png)

dist/scanner

-8.02 KB
Binary file not shown.

dist/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.8.1
1+
0.8.2

src/Scanner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class Scanner
4848
*
4949
* @var string
5050
*/
51-
public static $version = '0.8.1';
51+
public static $version = '0.8.2';
5252

5353
/**
5454
* Root path.

0 commit comments

Comments
 (0)