reconmap/command-output-parsers

Parsers for many security command outputs in the form of a PHP library

This package's canonical repository appears to be gone and the package has been frozen as a result.

2.4.0 2024-11-17 23:02 UTC

README

codecov

Reconmap security command output parsers library

Supported tools

  • Acunetix
  • Burp
  • Metasploit
  • Nessus
  • Nmap
  • Nuclei
  • OpenVAS
  • Qualys
  • SQLmap
  • Subfinder
  • shcheck
  • TestSSL
  • ZAP

Requirements

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;
}