Open BreakSecurity opened 5 years ago
@shinhub something to weed out?
@iceman1001 The method call WaitForResponseFromReceiver.WaitOne();
in XMODEM.cs
(line 1271) hangs indefinitely with this ULTRALIGHT_EV1_80B JSON dump.
The dump get properly updated though, but GUI is perpetually stuck.
Tried to upload other dumps for Mifare, including JSON, and did not have the same issue.
The issue triggers with ULTRALIGHT_EV1_80B dump upload as far as I tested, with this JSON, or with a binary format of the same content.
It seems that var bytes = dump.Data.Concat(dump.Extra).ToArray();
in FrmMain.cs
(line 2089) is returning way too much data for a 80Bytes dump though (100+ bytes), so the bug might be there, or in var dump = ReadFileIntoByteArray(filename);
(line 2080) just above, that might just not support 80Bytes Ultralight at all...
@shinhub Did you find some solution for this?
I just tested what @shinhub suggested and it's in fact the appended "Extras" (52 additional bytes) that blocks the upload for the ULTRALIGHT_EV1_80B configuration. This is not happening when the config is ULTRALIGHT_EV1_164B, so I suppose that there is something wrong with mem size of the 80B ULTRALIGHT_EV1 in the firmware. If you omit the Extras, the upload on all slots works fine.
And its only for RevE rebooted? not for RevG?
As far as I have tested, yes. That's why I believe the issue is in the RevE rebooted firmware.
Describe the bug GUI stops responding after mfu dump upload in any slots. Needs to force close and reopen.
To Reproduce Steps to reproduce the behavior:
Json: