Little bug in firmware selection
There's a little bug that prevents to run the program with fw parameter values other than "base" ones (702 for example).
In line 159 you determine the "base" offset by calling
``auto offset = getFirmwareOffset(fw);``
but later, in line 176 you try to set firmware offset with:
``if (exploit->setFirmwareVersion((FirmwareVersion) fw)) return 1;``
But that function only accepts "base" firmware versions, so it should be
``if (exploit->setFirmwareVersion((FirmwareVersion) offset)) return 1;``
合并状态:已合并 合并于 2024-05-24 关闭于 2024-05-24 1 条评论