279
edits
No edit summary |
|||
Line 9: | Line 9: | ||
== Extracting NAND files == | == Extracting NAND files == | ||
=== On Linux === | |||
1. '''Extract''' the AES IV from keys.bin: <code>dd if=keys.bin of=aes-iv bs=1 skip=360 count=16</code> | |||
2. '''Extract''' the per-console NAND key from keys.bin. | |||
3. '''Decrypt''' the NAND image: <code>openssl enc -d -aes-128-cbc -in nand.bin -out nand-decrypted.bin -K $(hexdump -v -e '/1 "%02X"' < nand-key) -iv $(hexdump -v -e '/1 "%02X"' < aes-iv) -nopad</code> | |||
4. '''Unpack''' the decrypted NAND image using zestig. | |||
=== On Windows === | |||
Use [http://forums.dolphin-emu.org/attachment.php?aid=1383 NAND Tools] consisting of the followings to extract the files from '''nand.bin''': | Use [http://forums.dolphin-emu.org/attachment.php?aid=1383 NAND Tools] consisting of the followings to extract the files from '''nand.bin''': | ||
*cmd.lnk | *cmd.lnk |
edits