WIP: display config hierarchy

This commit is contained in:
ziirish 2018-01-22 20:16:37 +01:00
parent 4cc8b1dc38
commit beeedf7448
No known key found for this signature in database
GPG key ID: 72DB229A64B54E46
8 changed files with 66 additions and 4 deletions

View file

@ -103,6 +103,30 @@ class BUIparser(with_metaclass(ABCMeta, object)):
]
},
],
"hierarchy": [
{
"children": [
{
"children": [],
"dir": "/tmp/burp/conf.d",
"full": "/tmp/burp/conf.d/empty.conf",
"name": "empty.conf",
"parent": "/tmp/burp/burp-server.conf"
},
{
"children": [],
"dir": "/tmp/burp/conf.d",
"full": "/tmp/burp/conf.d/ipv4.conf",
"name": "ipv4.conf",
"parent": "/tmp/burp/burp-server.conf"
}
],
"dir": "/tmp/burp",
"full": "/tmp/burp/burp-server.conf",
"name": "burp-server.conf",
"parent": null
}
]
}
"""
raise NotImplementedError(