<?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>techrageo.us &#187; Searching</title>
	<atom:link href="http://techrageo.us/taxonomy/categories/searching/feed/" rel="self" type="application/rss+xml" />
	<link>http://techrageo.us</link>
	<description>insight on technology</description>
	<lastBuildDate>Sun, 30 May 2010 14:29:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Security and Google Code Search</title>
		<link>http://techrageo.us/2006/10/09/security-and-google-code-search/</link>
		<comments>http://techrageo.us/2006/10/09/security-and-google-code-search/#comments</comments>
		<pubDate>Mon, 09 Oct 2006 09:05:50 +0000</pubDate>
		<dc:creator>bill</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Searching]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://techrageo.us/2006/10/09/security-and-google-code-search/</guid>
		<description><![CDATA[If you use WordPress be careful. An example Google Code Search search going around is &#8220;username file:wp-config.php&#8221; which happily displays username and passwords in WordPress config files&#8230; if they&#8217;re in compressed archives or a publicly accessible directory. Same goes for other configuration or settings files. For instance, connection strings in web.config files (connection string file:web.config), [...]]]></description>
			<content:encoded><![CDATA[<p>If you use WordPress be careful. An example Google Code Search search going around is &#8220;<a href="http://google.com/codesearch?as_q=username&amp;as_filename=wp-config.php">username file:wp-config.php</a>&#8221; which happily displays username and passwords in WordPress config files&#8230; if they&#8217;re in compressed archives or a publicly accessible directory.</p>
<p>Same goes for other configuration or settings files. For instance, connection strings in web.config files (<a href="http://google.com/codesearch?q=connectionstring+file%3Aweb.config">connection string file:web.config</a>), Movable Type passwords (<a href="http://google.com/codesearch?q=file%3Amt-db-pass.cgi">file:mt-db-pass.cgi</a>), keygen name serial, backdoor passwords (<a href="http://google.com/codesearch?q=backdoor.*password">backdoor.*password</a>), MySQL root passwords (<a href="http://google.com/codesearch?q=file%3Aconfig.inc.php+%22MySQL+password%22+root">file:config.inc.php &#8220;MySQL password&#8221; root</a>, etc.</p>
<p>Of course, one could search for code vulerable to cross-site scripting, SQL Injection (<a href="http://google.com/codesearch?q=lang%3Aphp+mysql_query%5C%28.*%5C%24_%28GET%7CPOST%7CCOOKIE%7CREQUEST%29.*%5C%29">lang:php mysql_query\(.*\$_(GET|POST|COOKIE|REQUEST).*\)</a>), remote code execution <a href="http://google.com/codesearch?q=lang:php (include|require)\s*(\(|\s).*\$_(GET|POST)">(lang:php (include|require)\s*(\(|\s).*\$_(GET|POST))</a>, header injection, and on and on.</p>
<p>Spammers can cull email addresses from code with a simple code search as well (<a href="http://google.com/codesearch?q=%5Ba-z%5D*%40%5Ba-z%5D*.com">[a-z]*@[a-z]*.com</a>)</p>
<p>So what have we learned?</p>
<ul>
<li>Do not put passwords in public code, including zipped code archives.</li>
<li>Be more diligent to protect against SQL Injection and similar exploits. I.e. do not trust user input of any sort.</li>
<li>Do not put email addresses in public code.</li>
<li>In general, keep your eyes and ears open for security exploits and protect against them.</li>
</ul>
<p>We can&#8217;t be perfect, but we ought to try.</p>
<p>Seen <a href="http://deathbycomet.com/2006/10/05/some-of-your-db-passwords-are-belong-to-us/">here</a>, <a href="http://illyana.com/2006/10/05/googles-code-search/">here</a>, and <a href="http://ilia.ws/archives/133-Google-Code-Search-Hackers-best-friend.html">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://techrageo.us/2006/10/09/security-and-google-code-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Code Search</title>
		<link>http://techrageo.us/2006/10/08/google-code-search/</link>
		<comments>http://techrageo.us/2006/10/08/google-code-search/#comments</comments>
		<pubDate>Mon, 09 Oct 2006 02:53:16 +0000</pubDate>
		<dc:creator>bill</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Searching]]></category>

		<guid isPermaLink="false">http://techrageo.us/2006/10/08/google-code-search/</guid>
		<description><![CDATA[Google Labs has released a Code Search tool (google.com/codesearch). You can limit the results to languages (lang:), particular licenses (license:), files (file:), and packages (package:). Regular expressions are supported as well. Language support appears to be limited to the following: Ada, ASP, Assembly, Basic, C, C++, C#, Eiffel, Erlang, Fortran, Java, JavaScript, JSP, Lex, Limbo, [...]]]></description>
			<content:encoded><![CDATA[<p>Google Labs <a href="http://googleblog.blogspot.com/2006/10/more-developer-love-with-google-code.html">has released</a> a <a href="http://www.google.com/codesearch">Code Search tool</a> (<a href="http://www.google.com/codesearch">google.com/codesearch</a>).</p>
<p>You can limit the results to languages (lang:), particular licenses (license:), files (file:), and packages (package:). Regular expressions are supported as well.</p>
<p>Language support appears to be limited to the following: Ada, ASP, Assembly, Basic, C, C++, C#, Eiffel, Erlang, Fortran, Java, JavaScript, JSP, Lex, Limbo, Lisp, Lua, Makefile, Mathematica, Matlab, Objective C, Perl, PHP, PostScript, Python, Ruby, Scheme, Shell, Smalltalk, SQL, Tcl, Troff, and Yacc. Wonder why no COBOL, SNOBOL, PL1, Pascal, JCL, etc.? Besides &#8220;they&#8217;re old languages.&#8221; Unfortunately, not everyone is hip and happening, and programmers struggling to support old systems are likely to need a good resource like this. Google, can you add some languages?</p>
<p>Anyhow, support for regular expressions is welcome. The licenses you can use in the searches include: Aladdin Public License, Artistic License, Apache License, Apple Public Source License, BSD License, Common Public License, GNU General Public License, GNU Lesser General Public License, Historical Permission Notice and Disclaimer, IBM Public License, Lucent Public License, MIT License, Mozilla Public License, NASA Open Source Agreement, Python Software Foundation License, Q Public License, Sleepycat License, and the Zope Public License.</p>
<p>Some example searches:
<ul>
<li><a href="http://www.google.com/codesearch?q=blowfish+lang%3Ajavascript">blowfish lang:javascript</a></li>
<li><a href="http://www.google.com/codesearch?q=obfuscate+lang%3Aphp">obfuscate lang:php</a></li>
<li><a href="http://google.com/codesearch?q=screen.*scrape+lang%3Ac">screen.*scrape lang:c</a></li>
<li><a href="http://google.com/codesearch?q=file%3A%5C.js%24+sneaky">file:\.js$ sneaky</a></li>
<li><a href="http://google.com/codesearch?q=find.*path+lang%3Ac%2B%2B+-license%3Agpl">find.*path lang:c++ -license:gpl</a></li>
</ul>
<p>Seen <a href="http://www.techcrunch.com/2006/10/05/google-presents-code-search">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://techrageo.us/2006/10/08/google-code-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Notebook Ho Hum?</title>
		<link>http://techrageo.us/2006/05/16/google-notebook-ho-hum/</link>
		<comments>http://techrageo.us/2006/05/16/google-notebook-ho-hum/#comments</comments>
		<pubDate>Tue, 16 May 2006 12:52:41 +0000</pubDate>
		<dc:creator>bill</dc:creator>
				<category><![CDATA[Searching]]></category>
		<category><![CDATA[Tech News]]></category>

		<guid isPermaLink="false">http://techrageo.us/2006/05/16/google-notebook-ho-hum/</guid>
		<description><![CDATA[Google Notebook launches and TechCrunch says ho hum, complaining about the lack of tagging and the Google-like interface. They like the drag-drop organization and ability to quickly search across public notebooks.]]></description>
			<content:encoded><![CDATA[<p><a href="http://google.com/notebook">Google Notebook</a> launches and TechCrunch <a href="http://www.techcrunch.com/2006/05/16/google-notebook-launches/">says ho hum</a>, complaining about the lack of tagging and the Google-like interface. They like the drag-drop organization and ability to quickly search across public notebooks.</p>
]]></content:encoded>
			<wfw:commentRss>http://techrageo.us/2006/05/16/google-notebook-ho-hum/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Yahoo Offers Easier E-Mail Search</title>
		<link>http://techrageo.us/2005/08/30/yahoo-offers-easier-e-mail-search/</link>
		<comments>http://techrageo.us/2005/08/30/yahoo-offers-easier-e-mail-search/#comments</comments>
		<pubDate>Tue, 30 Aug 2005 19:11:15 +0000</pubDate>
		<dc:creator>grant</dc:creator>
				<category><![CDATA[Free]]></category>
		<category><![CDATA[Searching]]></category>

		<guid isPermaLink="false">http://techrageo.us/2005/08/30/yahoo-offers-easier-e-mail-search/</guid>
		<description><![CDATA[Yahoo isn&#8217;t going down without a fight. They are now offering an improved search technology which allows you to not only search messages, but also attachments. This is another instance where Yahoo is on top of the game, instead of Google. Everywhere else they are playing catchup. Competition is good.]]></description>
			<content:encoded><![CDATA[<p>Yahoo isn&#8217;t going down without a fight. They are now offering an <a href="http://www.pcworld.com/news/article/0,aid,122346,00.asp">improved search technology</a> which allows you to not only search messages, but also attachments.</p>
<p>This is another instance where Yahoo is on top of the game, instead of Google.  Everywhere else they are playing catchup.</p>
<p>Competition is good.</p>
]]></content:encoded>
			<wfw:commentRss>http://techrageo.us/2005/08/30/yahoo-offers-easier-e-mail-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search for c/c++ code</title>
		<link>http://techrageo.us/2005/08/09/search-for-cc-code/</link>
		<comments>http://techrageo.us/2005/08/09/search-for-cc-code/#comments</comments>
		<pubDate>Tue, 09 Aug 2005 20:06:00 +0000</pubDate>
		<dc:creator>grant</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Searching]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://techrageo.us/?p=41</guid>
		<description><![CDATA[C Source Search is a new tool that makes it easy to search for pre-written open source code that can help you do your project without re-inventing the wheel. Most of the code is GPL, so you won&#8217;t be able to use it in commercial applications (unless it is for internal use only). Also, the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://csourcesearch.net/"> C Source Search</a> is a new tool that makes it easy to search for pre-written open source code that can help you do your project without re-inventing the wheel.</p>
<p>Most of the code is GPL, so you won&#8217;t be able to use it in commercial applications (unless it is for internal use only).</p>
<p>Also, the server is a poor old Celeron so don&#8217;t expect any blazingly fast searches.</p>
]]></content:encoded>
			<wfw:commentRss>http://techrageo.us/2005/08/09/search-for-cc-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
