Permalink
Browse files

I've been holding onto this for too long and still haven't gotten aro…

…und to fixing it.

It should take a IPSW, unpack it, fetch your SHSH blobs from cydia or sauriks servers for your ECID, decode the results, replace the existing SHSH/CERT with the new one, then pack it all back up into an IPSW for you.
Pretty much everything works except for repacking it back up to an IPSW. XPwn's OutputState stuff is very frustrating to use.
I'd love to see this tool fixed, or maybe even integrated into xpwntool.
  • Loading branch information...
1 parent 435b666 commit c1f4e7790fc6966ce44d052f0694f548a202c449 @posixninja committed May 7, 2010
Showing with 835 additions and 0 deletions.
  1. +2 −0 CMakeLists.txt
  2. +10 −0 fwstitcher/CMakeLists.txt
  3. +425 −0 fwstitcher/base64.c
  4. +45 −0 fwstitcher/base64.h
  5. +353 −0 fwstitcher/fwstitcher.c
View
@@ -24,6 +24,7 @@ add_subdirectory (ipsw-patch)
add_subdirectory (dfu-util)
add_subdirectory (xpwn)
add_subdirectory (idevice)
+add_subdirectory (fwstitcher)
install(FILES README.markdown DESTINATION . RENAME README.txt)
install(FILES LICENSE DESTINATION . RENAME LICENSE.txt)
@@ -47,5 +48,6 @@ SET(CPACK_PACKAGE_EXECUTABLES "ipsw" "IPSW Tool")
SET(CPACK_PACKAGE_EXECUTABLES "hdutil" "Apple disk image utility")
SET(CPACK_PACKAGE_EXECUTABLES "dmg" "Apple DMG utility")
SET(CPACK_PACKAGE_EXECUTABLES "hfsplus" "Apple HFS+ utility")
+SET(CPACK_PACKAGE_EXECUTABLES "fwstitcher" "SHSH blob utility")
INCLUDE(CPack)
@@ -0,0 +1,10 @@
+link_directories(${PROJECT_BINARY_DIR}/common ${PROJECT_BINARY_DIR}/xpwn)
+
+include_directories(.)
+
+add_executable(fwstitcher fwstitcher.c base64.c)
+
+target_link_libraries (fwstitcher curl xpwn common)
+
+install(TARGETS fwstitcher DESTINATION .)
+
Oops, something went wrong.

0 comments on commit c1f4e77

Please sign in to comment.