Comments (6)
Interesting, it works fine with the 0.6.0 evtx_dump using evtx_dump.exe --separate-json-attributes -o jsonl "E_ShadowCopy6_windows_system32_winevt_logs_Microsoft-Windows-CAPI2%4Operational.evtx"
.
Maybe it is something I am doing though the library. It's just strange that it works fine for me with 0.5.1 but panics on 0.6.0 using the library.
I will see if I can pin point with example code.
from evtx.
I am sorry, I was not using the 0.6.0 bin. The 0.6.0 bin does error out using the following:
>evtx_dump.exe --separate-json-attributes -o jsonl "E_ShadowCopy6_windows_system32_winevt_logs_Microsoft-Windows-CAPI2%4Operational.evtx"
thread 'thread '<unnamed><unnamed>' panicked at '' panicked at 'It can only be an object or null, and null was coveredIt can only be an object or null, and null was covered', ', src\libcore\option.rssrc\libcore\option.rs::11661166::55
stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: <unknown>
12: <unknown>
13: <unknown>
14: <unknown>
15: <unknown>
16: <unknown>
17: <unknown>
18: <unknown>
19: <unknown>
20: <unknown>
21: <unknown>
22: <unknown>
23: <unknown>
24: <unknown>
25: <unknown>
26: <unknown>
27: <unknown>
28: BaseThreadInitThunk
29: RtlUserThreadStart
stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: <unknown>
12: <unknown>
13: <unknown>
14: <unknown>
15: <unknown>
16: <unknown>
17: <unknown>
18: <unknown>
19: <unknown>
20: <unknown>
21: <unknown>
22: <unknown>
23: <unknown>
24: <unknown>
25: <unknown>
26: <unknown>
27: <unknown>
28: <unknown>
29: <unknown>
30: <unknown>
31: <unknown>
32: BaseThreadInitThunk
33: RtlUserThreadStart
from evtx.
Huh! this is a regression. I'll fix it and push 0.6.1.
Sorry about that!
EDIT: this seems to only happen with --seperate-json-attributes.
from evtx.
Fixed with #66.
This regression was introduced because 0.6.0 is smarter about nodes that have multiple XML nodes with the same name (when converting to JSON), so some unexpected paths were hit twice in places where this shouldn't have happened.
Also changed all tests to cover this flag now.
Let me know if anything else is not working with this release :)
from evtx.
Thanks! Just curious, what are garbage nodes considered?
from evtx.
@forensicmatt it's stuff like this.
Notice the stuff between the nodes, I did notice them while adding support for EntityRef
notes.
From what I've compared against the windows event explorer, they never contained any data that wasn't garbage (/
etc).
The data is there by all means, I'm just not certain of why it's there.
<URLCacheFlushInfo></URLCacheFlushInfo>&quot&<URLCacheResponseInfo></URLCacheResponseInfo>
from evtx.
Related Issues (20)
- Parser fails if last_event_record_id and free_space_offset are set wrong in the Chunk Header
- # in JSON field name prevents import in GCP Bigquery HOT 2
- Invalid behaviour when parsing Evtx from Windows Event Forwarding HOT 8
- Error while parsing .evtx files with unknown file header flags and chunk flags
- 5111875 is an unknown value for bool, coercing to `true`
- [Question] Alter JSON output HOT 5
- thread 'main' panicked at 'invalid or out-of-range date' HOT 1
- macos 0.7.2 HOT 1
- Warnings will become errors
- Command line flag to skip printing "#attributes" while taking output as JSON
- thread 'main' panicked at 'attempt to subtract with overflow' in `src/binxml/tokens.rs:98:24`
- Problems parsing evtx files originating from NetApp HOT 2
- error on evtx files for header and hexdump
- tailing HOT 2
- Any options to exclude the record # and xml version lines? HOT 1
- RecordId should be public
- Passing a file via stdin?
- wrong ordering in records returned by records() iterator HOT 1
- command-line flag to replace spaces in key names with underscores for JSON output
- JSON output is sorted
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evtx.