mirror of
https://github.com/NinjaCheetah/libWiiPy.git
synced 2025-04-25 21:01:01 -04:00
Slightly improve fakesign docstrings
This commit is contained in:
parent
a56fa6e051
commit
bcd61b8a37
@ -234,6 +234,9 @@ class Ticket:
|
|||||||
older IOS versions that incorrectly check the hash using strcmp() instead of memcmp(). The signature will also
|
older IOS versions that incorrectly check the hash using strcmp() instead of memcmp(). The signature will also
|
||||||
be erased and replaced with all NULL bytes.
|
be erased and replaced with all NULL bytes.
|
||||||
|
|
||||||
|
The hash is brute-forced by using the first two bytes of an unused section of the Ticket as a 16-bit integer,
|
||||||
|
and incrementing that value by 1 until an appropriate hash is found.
|
||||||
|
|
||||||
This modifies the Ticket object in place. You will need to call this method after any changes, and before
|
This modifies the Ticket object in place. You will need to call this method after any changes, and before
|
||||||
dumping the Ticket object back into bytes.
|
dumping the Ticket object back into bytes.
|
||||||
"""
|
"""
|
||||||
|
@ -235,6 +235,9 @@ class TMD:
|
|||||||
older IOS versions that incorrectly check the hash using strcmp() instead of memcmp(). The signature will also
|
older IOS versions that incorrectly check the hash using strcmp() instead of memcmp(). The signature will also
|
||||||
be erased and replaced with all NULL bytes.
|
be erased and replaced with all NULL bytes.
|
||||||
|
|
||||||
|
The hash is brute-forced by incrementing an unused 16-bit integer in the TMD by 1 until an appropriate hash is
|
||||||
|
found.
|
||||||
|
|
||||||
This modifies the TMD object in place. You will need to call this method after any changes, and before dumping
|
This modifies the TMD object in place. You will need to call this method after any changes, and before dumping
|
||||||
the TMD object back into bytes.
|
the TMD object back into bytes.
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user