﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-j2ee绿洲-文章分类-MAC相关知识</title><link>http://www.blogjava.net/livery/category/52887.html</link><description>找到属于自己的一片天空</description><language>zh-cn</language><lastBuildDate>Thu, 25 Oct 2012 07:14:56 GMT</lastBuildDate><pubDate>Thu, 25 Oct 2012 07:14:56 GMT</pubDate><ttl>60</ttl><item><title>safari 连接goagent</title><link>http://www.blogjava.net/livery/articles/390128.html</link><dc:creator>心情经纬</dc:creator><author>心情经纬</author><pubDate>Tue, 23 Oct 2012 13:13:00 GMT</pubDate><guid>http://www.blogjava.net/livery/articles/390128.html</guid><wfw:comment>http://www.blogjava.net/livery/comments/390128.html</wfw:comment><comments>http://www.blogjava.net/livery/articles/390128.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/livery/comments/commentRss/390128.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/livery/services/trackbacks/390128.html</trackback:ping><description><![CDATA[<p style="margin: 0px 0px 25px; padding: 0px; vertical-align: baseline; outline: none; font-size: 16px; background-color: #fefefe; border: none; color: #333333; font-family: Georgia, Times, 'Times New Roman', serif; line-height: 25px; ">前提是已经将本地的goagent配置成功.详细的配置可以见官方url&nbsp;<span style="font-size: 10pt; "><u>https://code.google.com/p/goagent/</u></span><span style="font-size: 12pt; "></span><span style="font-size: 12px;"><br /></span>步骤如下:<br />1. 在Chrome的SwitchySharp插件的选项中将pac文件导出为SwitchyPac.pac(我的在下载目录下)。</p><p style="margin: 0px 0px 25px; padding: 0px; vertical-align: baseline; outline: none; font-size: 16px; background-color: #fefefe; border: none; color: #333333; font-family: Georgia, Times, 'Times New Roman', serif; line-height: 25px; ">2.&nbsp;在Safari偏好设置当中，选择高级-代理。选择第二项自动代理配置，在右侧选择刚才的pac文件。</p><p style="margin: 0px 0px 25px; padding: 0px; vertical-align: baseline; outline: none; font-size: 16px; background-color: #fefefe; border: none; color: #333333; font-family: Georgia, Times, 'Times New Roman', serif; line-height: 25px; ">3.在第三项web代理(HTTP)，右侧填写goagent地址，默认是127.0.0.1:8087。</p><img src ="http://www.blogjava.net/livery/aggbug/390128.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/livery/" target="_blank">心情经纬</a> 2012-10-23 21:13 <a href="http://www.blogjava.net/livery/articles/390128.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>苹果破解软件原理总结</title><link>http://www.blogjava.net/livery/articles/390124.html</link><dc:creator>心情经纬</dc:creator><author>心情经纬</author><pubDate>Tue, 23 Oct 2012 12:19:00 GMT</pubDate><guid>http://www.blogjava.net/livery/articles/390124.html</guid><wfw:comment>http://www.blogjava.net/livery/comments/390124.html</wfw:comment><comments>http://www.blogjava.net/livery/articles/390124.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/livery/comments/commentRss/390124.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/livery/services/trackbacks/390124.html</trackback:ping><description><![CDATA[<div><span style="font-size: 18pt; "><strong>苹果基本授权原理：</strong></span></div><div><span style="font-size: 12px;">&nbsp; &nbsp; &nbsp;为了防止盗版，苹果在所有的iPhone软件中也加入了DRM内容数字版权加密保护技术。类似于iTunes媒体文件，每一个IPA软件都带有DRM。安装程序时，若发现电脑未授权，即私钥不存在，安装程序就会自动终止。若发现授权账号和购买账号不一致，即公钥与私钥不相匹配，安装程序也会自动终止。如果通过某种方法将软件直接塞进设备，运行程序的结果将会是自动退出,ios6开始弹出账号,请求输入账号和密码。这就是数字签名验证。</span></div><div><span style="font-size: 12px;">因此，路人甲购买的软件除了有他账号的人可以使用之外，其他任何人都使用不了（因此想要分享自己购买的软件，分享之前一定要把IPA破解掉）。这样一来，苹果就最大程度上减少了盗版的可能性。</span></div><div><span style="font-size: 18pt; "><strong>破解软件说明</strong></span><span style="font-size: 12px;">：</span></div><div><span style="font-size: 12px;">破解软件实际上就是去除了DRM保护的软件。破解软件的过程就是去除软件DRM数字签名的过程。</span></div><div><span style="font-size: 12px;">这就是为什么未越狱机器不能安装破解软件的原因。没有公钥，安装程序就会自动停止，并且出现&#8220;应用程序"XXX"未安装在iPhone"XXX"上，因为发生未知错误(0xE8008001)&#8221;的提示。所以安装破解软件的必要条件就是设备要越狱。设备越狱之后，系统最高权限被打开，系统文件就可以被修改了。安装破解软件，就需要把数字签名验证这一机制给去掉。这就是为什么在安装破解IPA之前，2.X时代要替换MobileInstallation文件，3.X ,4.X ,5.X系统要安装AppSync的原因，原理就是骗过iTunes的数字签名验证，允许没有合法签名的程序在设备上运行。</span></div><div><span style="font-size: 12px;"><br /></span></div><div><span style="font-size: 18pt; ">苹果软件通用的破解过程如下：</span></div><div><span style="font-size: 12px;">1．通过输入信息在var/mobile/Applications下定位待破解软件所在位置</span></div><div><span style="font-size: 12px;">2．复制软件目录下所有的文件到一个临时目录</span></div><div><span style="font-size: 12px;">3．通过toolchain中的otool分析程序主文件，找出cryptsize和cryptid</span></div><div><span style="font-size: 12px;">4．运行待破解程序，通过gdb调试程序监测程序内存</span></div><div><span style="font-size: 12px;">5．因为程序已经运行，所以此时是解密状态。dump当前未加密的内存</span></div><div><span style="font-size: 12px;">6．将dunp结果输出到一个bin文件，退出gdb调试程序</span></div><div><span style="font-size: 12px;">7．将主程序文件的cryptid字串改为0，改加密状态为未加密</span></div><div><span style="font-size: 12px;">8．将dump出来的bin文件中的未加密内存的内容覆盖到原主程序文件的相应位置</span></div><div><span style="font-size: 12px;">9．对主程序签名</span></div><div><span style="font-size: 12px;">10．删除一些垃圾文件</span></div><div><span style="font-size: 12px;">11．打包IPA</span></div><div><span style="font-size: 12px;"><br /></span></div><div><span style="font-size: 12px;"><br /></span></div><div><span style="font-size: 12px;"><br /></span></div><div><span style="font-size: 12px;"><br /></span></div><div><span style="font-size: 18pt; "><strong>苹果itunes授权过程</strong></span><span style="font-size: 12px;">：</span></div><div><span style="font-size: 12px;">1.首先申请了一个appstore帐号，itunes会在C盘生成SCinfo (xp下的C:\Documents and Settings\All Users\Application Data\Apple Computer\iTunes\SC Info就是)</span></div><div><span style="font-size: 12px;">2.每在appstore下一个程序，itunes会自动更新sc里的授权信息授权信息里包括系统序列号、C盘ID、网卡MAC等，当然还有你帐户下购买所有的软件列表</span></div><div><span style="font-size: 12px;">3.当利用itunes同步软件时，itunes会同时把该帐号下的授权导入ipad，所以大神们分享授权也是这个原理，只要同步一个帐号下的授权就可以了，当然有新授权除外</span></div><div><span style="font-size: 12px;">4.itunes只认scinfo下的授权文件，所以用不同用户的scinfo可以得到不同人的授权信息并同步给ipad或iphone</span></div><div><span style="font-size: 12px;"><br /></span></div><div><span style="font-size: 18pt; "><strong>多账号授权注意要点</strong></span><span style="font-size: 12px;">：</span></div><div><span style="font-size: 12px;">1.如果有多用户授权文件，如大V、大S、大A等三个人授权文件时(大A跟大V的授权帐号非常多，大概有20多个)先修改硬盘序列号为各授权文件的硬盘序列号(打开各自己授权人的.ini文件可以看到硬盘序列号，在最下边)，然后再COPY授权文件到授权软件目录，导入相应的授权文件，如大V下有13个授权帐号(下过的清楚123个文件夹每个4个授权人软件)这时需要itunes同步13个授权（即内置的13个应用软件）到ipad，每次同步不超过5个应用，同步后，从itunes内删除应用，然后从ipad删除刚安装授权的几个应用，得到13个授权。这时ipad内除了本有的应用外，应该是空的。</span></div><div><span style="font-size: 12px;">2.打开第二个授权人文件，按步骤1的方法导入第二个授权人软件（注意授权人发布授权时一般都有注明有多少个授权帐号，都需要相应的授权帐号软件依次同步导入删除），然后删除ipad内的刚安装授权的应用（如果只有单一授权帐号时不需要删除原有软件）。</span></div><div><span style="font-size: 12px;">3.打开大S授权后重复以上步骤。最终可得到所有坛子上比较热门的所有授权人的帐号授权。</span></div><div><span style="font-size: 12px;">以上每次从itunes同步后，下次同步前，需将ipad内为得到授权而同步内的应用全部删除，或者说把除了系统自带的应用外的所有应用删除。</span></div><div><span style="font-size: 12px;"><br /></span></div><div><span style="font-size: 12px;"><br /></span></div><div><span style="font-size: 12px;"><br /></span></div><div style="font-family: Tahoma; font-size: 11px; "></div><img src ="http://www.blogjava.net/livery/aggbug/390124.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/livery/" target="_blank">心情经纬</a> 2012-10-23 20:19 <a href="http://www.blogjava.net/livery/articles/390124.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Mac OSX 常用快捷键</title><link>http://www.blogjava.net/livery/articles/390099.html</link><dc:creator>心情经纬</dc:creator><author>心情经纬</author><pubDate>Tue, 23 Oct 2012 05:28:00 GMT</pubDate><guid>http://www.blogjava.net/livery/articles/390099.html</guid><wfw:comment>http://www.blogjava.net/livery/comments/390099.html</wfw:comment><comments>http://www.blogjava.net/livery/articles/390099.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/livery/comments/commentRss/390099.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/livery/services/trackbacks/390099.html</trackback:ping><description><![CDATA[<div>Control+SHIFT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;快速放大dock的图标会暂时放大，而如果你开启了dock放大</div><div>Command+Option+W &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;将所有窗口关闭</div><div>Command+W &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;将当前窗口关闭(可以关闭Safari标签栏,很实用)&nbsp;</div><div>Command+Option+M &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;将所有窗口最小化&nbsp;</div><div>Command+Q &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 关闭当前应用程序(相当于Dock鼠标右键推出.很实用)&nbsp;</div><div>Command+M &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 将目前使用的窗口最小化&nbsp;</div><div>Command+H &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 隐藏当前窗口或者软件</div><div>Command＋tab &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 为切换当前工作任务&nbsp;</div><div>Control＋Command＋S &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;切换控制条的显示和隐藏</div><div>Command＋i &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;常规信息（显示及设置图标属性）&nbsp;</div><div>Command＋delete &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 移到废纸篓（删除）&nbsp;</div><div>Optionion+鼠标 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 拖图像或文件夹可以将图像或文件夹拷贝到其它文件夹中，而不是移动</div><div>Command+Shift+backspace &nbsp; &nbsp; 清空废纸篓(再加上option一起按能跳过确认对话框)</div><div>Command+N &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 键可以建立新文件夹 &#8220;return&#8221;或&#8220;enter&#8221;或&#8220;O&#8221;键可以打开所选项目</div><div>Command+Option+esc &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 键可以强行退出死机程序&nbsp;</div><div>Command+Shift+3 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;截图(当前屏幕)</div><div>Command+Shift+4 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 截图(自由选取范围)</div><div>Option＋F12 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 关机窗口(能选择关机、重起、睡眠)&nbsp;</div><div>Command+1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 以图标方式显示</div><div>Command+2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 以分栏方式显示</div><div>Command+3 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 以列表方式显示</div><div>Command+4 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 以Cover Flow方式显示</div><div>return或enter &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;键可以编辑所选图像或文件夹的名称<br />Control+Option+Command+8 &nbsp; &nbsp; 屏幕颜色反转(晚上看书使用)<br /></div><img src ="http://www.blogjava.net/livery/aggbug/390099.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/livery/" target="_blank">心情经纬</a> 2012-10-23 13:28 <a href="http://www.blogjava.net/livery/articles/390099.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>