freemyipod r794 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r793‎ | r794 | r795 >
Date:14:22, 19 November 2011
Author:theseven
Status:new
Tags:
Comment:
libipodcrypto: Patch entrypoint in s5l8702pwnage800 exploit
Modified paths:
  • /emcore/trunk/tools/libipodcrypto.py (modified) (history)
  • /emcore/trunk/tools/libipodcrypto/s5l8702pwnage800.cer (added) (history)

Diff [purge]

Index: emcore/trunk/tools/libipodcrypto/s5l8702pwnage800.cer
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: emcore/trunk/tools/libipodcrypto/s5l8702pwnage800.cer
Property changes on: emcore/trunk/tools/libipodcrypto/s5l8702pwnage800.cer
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
 1+application/octet-stream
\ No newline at end of property
Index: emcore/trunk/tools/libipodcrypto.py
@@ -120,7 +120,7 @@
121121
122122
123123 def s5l8702genpwnage800(data):
124 - cert = open(os.path.dirname(__file__) + "/libipodcrypto/s5l8702pwnage.cer", "rb").read()
 124+ cert = open(os.path.dirname(__file__) + "/libipodcrypto/s5l8702pwnage800.cer", "rb").read()
125125 data = data.ljust(max(0x90, (len(data) + 0xf) & ~0xf), b"\0")
126126 header = (b"87021.0\x03\0\0\0\0" + struct.pack("<IIII", len(data) - 0x80, len(data) + 0x2ba, len(data), 0x2ba)).ljust(0x40, b"\0")
127127 emcore = libemcore.Emcore()