@KTzone » ¼Æ½X - ¬ì§Þ·s»D » ´¦¯µ¡G¥R¹qÄ_¬O¦p¦óµs¨ú©pªº­Ó¤HÁô¨pªº¡H


2014-12-3 18:52 angelsin
´¦¯µ¡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¥D­n¬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¥u­n«ì´_¤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·Q­n¦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¤S­nÅý§Ú­Ì°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¹ê²{·Q­nªº¥\¯à¡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]

­¶: [1]


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.