´¦¯µ¡G¥R¹qÄ_¬O¦p¦óµs¨ú©pªºÓ¤HÁô¨pªº¡H¤¤¤È¦Y§¹¶º¡A¬Ý¨ì³üÓ·L³Õ¤¤§O¤HÂ઺¥¡µø·s»D¡m§O³Q§ï¸Ë¥R¹qÄ_µs¨úÁô¨p¡nı±o¤S¬OÔ£°ª¤j¤WªºªF¦è¤W¤F¥¡µø¡A¬Ý§¹«á¤~ª¾¹D¬O¼Æ¦r¤½¥qªº¬Y¬ã¨sû°µªº°°¸Ë¥R¹qÄ_µs¨úÁô¨pªºª±·N¡C
¤ßùØÁŵM¶}®Ô¡Aì¨Ó³oª±·N¤]¥i¥H¤W¥¡µø°Ú¡I¨º麽°ÝÃD¨Ó¤F: ³oª±·N³£À³¥Î¨ì¤Fþ¨Ç§Þ³N¡A¨Ã¥B¨ºÓ¨¾Å@¯«¾¹¤S¬O«ç麽¹ê²{ªº¡H§Ú̳o¨Ç¤Ñ¤Ñ¼g¸}¥»ªº¯àª±¤£¡HÁÙ¬O»Ýn¨º¨Çª±¤G¶i¨îªº¤û¤HÀ°¦£¤~¯à§¹¦¨©O¡H
¨º麽¤U±§Úµ¹¤j®a¤¶²Ð³üºØ¤èªk¡A´¦¯µ§ðÀ»ªÌ¬O¦p¦ó§C¦¨¥»§Ö³t¥´³y³üÓ°°³yªº¥R¹qÄ_ªº¡A¥H¤Î§Ú̸Ӧp¦ó¨¾¿m¡C¥Dn¬OIOS¨t²Î¡A¦Ü©óAndroidªº¤èªk§Ú·Qº¡¤jµó³£¬O§a³oùØ´N¤£»¡¤F¡A¥H«á»¡¤£©w·|¦b³Õ«È¤¤¼g¤U¡C¦Ü©ó¥Î³~¶Ü¤£Ãö©p¬O¶i¦æª«²zªÀ¤uÁÙ¬O¤°麽ªº´N¦Û¥Ñµo´§¡A¥»¤å©Ò´£§Þ³N¨Ã¤£§½©ó¡§¥R¹qÄ_¡¨ ¡A¤£¶O¸Ü¤F¶i¤J¥¿ÃD¡C
ì²z¤ÀªR
º¥ý¡A§Ų́ӤÀªR¤U¦b¤£¤F¸Ñ¤w¦³§Þ³N±¡ªp¤U°²³]n±q¹s¶}©l°µ°_¡A§Ú̬O«ç麽¤ÀªR©M³]p³oÓªF¦è¡H§Ú¦ôp¤j¦h¼Æ¤H²Ä³üÓ·Q¨ìªºÀ³¸Ó¬OiTunes , Ä«ªG¤â¾÷ºÞ²zªº°t®M³n¥ó¡A¦]¬°¦b¥¦ùر¦³Ó¥\¯à¬O³Æ¥÷¼Æ¾Ú¥Îªº¡A§Y¨Ï¨ê¾÷«á¡A¥un«ì´_¤U¼Æ¾Ú¨º麽©Ò¦³ªº³q°T¿ý¡Aµu«H¡A¬Æ¦Ü¤Wºô«H®§µ¥µ¥³£·|³Q«ì´_¦^¥h¡A¤G¶i¨î¤û¦pªG¬Ý¨ì¤FÀ³¸Ó·|»¡°f¤UiTunes¤ÀªR¤U¥¦³q°T¨óij¤£´N§¹¨Æ¤F¡C
¶â¡A½T¹ê¥i¥H¹ê²{©`¦ó§Ú̸}¥»¤p¤l¾Þ°_IDA¸ò¬Ý¤Ñ®ÑªºÀ³¸Ó®t¤£¦h¡A¤£¹L³oùئ³³üÂI»¡ªº¹ï¡A¨º´N¬O³q°T¨óij¡C¦pªG§Ú̯à°÷¼ÒÀÀiTunes¨óij¡A§i¶DiPhone§Ú»Ýnµ¹©p³Æ¥÷¼Æ¾Ú¡A¨º麽«ö·Ó¥¦ªº±µ¨ü¨óij§â¼Æ¾Úcopy¨ì¦sÀx³æ¤¸¤£´Nok¤F¡C¦Ü©ó¥¦«ç麽¥h¥´¥]¨º¨Ç¼Æ¾Ú¡A®Ú¾Ú¥¦¥´¥]ªº¤è¦¡¸Ñ¥]¤£´NÁÙì©Ò¦³¼Æ¾Ú¤F¡C¤W±§Ṳ́ÀªRªº¬O¦p¦ó§â¼Æ¾Ú±q¤â¾÷®³¨ì¦sÀx³æ¤¸¡A¨º麽©M¥R¹qÄ_¤S¦³¤°麽Ãö¨t? ¬Ý¹L¨ºÓµøÀWªºÀ³¸Óµù·N¨ì¡A¤â¾÷¬d¨ì¥R¹qÄ_¤W±·|´£¥Ü ¡§¬O§_«H¥ô¦¹¹q¸£¡¨ ¡C¦^·Q¤U¡A§Ú̦ۤv¥R¹qªº®ÉÔ¬O§_·|´£¥Ü¡H¨º麽¦b¤°麽±¡ªp¤U·|´£¥Ü¡H
¬Oªº¡A¦b¤â¾÷¼Æ¾Ú½u´¡¨ì§O¤H¹q¸£¤W±ªº®ÉÔ·|´£¥Ü¡I³oùاÚ̦b¤ÀªR¤U¡A¦b¥¿±`¥R¹qÄ_¤W©M¹q¸£¤W±¬°¤°¦P¬°USB¡A³üÓ´£¥Ü³üÓ«o¤£´£¥Ü¡A¬°«á±ªº¨¾¿m°µÓ¾Q¹Ô¡C
§ÚÌ¥ý¬Ý¤U¤U¹Ï¡G
[img]http://cdn.pttbook.com/zhtw/c11912/Image/5b8413d47cd84adb97f7e44dab4919b7.png%2521small[/img]
¹Ï¬Oºô¤W§ä¨Óªº¡A ¨ä¤¤¶À¦â³¡¤À¬°¥|ÓusbùرªºÄ²ÂI¡A ¨ä¤¤1¡A4 ±q¹Ï¤¤¥i¥H¬Ý¨ì¬O¥¿t·¥¡]ÁöµM¥u¦³+¡A-¸¹¡^¡A2¡A3 ¬O ¡§D+ ©MD-¡¨ ¬O¤°麽©O¡H¨ä¹ê´N¬Odata+ ©M data- ¼Æ¾Ú«H¸¹ªº¿é¤J©M¿é¥X¡C¨ä¹ê±q³o±i¹Ï¤W¤]¯à²q¨ì¬°¤°麽¥¿±`¥R¹qÄ_¤£·|´£¥Ü¡A¦Ó´¡¨ì¯¥Í¹q¸£¤W·|´£¥Ü¡C¦]¬°¦b¯¥Í¹q¸£¤W±data+©Mdata-¤W±²£¥Í¤F¼Æ¾Ú«H¸¹¡A©Ò¥H¾ÉPiPhone·|¶i¦æ¸ß°Ý¬O§_À³¸Ó«H¥ô¦¹³]³Æ¥H¶i¦æ¼Æ¾Ú¥æ¤¬¡A¤U±¬Ý¬Ý¦p¦ó§Ö³t¹ê²{¡C
³]p¹ê²{
¤W±ì²z¤ÀªR¤F¨º麽¦h¡AÁÙ¬O¨S¦³¶i¤J®Ö¤ß³¡¤À ¡§ ¦p¦ó§Ö³t¨î³y¡¨ ¦ôp½|µóªº¤w¸g¶}©l¤F¡K.
©Ò»Ý§÷®Æ¡G
1. ¾ð²ù¬£ (raspberry pi) ³üªT
2. ¤j¸¹¾Y¹q¦À¡]¦Ü©ó¦h¤j¡A¬Ý©p·Qn¦h¤j®e¶qªº¥R¹qÄ_¡^
3. ¥R¹q¾¹¡]¬°Ô£n³oÓ¡H¥R¹qÄ_n¥R¹qÐù¡^
4. ¤p¿O led¤p¿O 3-4 ªT ¡]¥R¹qÄ_¥R¹q°{Ã{®ÄªG¡^
¤W±³o¨ÇªF¦è«ç麽²Õ¦X¡H ¾ð²ù¬£USB ¹ï¥~¨Ñ¹q¡A ¾Y¹q¦Àµ¹¾ð²ù¬£¨Ñ¹q¡A¥R¹q¾¹©î¤F¡]ùرªºªF¦è¡^µ¹¾Y¹q¦À¥R¹q¡A¦Ü©óled¤p¿O¡A±µ¾ð²ù¬£GPIO¤f¡CÅý¾ð²ù¬£°{Ã{¤p¿Oªº±Ðµ{ºô¤WÀ³¸Ó¤]¬O³ü¤j§â¤F¡A³oùØ´N¤£¸Ôz¤F½Ð¦Û¦æ¬d¸ß¡C
¨ä¹ê¾ð²ù¬£´N¬O³üÓARM¥»O¤W±¥i¥H¶]¶]Linux¡A ¤j®a³ÌÃö¤ßªºÀ³¸Ó³£¬O¦bARM¥»O¤W±ªºLinux«ç麽¼ÒÀÀ¼Æ¾ÚÅýiPhone§â³Æ¥÷¼Æ¾Úµ¹¦sÀx¨ì¾ð²ù¬£¤W±ªº¦sÀx¾¹¡C¬Ý¨ì¤W±ªº¤ÀªR¦ôp«Ü¦h¤H¤ßùؤ£¦Û¦b¤F¡A³£»¡¤F¸}¥»¤p¤l¬°¤°麽¤S§è¨ì¤W±ªº¤ÀªR¡AÃø¹D¤SnÅý§ÚÌ°f¦ViTunes¤F¡C·íµM¤£¬O¤F¡A¬JµM§Ú̯à·Q¨ì¼ÒÀÀ¼Æ¾ÚÃø¹D´N¨S¦³¤H°µ¹L¡H¬Oªº¡A©p¤S³ü¦¸²q¹ï¤F¡A¥Ñ¶}·½¹ê²{
libimobiledevice , ³o´N¬O§Ṳ́µ¤Ñªº¥D¨¤¡A¬Ý¬Ý¥¦¤¶²Ð(©x¤è¤¶²Ð)¡G
libimobiledevice is a cross-platform software library that talks the protocols to support iPhoneR, iPod TouchR, iPadR and Apple TVR devices. Unlike other projects, it does not depend on using any existing proprietary libraries and does not require jailbreaking. It allows other software to easily access the device's filesystem, retrieve information about the device and it's internals, backup/restore the device, manage SpringBoardR icons, manage installed applications, retrieve addressbook/calendars/notes and bookmarks and (using libgpod) synchronize music and video to the device. The library is in development since August 2007 with the goal to bring support for these devices to the Linux Desktop.
¤W±啰¶Û¤F¨º麽¦hE¤å¨ä¹ê´N¬O»¡¥¦¤£¨Ì¿à©ó²Ä¤T¤è®w¡A¸ó¥»Oªº¹ê²{¤FiPhone¡AiPod Touch, Ipadµ¥Ä«ªG³]³Æªº³q°T¨óij¡C
¦b¾ð²ù¬£¤W±«ç麽½sĶ¥i¥H¬Ý³oùةһݨ̿à
[url]https://github.com/libimobiledevice/libimobiledevice[/url]
½sĶ«á¦³¥¦ªº°ÊºA®w¡A¥i¥H®Ú¾Ú¥¦ªº¤åÀɦۤv¹ê²{·Qnªº¥\¯à¡A¤£¹L¹ï©ó¶È¶È¥u¬O»Ýn¡§ÅѨú¡¨Áô¨p¼Æ¾Ú¡A¨ä¹ê¦Û±aªºtools¥Ø¿ý¤¤ªº¤u¨ã´N¤w¸g°÷¥Î¤F¡A¦b¬Ý½sĶ§¹«áªº¤u¨ã³£ªø¤°麽¼Ë(¹Ï¤ùºt¥Ü§¡¬°µ§°O¥»¤W±ªºlibimobile):
[img]http://cdn.pttbook.com/zhtw/c11912/Image/6b677ccd30e44fab946fac0aa31ab38d.png%2521small[/img]
¥i¥H¬Ý¨ì½sĶ«átools¥Ø¿ý¦Û±aªº³o¨Ç¤p¤u¨ã¡A¤ñ¸ûÅã²´ªº´XÓ:
idevice_id Àò¨ú¤w³s±µ³]³ÆID¡A idevice_id -l
idevicebackup ios¸û§Cª©¥»¥Î¨Ó³Æ¥÷¼Æ¾Úªº¤u¨ã
idevicebackup2 ios·sª©¥»³Æ¥÷¼Æ¾Ú¤u¨ã
idevicesscreenshot ±q¦W¦r´N¯à¬Ý¥X¨Ó¬O«Ì¹õºI¹Ï
idevicesyslog ¹ê®ÉÅã¥Ülog«H®§ªº¡A¸òadb logcat ³ü¼Ë
ideviceinfo ³]³Æ«H®§
.... ¨ä¥Lªº¬Ý¦W¦r°ò¥»´Nª¾¹D¤j·§¤F
¦n¤F¡A§Ú̪½±µ¤W¥D¨¤§a¡Aidevicesbackup2¡C¦b·í«e¥Ø¿ý«Ø¥ß¤å¥ó§¨bak¡A·íµM©pÄ@·N©ñ¦b¨ºùس£¦æ¥u¬O¥Î¨Ó¦sÀx³Æ¥÷¼Æ¾Úªº¡Cusb³s±µ¹q¸£©M¤â¾÷¡]¤£¬O»¡¦nªº¥R¹qÄ_麽¡A¦n§a¡K¨SÔ£®t§a^_^¡^
¿é¤J©R¥O:
idevicebackup2 backup ./bak
¦pªG¨S¦³°t¸mÀô¹ÒÅܶq´Nµ¹idevicebackup2 «ü©w·í«e¥Ø¿ý./
¹B¦æ¹Lµ{¦p¤U¹Ï©Ò¥Ü:
[[email]
[email protected][/email]]
¹B¦æµ²§ô«á¦bbak¥Ø¿ý¤U·|¥Í¦¨³üӥѦr²Å¦ê²Õ¦¨ªº¥Ø¿ý¡A¥´¶}§ÚÌ¥i¥H¬Ý¨ì³ü°ï¤£¤Ó¯à°÷®e©ö²z¸Ñªº¤å¥ó¡A¨ä¹ê³o¨Ç´N¬O³Æ¥÷¸g¹L³B²zªº¼Æ¾Ú¡A¦pªG©Ò¥Ü¡G
[img]http://cdn.pttbook.com/zhtw/c11912/Image/8cc968addfbf4ba8a53b06ed7969c962.png%2521small[/img]
¹B¦æµ²§ô«á¦bbak¥Ø¿ý¤U·|¥Í¦¨³üӥѦr²Å¦ê²Õ¦¨ªº¥Ø¿ý¡A¥´¶}§ÚÌ¥i¥H¬Ý¨ì³ü°ï¤£¤Ó¯à°÷®e©ö²z¸Ñªº¤å¥ó¡A¨ä¹ê³o¨Ç´N¬O³Æ¥÷¸g¹L³B²zªº¼Æ¾Ú¡A¦pªG©Ò¥Ü¡G
[img]http://cdn.pttbook.com/zhtw/c11912/Image/818df619ffbd4d90a04cc657af392b3d.png%2521small[/img]
¨º麽®³¨ì³o¨Ç¼Æ¾Ú¦³¤ò¥Î¡K §O®»«æ¡A¬JµM¯à®³¨ìªÖ©w¦³¿ìªk¸Ñ¥]ÁÙì¼Æ¾Ú
¿é¤J©R¥O:
ideivcesbackup2 unpack ./bak
©R¥O°õ¦æ§¹«á§ÚÌ´N¥i¥H¬Ý¨ìbak¥Ø¿ý¤U¦h¤F³üÓ_unpack_¥Ø¿ý¡A¬Ý¬Ýùر¦³¨Ç¤°麽§a
[img]http://cdn.pttbook.com/zhtw/c11912/Image/6431ac2999d04567a6c6ca3a332d1ce5.png%2521small[/img]
¥Ñ©ó¼h¯Å¤Ó¦h¥uÅã¥Ü¤F3¯Å¥Ø¿ý¡A¤£¹L§ÚÌ¥ý§ä§ä¼Æ¦r¤½¥qºt¥Üªº·Ó¤ù¬O¦b¤°麽¦a¤è¦sÀxªº¥i¥H¦bvar/mobile/Media/DCIM ¥Ø¿ý¤¤¬Ý¨ì³oùئsÀxªº³£¬OÓ¤H¬Û¾÷©çªº·Ó¤ù©MµøÀW¡]¨S©çÄá¹L©Ò¥Hùر¤ì°¸¦³Åã¥Ü~¡^¦p¤U¹Ï¡G
[img]http://cdn.pttbook.com/zhtw/c11912/Image/5bc7a65d6b284e83ac73197d1c965d0b.png%2521small[/img]
¶È¶È¥u¯à®³¨ì¬Û¤ù麽¡H ¨ä¹ê²Ó¤ßªºÅªªÌªÖ©w³£¬Ý¨ì¤FKeychains ´NÀ³¸Óª¾¹D³oª±·N¬OÔ£¤F¡C¦n¤F¦A¬Ý¬Ý¯àÀò¨ú¨ì¨ä¥L«H®§¤£¡H ¤ñ¦psafari©ÎªÌ¨ä¥LAPPªº¥»¦a¿ò¯d¼Æ¾Ú¡A¨Ò¦pcookie ¡B ²á¤Ñ°O¿ý¡H ¬Ý¬Ývar/mobile/library¤U±ªºsms©Mcookie«H®§¡G
[img]http://cdn.pttbook.com/zhtw/c11912/Image/0263d4be7c2846219ed53acde440813e.png%2521small[/img]
§Ú¤£·|§i¶D©p var/mobile/Applications ¥þ³¡¬OÀ³¥Îªº³Æ¥÷¤åÀÉ«H®§ùر¥]§tªº½ã¤á±K½X¡A²á¤Ñ«H®§µ¥¡C³oùØ´N¤£¬Ý¤F¡A¤Ó¥§º¿§N¤F¡A±o¶i³QºÛ¤F¡K
¨¾¿m±¹¬I
³o·|¦A¬Ýµ²¦XUSBªº¨ºÓ¹Ï©pÀ³¸Óª¾¹D¨âºØ¨¾¿m¤èªk¤F§a?
1. ´£¥Ü«H¥ô«H®§ªº®ÉÔ¦pªG¬O¥R¹qÄ_¡A°í¨M¿ïNO
2. ¤]´N¬O¼Æ¦r¤½¥qªº¡§¨¾¿m¯«¾¹¡¨¤Á±¼USBªºdata¼Æ¾Ú¡]²q´ú¼Æ¦r¤½¥q³o麽·Fªº¡^
«u¡A¦n¤[¨S¼g¤å³¹¤F¦³ÂI¤â¥Í¡A¼g¤F§Ö³üÓ¤p®É´N¨ì¦¹¥´¦í¤F¡A¼gµÛ¤å³¹¨S¦³¥ô¦ó´c·N¡A¥u¬O·Q¤À¨É³ü¨ÇªF¦è¡A»{Ãѧڪº¤H³£ª¾¹D§Ú«Ü¼Ö·N¤À¨É©Ò´x´¤ªºª¾ÃѨåB¬OµL±ø¥óªº¡C©p·|°Ý¬°Ô£±q©l¦Ü²×³£¨S¦³¬Ý¨ì©pªº¡§¥R¹qÄ_¡¨¡AÃB¨S¿ú¶RÐù¡A«¢«¢¡K
ª©Åv«H®§
ì³Ð§@«~FreeBuf¿W®aºµo¡A§Ú³Õ«È³£ÁÙ¨Sµo¥¬
weibo: @creturn
blog: [url]www.creturn.com[/url]
«á±¦³®É¶¡¤F¦A¼gÓIOSÃö¾÷ÅÑÅ¥ªºªF¦è¡A«u¡A¤W¦¸¦Y¶º®ÉÔ»¡n§Ë³üÓ¡A·Pıµ¹¦Û¤v«õ¤FÓ§|¡K
[¥»¤å¥Ñ§@ªÌcreturnì³Ð¨Ã§ë½ZFreeBuf¡Aª©ÅvÄÝ©ócreturn¡AÂà¸ü¶·µù©ú¨Ó¦ÛFreeBuf.COM]