https://github.com/reconmap/php-command-output-parsers
Parsers for many security command outputs in the form of a PHP library
https://github.com/reconmap/php-command-output-parsers
commands hacktoberfest nessus nmap parser qualys security tools
Last synced: about 1 month ago
JSON representation
Parsers for many security command outputs in the form of a PHP library
- Host: GitHub
- URL: https://github.com/reconmap/php-command-output-parsers
- Owner: reconmap
- License: lgpl-3.0
- Created: 2021-10-19T20:05:34.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-08T16:08:03.000Z (over 1 year ago)
- Last Synced: 2024-04-14T04:23:11.304Z (over 1 year ago)
- Topics: commands, hacktoberfest, nessus, nmap, parser, qualys, security, tools
- Language: PHP
- Homepage:
- Size: 825 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://codecov.io/gh/reconmap/php-command-output-parsers)
# Reconmap security command output parsers library
## Supported tools
- Acunetix
- Burp
- Metasploit
- Nessus
- Nmap
- Nuclei
- OpenVAS
- Qualys
- SQLmap
- Subfinder
- TestSSL
- ZAP## Requirements
* [PHP8.2](https://www.php.net/releases/8.2/en.php)
* Composer## Usage
```shell
composer require reconmap/command-output-parsers
```## Examples
### Nessus
```php
$processorFactory = new ProcessorFactory();
$processor = $processorFactory->createFromOutputParserName('acunetix');
$result = $processor->process('resources/nessus.xml');echo $result->getVulnerabilities()[4]->remediation), PHP_EOL; # Prints 'Protect your target with an IP filter.'
foreach($result->getAssets() as $asset) {
echo $asset->getValue(), PHP_EOL;
}
```