Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/visitor #205

Closed
wants to merge 29 commits into from
Closed

Feature/visitor #205

wants to merge 29 commits into from

Conversation

janstarke
Copy link

@janstarke janstarke commented Dec 6, 2021

This PR provides a generic access to the parsed evtx structure, without a need to parse json (which would make everything very slow)

Usage example:

struct MySpecialEvtxDataStructure {}
struct MyVisitor {}
impl EvtxStructureVisitor for MyVisitor {
  type VisitorResult = Option<MySpecialEvtxDataStructure>;
  /* ... */
}
/* ... */
let records = parser.records_to_visitor(|| MyVisitor::new());

I used evtxgrep as PoC to see if everything works as desired, keep as much changes as possible outside of evtx

I also use this in https://github.com/janstarke/evtx2bodyfile

@janstarke
Copy link
Author

Another PoC is https://github.com/janstarke/evtx2bodyfile, which I use regularly in forensic investigations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant