packetfocus / BurpParser

Parser to convert BURP Pro .XML to .CSV and build a Word .Docx Template
13 stars 4 forks source link

Option to parse a directory of .xml input files and save in a single word file #2

Closed packetfocus closed 5 years ago

packetfocus commented 5 years ago

Not sure all the use cases yet, but would be nice to supply a CLI argument to provide a directory with .xml files. Should be easy to parse the .xml files in the supplied directory and then pass them to process(filename).

The word document is initialized before the function, and saved in main().

Would also need to some additional validation put into place to make sure the supplied dir exists and only process .xml files.

packetfocus commented 5 years ago

7 Fixed here. Now has -d option.