Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > Applications & Development > AppStore Software

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-10-2008, 11:56 AM
appleguru
Status: Offline
Senior Member
 
Join Date: Jul 2006
Posts: 221
Rep Power: 16
appleguru is on a distinguished road
Default [.ipa format] getting AppStore apps on Jailbroken iPhones

So.. iTunes 7.7 is now out. As is the app store on iTunes.

Downloaded apps are stored, at least in OS X by default, under ~/Music/iTunes/Mobile Applications/

They all end with a ".ipa" extension, which is just another .zip fle. After unzipping, they decompress to and iTunesArtwork file, a iTunesMetadata.plist file and a Payload folder with the app store app.

So if/when 2.0 is jailbroken.. anyone want to try installing an app non-sandboxed? (IE, in the /Applications folder). Are they signed? (They appear to be, see below) Will this work with non-free apps?



Also, the app packages appear to have two additional folders that "normal" app packages do not, a _CodeSignature folder, and a SC_Info folder... There is also a sim link in the app package to the "CodeResources" file, which is in the _CodeSignature folder.

The CodeResources file is an XML file that contains every file in the package, along with a signature for each (presumably so if anything is modified it wont run?). There is also a rules section... See screenshot here for an example:

http://g.appleguru.org/CodeResources.png

Last edited by appleguru; 07-10-2008 at 12:20 PM. Reason: Resized image for happy iPhone viewing, added Code Signature info
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 07-10-2008, 03:31 PM
Jim Danner
Status: Offline
Respected Member
 
Join Date: Dec 2007
Posts: 1,042
Rep Power: 69
Jim Danner is a jewel in the roughJim Danner is a jewel in the roughJim Danner is a jewel in the rough
Default

For Windows users: the applications (.ipa files) are in the user profile, in My documents\My music\iTunes\Mobile Applications.

You can view the contents of an application by renaming it: change the extension from .ipa to .zip; then double-click the file.
__________________
iPhone 3GS / 3.1.2 JB (PwnageTool) / 04.26.08 carrier-locked, Carrier Logo Fixer / Cydia / 1000 posts on Hackint0sh

Installing Cydia programs on a phone that has no internet connection: read this.

Editing binary .plist, .strings, .nib and .xib files:
* on your computer: Windows tool / conversion website.
* on your iPhone: convert those files in a terminal with plutil (installed with Erica Utilities) or edit them with iFile (Cydia links).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 07-10-2008, 05:11 PM
DJ McG's Avatar
DJ McG
Status: Offline
Respected Member
 
Join Date: Dec 2007
Location: United States
Posts: 809
Rep Power: 55
DJ McG is a jewel in the roughDJ McG is a jewel in the roughDJ McG is a jewel in the rough
Default

I doubt it will work until the dev team figures out how to crack the signature, if they do that is.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #4 (permalink)  
Old 07-10-2008, 09:45 PM
george_6666
Status: Offline
Member
 
Join Date: Jun 2008
Posts: 68
Rep Power: 5
george_6666 is on a distinguished road
Default

SOLUTION: Wait for Pwnage Tool 1.2 and then upgrade to 2.0 firmware
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 07-11-2008, 11:02 AM
nameless2k
Status: Offline
Member
 
Join Date: Feb 2008
Posts: 48
Rep Power: 0
nameless2k will become famous soon enough
Default

Quote:
Originally Posted by george_6666 View Post
SOLUTION: Wait for Pwnage Tool 1.2 and then upgrade to 2.0 firmware
george,

fantastic. thanks for your technical advise. this helps the community a lot.

now back to topic:

1. are these files encrypted or only signed?
2. you may put the binary into IDA to see which functions are getting used.

you may upload the binary to a place of your choice and drop me a PM, I'm gonna have a look :-)

kd rgds, nl2k
__________________
iPhone 4GB: Firm 2.0 BL 3.9 (pwned like described here)
Mac Book Pro: Leopard 10.5.4
Hack Pro: Leo 10.5.4 (Asus P5LD2 VM DH, Core2Duo 3.0, ATI Rad 2600 HD XT, HP w2207, TSSTCorp SH-S183H, Silentmaxx ST11 Big Bl, 2GB Corsair, 250GB OSX, 400GB WinXP, 250GB Backupdrive)

ŧ latest iPhone & OSX86 News, Hints and HowTo's
ŧ How to update "Mac OS X 10.5.3" and to "Mac OS X 10.5.4"...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 07-11-2008, 05:40 PM
Ed4
Status: Offline
Junior Member
 
Join Date: Jul 2008
Posts: 1
Rep Power: 0
Ed4 is on a distinguished road
Default

In the end it matters little whether they're signed and/or encrypted. If they're signed, it's only a matter of patching the OS to ignore signatures. If they're encrypted, the key to decrypt them must be available in the phone somewhere.

It's like any other DRM scheme. Always crackable with enough patience.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #7 (permalink)  
Old 07-12-2008, 02:52 AM
DJ McG's Avatar
DJ McG
Status: Offline
Respected Member
 
Join Date: Dec 2007
Location: United States
Posts: 809
Rep Power: 55
DJ McG is a jewel in the roughDJ McG is a jewel in the roughDJ McG is a jewel in the rough
Default

Somebody should try just removing the extra folders inside the .app folder and uploading to their phone, setting correct permissions and see what happens.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 07-12-2008, 03:17 AM
crackertc
Status: Offline
Member
 
Join Date: Oct 2007
Posts: 62
Rep Power: 6
crackertc is on a distinguished road
Default

Quote:
Originally Posted by DJ McG View Post
Somebody should try just removing the extra folders inside the .app folder and uploading to their phone, setting correct permissions and see what happens.
Already tried it, no luck, icon shows on springboard, and when you open the app it just exits again.... no permissions error
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 07-12-2008, 01:49 PM
gotschi's Avatar
gotschi
Status: Offline
Junior Member
 
Join Date: Sep 2007
Location: Austria, Tirol
Posts: 25
Rep Power: 0
gotschi is on a distinguished road
Send a message via MSN to gotschi
Default

like i said in an other thread, itunes looks in your shopping list of your itunes account, and if itīs not listed in there, you canīt do anything with it. This prevents the people from transferring the app to the phone. So i think the *.ipa is just for packaging reasons, itunes extracts the *.app folder off it and loads them on your phone. The phone itself may not check if its legit... So when we have filesystem access / jailbreak, we can enjoy the games, not caring about any encryption (at least until the next sync, maybe iTunes checks the apps everytime you sync the phone...)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #10 (permalink)  
Old 07-12-2008, 02:54 PM
AlexRichter
Status: Offline
Junior Member
 
Join Date: Mar 2007
Posts: 1
Rep Power: 0
AlexRichter is on a distinguished road
Default

Having managed to get Apps I have no license for (free ones still) onto my iPod i can safetly say that I believe the apps check for legitness themselves, as they will not load.

This is true for both paid and free apps.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +2. The time now is 01:55 PM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407