Yamato-Security / takajo

Takajō (鷹匠) is a Hayabusa results analyzer.
https://yamato-security.github.io/takajo/
GNU General Public License v3.0
84 stars 7 forks source link

Takajo does not support other time formats #141

Closed YamatoSecurity closed 7 months ago

YamatoSecurity commented 7 months ago

When I use --ISO-8601 time format in Hayabusa, I get the following error when running automagic:

times.nim(1644)          raiseParseException
Error: unhandled exception: Failed to parse '2018-05-03T19:29:27.' with format 'yyyy-MM-dd HH:mm:ss'.'fff'. Unexpected character: T [TimeParseError]

@fukusuket Is it possible to auto-detect the timestamp format and support all of the time formats that Hayabusa does?

fukusuket commented 7 months ago

@YamatoSecurity When I commented out timeline-logon with the automagic command, it was successful with --ISO-8601, so the following parsing process seems to be the cause🤔 (I don't think there is any other process to parse the timestamp.)

It should be possible to solve the problem by just making the above corrections, so I will try to fix it💪