openvas.js by Sanitycheck
openvas.js is library to parse OpenVas output files into javascript. Heavily inspired by turingsecure's burp.js and nessus.js libraries.
Installation
Install the @sanitycheck0x00/openvas.js
package:
# use yarn or npm
npm install @sanitycheck0x00/openvas.js
Import the library to use it in your code:
import { OpenVasParser } from "@sanitycheck0x00/openvas.js";
Usage
To parse an XML file, you just have to execute the imported function.
const xml = "openvas xml";
const scan = OpenVasParser(xml);
console.dir(scan, { depth: null });
Contributing
Contributions, issues and feature requests are welcome. Feel free to check out the issues page if you want to contribute.
License
This project is MIT licensed.