@@ -169,60 +169,61 @@ Arguments:
169
169
170
170
Flags:
171
171
172
- --auto-clean - Auto clean code (without confirmation, use with caution)
173
- --auto-clean-line - Auto clean line code (without confirmation, use with caution)
174
- --auto-delete - Auto delete infected (without confirmation, use with caution)
175
- --auto-prompt <prompt> - Set auto prompt command .
176
- ex. --auto-prompt="delete" or --auto-prompt="1" (alias of auto-delete)
177
- --auto-quarantine - Auto quarantine
178
- --auto-skip - Auto skip
179
- --auto-whitelist - Auto whitelist (if you sure that source isn' t compromised)
180
- --backup| -b - Make a backup of every touched files
181
- --defs - Get default definitions exploit and functions list
182
- --defs-exploits - Get default definitions exploits list
183
- --defs-functions - Get default definitions functions lists
184
- --defs-functions-encoded - Get default definitions functions encoded lists
185
- --disable-cache| --no-cache - Disable Cache
186
- --disable-colors| --no-colors| --no-color - Disable CLI colors
187
- --disable-report| --no-report - Disable Report
188
- --exploits < exploits> - Filter exploits
189
- --filter-paths| --filter-path < paths> - Filter path/s, for multiple value separate with comma.
190
- Wildcards are enabled ex. /path/* /htdocs or /path/* .php
191
- --functions < functions> - Define functions to search
192
- --help| -h| -? - Check only functions and not the exploits
193
- --ignore-paths| --ignore-path < paths> - Ignore path/s, for multiple value separate with comma.
194
- Wildcards are enabled ex. /path/* /cache or /path/* .log
195
- --limit < limit> - Set file mapping limit
196
- --lite| -l - Running on lite mode help to have less false positive on WordPress and others
197
- platforms enabling exploits mode and removing some common exploit pattern
198
- --log < path> - Write a log file on the specified file path
199
- [default: ./scanner.log]
200
- --max-filesize < filesize> - Set max filesize to scan
201
- [default: -1]
202
- --offset < offset> - Set file mapping offset
203
- --only-exploits| -e - Check only exploits and not the functions
204
- --only-functions| -f - Check only functions and not the exploits
205
- --only-signatures| -s - Check only functions and not the exploits.
206
- This is recommended for WordPress or others platforms
207
- --path-backups < path> - Set backups path directory.
208
- Is recommended put files outside the public document path
209
- [default: /scanner-backups/]
210
- --path-logs < path> - Set quarantine log file
211
- [default: ./scanner.log]
212
- --path-quarantine < path> - Set quarantine path directory.
213
- Is recommended put files outside the public document path
214
- [default: ./scanner-quarantine/]
215
- --path-report < path> - Set report log file
216
- [default: ./scanner-report.html]
217
- --path-whitelist < path> - Set whitelist file
218
- [default: ./scanner-whitelist.json]
219
- --report-format < format> - Report format (html| txt)
220
- --report| -r - Report scan only mode without check and remove malware (like --auto-skip).
221
- It also write a report with all malware paths found
222
- --silent - No output and prompt
223
- --update| -u - Update to last version
224
- --version| -v - Get version number
225
- --whitelist-only-path - Check on whitelist only file path and not line number
172
+ --auto-clean - Auto clean code (without confirmation, use with caution)
173
+ --auto-clean-line - Auto clean line code (without confirmation, use with caution)
174
+ --auto-delete - Auto delete infected (without confirmation, use with caution)
175
+ --auto-prompt <prompt> - Set auto prompt command .
176
+ ex. --auto-prompt="delete" or --auto-prompt="1" (alias of auto-delete)
177
+ --auto-quarantine - Auto quarantine
178
+ --auto-skip - Auto skip
179
+ --auto-whitelist - Auto whitelist (if you sure that source isn' t compromised)
180
+ --backup| -b - Make a backup of every touched files
181
+ --defs - Get default definitions exploit and functions list
182
+ --defs-exploits - Get default definitions exploits list
183
+ --defs-functions - Get default definitions functions lists
184
+ --defs-functions-encoded - Get default definitions functions encoded lists
185
+ --disable-cache| --no-cache - Disable Cache
186
+ --disable-checksum| --no-checksum| --no-verify - Disable checksum verifying for platforms/framerwoks
187
+ --disable-colors| --no-colors| --no-color - Disable CLI colors
188
+ --disable-report| --no-report - Disable report generation
189
+ --exploits < exploits> - Filter exploits
190
+ --filter-paths| --filter-path < paths> - Filter path/s, for multiple value separate with comma.
191
+ Wildcards are enabled ex. /path/* /htdocs or /path/* .php
192
+ --functions < functions> - Define functions to search
193
+ --help| -h| -? - Check only functions and not the exploits
194
+ --ignore-paths| --ignore-path < paths> - Ignore path/s, for multiple value separate with comma.
195
+ Wildcards are enabled ex. /path/* /cache or /path/* .log
196
+ --limit < limit> - Set file mapping limit
197
+ --lite| -l - Running on lite mode help to have less false positive on WordPress and others
198
+ platforms enabling exploits mode and removing some common exploit pattern
199
+ --log < path> - Write a log file on the specified file path
200
+ [default: ./scanner.log]
201
+ --max-filesize < filesize> - Set max filesize to scan
202
+ [default: -1]
203
+ --offset < offset> - Set file mapping offset
204
+ --only-exploits| -e - Check only exploits and not the functions
205
+ --only-functions| -f - Check only functions and not the exploits
206
+ --only-signatures| -s - Check only functions and not the exploits.
207
+ This is recommended for WordPress or others platforms
208
+ --path-backups < path> - Set backups path directory.
209
+ Is recommended put files outside the public document path
210
+ [default: /scanner-backups/]
211
+ --path-logs < path> - Set quarantine log file
212
+ [default: ./scanner.log]
213
+ --path-quarantine < path> - Set quarantine path directory.
214
+ Is recommended put files outside the public document path
215
+ [default: ./scanner-quarantine/]
216
+ --path-report < path> - Set report log file
217
+ [default: ./scanner-report.html]
218
+ --path-whitelist < path> - Set whitelist file
219
+ [default: ./scanner-whitelist.json]
220
+ --report-format < format> - Report format (html| txt)
221
+ --report| -r - Report scan only mode without check and remove malware (like --auto-skip).
222
+ It also write a report with all malware paths found
223
+ --silent - No output and prompt
224
+ --update| -u - Update to last version
225
+ --version| -v - Get version number
226
+ --whitelist-only-path - Check on whitelist only file path and not line number
226
227
227
228
Usage: amwscan [--lite| -a] [--help| -h| -? ] [--log| -l < path> ] [--backup| -b] [--offset
228
229
< offset> ] [--limit < limit> ] [--report| -r] [--report-format < format> ]
0 commit comments