<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ios &#8211; swigger&#039;s BLOG</title>
	<atom:link href="https://www.swigger.net/category/ios/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.swigger.net</link>
	<description>醉卧沙场君莫笑 古来征战几人回</description>
	<lastBuildDate>Fri, 08 Mar 2013 15:46:48 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>使iphone ssh可以输入中文</title>
		<link>https://www.swigger.net/2013/03/08/%e4%bd%bfiphone-ssh%e5%8f%af%e4%bb%a5%e8%be%93%e5%85%a5%e4%b8%ad%e6%96%87/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 08 Mar 2013 15:46:48 +0000</pubDate>
				<category><![CDATA[ios]]></category>
		<guid isPermaLink="false">http://www.swigger.net/?p=362</guid>

					<description><![CDATA[结论很简单，把以下内容写入/etc/inputrc set input-meta &#8230; <a href="https://www.swigger.net/2013/03/08/%e4%bd%bfiphone-ssh%e5%8f%af%e4%bb%a5%e8%be%93%e5%85%a5%e4%b8%ad%e6%96%87/">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>结论很简单，把以下内容写入/etc/inputrc<br />
set input-meta on<br />
set meta-flag on<br />
set output-meta on<br />
set convert-meta off</p>
<p>过程：通过gdb调试/bin/bash，从rl_read_init_file开始调试，后来强制调用rl_variable_dumper，输出信息。<br />
在正常的linux上，写测试代码调用rl_variable_dumper输出调试信息，两相比对，再逐步化简得出结论。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>手机中毒</title>
		<link>https://www.swigger.net/2012/11/02/%e6%89%8b%e6%9c%ba%e4%b8%ad%e6%af%92/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 02 Nov 2012 05:13:11 +0000</pubDate>
				<category><![CDATA[ios]]></category>
		<guid isPermaLink="false">http://www.swigger.net/?p=356</guid>

					<description><![CDATA[iphone 4s, ios5. 表现： ssh一直不能使用，不能连接到ipho &#8230; <a href="https://www.swigger.net/2012/11/02/%e6%89%8b%e6%9c%ba%e4%b8%ad%e6%af%92/">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>iphone 4s, ios5.<br />
表现： ssh一直不能使用，不能连接到iphone的sshd. 用sbsettings开，关无效。<br />
怀疑 sbsettings，启用ssh后卸载，重启，无效。<br />
重装openssh，无效，多次重装发现，在装的过程中可以连上，但很快失效。<br />
利用装的进程的短短时间快速记录进程，与不能用的时候对比，发现sshd被杀。<br />
发现文件系统上 /usr/sbin/sshd 在能连上时存在，不能连时，此文件被删除。<br />
因此怀疑有进程删除了/usr/sbin/sshd</p>
<p>经过排查和google，找到了可疑进程poc-bbot，原来这个竟然是 iphone ikee worm。<br />
删除办法 http://www.iphonefaq.org/archives/97723<br />
此毒是通过扫描网段里的22端口，用root帐号alpine密码登录传染jailbroken iphone的。<br />
我的手机root密码早就改了，在越狱之后不久就改了。回想起来，应该就是在这一很短的时间里就中了ikee病毒。还好此毒危害不大，以后不能在公共wifi下越狱了。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>change shell for jail-broken iphone/ipad</title>
		<link>https://www.swigger.net/2011/07/24/change-shell-for-jail-broken-iphoneipad/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sun, 24 Jul 2011 14:52:56 +0000</pubDate>
				<category><![CDATA[ios]]></category>
		<guid isPermaLink="false">http://www.swigger.net/?p=275</guid>

					<description><![CDATA[One can ssh into his iphone/ipad by ssh  &#8230; <a href="https://www.swigger.net/2011/07/24/change-shell-for-jail-broken-iphoneipad/">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>One can ssh into his iphone/ipad by ssh once jailbroked and installed openssh in cydia. But the shell is /bin/sh by default.</p>
<p>Today I tried to change the shell to /bin/bash by modifying /etc/passwd, but then I found this didn&#8217;t help.</p>
<p>I got nothing useful after a bit of googling.</p>
<p>Finally  by analysis strings in pam_unix.so I found /etc/master.passwd in it. So this is the answer: modifying /etc/master.passwd changes the shell.</p>
<p>Enjoy bash on ios!</p>
<p>&nbsp;</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
