Download the PHP package psecio/versionscan without Composer
On this page you can find all versions of the php package psecio/versionscan. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download psecio/versionscan
More information about psecio/versionscan
Files in psecio/versionscan
Package versionscan
Short Description A PHP version scanner for reporting possible vulnerabilities
License MIT
Homepage https://github.com/psecio/versionscan.git
Informations about the package versionscan
versionscan
Versionscan is a tool for evaluating your currently installed PHP version and checking it against known CVEs and the versions they were fixed in to report back potential issues.
PLEASE NOTE: Work is still in progress to adapt the tool to linux distributions that backport security fixes. As of right now, this only reports back for the straight up version reported.
Installation
Using Composer
The only current dependency is the Symfony console.
Usage
To run the scan against your current PHP version, use:
bin/versionscan
The script will check the PHP_VERSION
for the current instance and
generate the pass/fail results. The output looks similar to:
Results will be reported back colorized as well to easily show the pass/fail of the check.
Parameters
There are several parameters that can be given to the tool to configure its scans and results:
PHP Version
If you'd like to define a PHP version to check other than the one the script finds itself, you can use the php-version
parameter:
Report Only Failures
You can also tell the versionscan to only report back the failures and not the passing tests:
Sorting results
You can also sort the results either by the CVE ID or by severity (risk rating), with the sort
parameter
and either the "cve" or "risk" value:
Output formats
By default versionscan will output information directly to the console in a human-readable result. You can also specify other output formats that may be easier to parse programatically (like JSON). Use the --format
option to change the output:
Supported output formats are console
, json
, xml
and html
.
The HTML output format requires an --output
option of the directory to write the file:
The result will be written to a file named something like versionscan-output-20150808.html
All versions of versionscan with dependencies
sunra/php-simple-html-dom-parser Version ~1.5.0
symfony/console Version ~2.1|~3.0