0.1.1 • Published 3 years ago

@turingsecure/burp.js v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

burp.js is a client side parser for Burp XML output files.

Installation

Install the @turingsecure/burp.js package:

# use yarn or npm
yarn add @turingsecure/burp.js

Import the library to use it in your code:

import { BurpParser } from "@turingsecure/burp.js";

Usage

To parse an XML file, you just have to execute the imported function.

const xml = "burpscan xml";
const parsed = BurpParser(xml);

Note: If the requests and responses are base64 encoded, they will be automatically decoded

API

The BurpParser function returns an array of issues.

If you do not want decoded requests and responses, you can pass a flag:

const xml = "burpscan xml";
const parsed = BurpParser(xml, false);

An issue object has the following properties:

PropertyType
serialNumberstring
typestring
hoststring
pathstring
locationstring
severitystring
confidencestring
issueBackgroundstring
remediationBackgroundstring
vulnerabilityClassificationsstring
issueDetailstring
referencesstring
requestresponseRequestResponse

requestresponse is an array of RequestResponse objects with the following properties:

PropertyType
requeststring
responsestring
responseRedirectedstring

Contributing

Contributions, issues and feature requests are welcome. Feel free to check out the issues page if you want to contribute.

License

Copyright © 2021 turingsecure. This project is MIT licensed.