Skip to content

Commit

Permalink
Fix firmware selection (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
deviato authored May 24, 2024
1 parent 0e47f38 commit 8265c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ int main(int argc, char *argv[]) {
signal(SIGINT, signal_handler);
signal(SIGTERM, signal_handler);

if (exploit->setFirmwareVersion((FirmwareVersion) fw)) return 1;
if (exploit->setFirmwareVersion((FirmwareVersion) offset)) return 1;
if (exploit->setInterface(interface, buffer_size)) return 1;
auto stage1_data = readBinary(stage1);
if (stage1_data.empty()) return 1;
Expand Down

0 comments on commit 8265c1a

Please sign in to comment.