odle is a Ruby gem and binary that takes XML data from various security tools and outputs their JSON equivalent. The goal is to be (1) simple, (2) fast, and (3) work on many platforms with only one dependency -- nokogiri.
odle has been tested on different versions of Ruby so the one available in your package manager will probably work. Anything Ruby 2+ is a safe bet.
# make sure Ruby is installed first, then
gem install odle
There are more examples on the wiki, but here are two simple examples.
cat burp.xml | odle --burp
require 'odle'
json_d = Metasploit.new().parse("./msf_export.xml","0")
Odle takes in data (mostly XML) and outputs a JSON hash coordinated by hosts. Each host in the hash contains an array of findings (i.e. vulnerabilities) from the data. See the wiki page for more details.
Name | Version(s) | Tested On |
---|---|---|
Metasploit XML Export | v5 | |
BurpSuite XML Export | v1.* | |
BurpSuite 2.0 XML Export | v2.0.* | 2.0.7 |
Nessus | v2 | |
Nmap | Unknown |