Skip to content

Commit

Permalink
putting correct title id when creating work.bin from raw key
Browse files Browse the repository at this point in the history
  • Loading branch information
mmozeiko committed Oct 4, 2017
1 parent 4163622 commit 5d724e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg2zip.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ int main(int argc, char* argv[])
printf("[*] generating rif file with '%s' key\n", argv[2]);

memcpy(rif, rif_header, sizeof(rif_header));
memcpy(rif + 0x10, id, 0x30);
memcpy(rif + 0x10, content, 0x30);
get_hex_bytes16(argv[2], rif + 0x50);
rif[255] = work_sku_flag;
}
Expand Down

0 comments on commit 5d724e9

Please sign in to comment.