hackrift22 / command-output-parsers
Parsers for many security command outputs in the form of a PHP library
2.4.0
2025-01-08 06:36 UTC
Requires
- php: ^8.2
- ext-mbstring: *
- ext-simplexml: *
- league/html-to-markdown: ^5
Requires (Dev)
- phpunit/phpunit: ^9.5
- vimeo/psalm: ^4.29 || ^5.0
This package is auto-updated.
Last update: 2025-01-08 13:17:43 UTC
README
Reconmap security command output parsers library
Supported tools
- Acunetix
- Burp
- Metasploit
- Nessus
- Nmap
- Nuclei
- OpenVAS
- Qualys
- SQLmap
- Subfinder
- TestSSL
- ZAP
Requirements
- PHP8.1
- Composer
Usage
composer require reconmap/command-output-parsers
Examples
Nessus
$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; }