Remediation
Wordfence CLI, as of version 3.0.1, comes with a new subcommand, wordfence remediate, to automatically repair known files belonging to a WordPress installation. Any file part of all versions of WordPress core, as well as all versions of plugins and themes available for download on wordpress.org can be automatically downloaded to restore a file infected with malware.
To see remediate in action, visit the examples page.
Remediate Command Line Arguments
General Options:
-c,--configuration: Path to a configuration INI file to use. (default:~/.config/wordfence/wordfence-cli.ini)-l,--license: Specify the license to use.--version: Display the version of Wordfence CLI.-h,--help: Display help information.--accept-terms: Automatically accept the terms required to invoke the specified command.--read-stdin: Read paths from stdin. If not specified, paths will automatically be read from stdin when input is not from a TTY. (use--no-read-stdinto disable)-s,--path-separator: Separator used to delimit paths when reading from stdin. Defaults to the null byte.
Output Control:
这篇文档对你有帮助吗?
谢谢你的反馈!