<?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>Mundo Ruby &#187; Security</title>
	<atom:link href="http://www.mundoruby.com.ar/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mundoruby.com.ar</link>
	<description>Ruby Artists, Hackers y otras yerbas ...</description>
	<lastBuildDate>Wed, 12 Aug 2009 23:02:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>First stable beta of ESearchy is out!</title>
		<link>http://www.mundoruby.com.ar/2009/07/14/first-stable-beta-of-esearchy-is-out/</link>
		<comments>http://www.mundoruby.com.ar/2009/07/14/first-stable-beta-of-esearchy-is-out/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 13:02:22 +0000</pubDate>
		<dc:creator>FreedomCoder</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.mundoruby.com.ar/?p=145</guid>
		<description><![CDATA[
Finally, after weeks of work, the first stable Beta of ESearchy is up and running in github&#8217;s gem repository.
Esearchy is a small library capable of searching the internet for email addresses. Currently, the supported search methods are engines such as Google, Bing, Yahoo, PGP servers, GoogleGroups, Linkedin, etc , but I intend to add many [...]]]></description>
			<content:encoded><![CDATA[<p>
<p>Finally, after weeks of work, the first stable Beta of ESearchy is up and running in github&#8217;s gem repository.<br />
Esearchy is a small library capable of searching the internet for email addresses. Currently, the supported search methods are engines such as Google, Bing, Yahoo, PGP servers, GoogleGroups, Linkedin, etc , but I intend to add many more.</p>
<p>Also, the library searches inside .pdf, .docx, .xlsx, .pptx, asn and .txt files for emails addresses and adds them to the list of found accounts. Finally, we have support for .docs files but for now only in Windows Platforms. (For more information visit: <a href="http://github.com/FreedomCoder/esearchy/tree/master"> Github </a> .</p>
<p>In order to install it you simple add the repository and then install the gem, as shown below.</p>
<p>
<div class="geshifilter">
<div class="geshifilter-bash" style="font-family: monospace;">
<ol>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&gt; &nbsp;gem sources -a http://gems.github.com</div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&gt; &nbsp;gem <span style="color: #c20cb9; font-weight: bold;">install</span> FreedomCoder-esearchy</div>
</li>
</ol>
</div>
</div>
<p>Once the gem is installed, you can create a new search opening and/or use the &#8220;esearchy&#8221; CLI tool but it&#8217;s really basic so far and it does not has all of the plugins.</p>
<div class="geshifilter">
<div class="geshifilter-ruby" style="font-family: monospace;">
<ol>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">&#8216;esearchy&#8217;</span></div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp;</div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color:#6666ff; font-weight:bold;">ESearchy::LOG</span>.<span style="color:#9900CC;">level</span> = <span style="color:#6666ff; font-weight:bold;">ESearchy::APP</span> <span style="color:#008000; font-style:italic;">#Output to the stdout. </span></div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp;</div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">ESearchy.<span style="color:#9900CC;">create</span> <span style="color:#996600;">&quot;domain.com&quot;</span> <span style="color:#9966CC; font-weight:bold;">do</span> |d|</div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; d.<span style="color:#9900CC;">yahoo_key</span> = <span style="color:#996600;">&quot;yourAPIkeygoeshere&quot;</span></div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; d.<span style="color:#9900CC;">bing_key</span> = <span style="color:#996600;">&quot;yourAPIkeygoeshere&quot;</span> </div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; <span style="color:#008000; font-style:italic;"># if you want to also look in LinkedIn</span></div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; d.<span style="color:#9900CC;">company_name</span> <span style="color:#996600;">&quot;Company Name&quot;</span></div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; <span style="color:#008000; font-style:italic;">#A user is needed in order to search within Linkedin</span></div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; d.<span style="color:#9900CC;">linkedin_credentials</span> <span style="color:#996600;">&quot;myuser@linkedin.com&quot;</span>, <span style="color:#996600;">&quot;mypwd&quot;</span> </div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; d.<span style="color:#9900CC;">maxhits</span> = <span style="color:#006666;">50</span> </div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; d.<span style="color:#9900CC;">search</span></div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal">&nbsp; d.<span style="color:#9900CC;">save_to_file</span> <span style="color:#996600;">&quot;company_emails.txt&quot;</span></div>
</li>
<li style="font-family: monospace; font-weight: normal;">
<div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color:#9966CC; font-weight:bold;">end</span></div>
</li>
</ol>
</div>
</div>
<p>
If you have any comments, issues or want to submit a bug please do so on<br />
<a href="http://github.com/FreedomCoder/esearchy/issues">http://github.com/FreedomCoder/esearchy/issues</a></p>
<p> Hopefully it will be useful to you.<br /> <img src='http://www.mundoruby.com.ar/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
</p>
<p>(Via <a href="http://www.freedomcoder.com.ar">自由編碼人</a>.) Original Link: <a href="http://www.freedomcoder.com.ar/node/155#comments">First stable beta of ESearchy is out!</a></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-7949681675937032";
google_ad_slot = "0874687580";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mundoruby.com.ar/2009/07/14/first-stable-beta-of-esearchy-is-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Desinfecta tu html (sanitizer)</title>
		<link>http://www.mundoruby.com.ar/2009/06/13/desinfecta-tu-html-sanitizer/</link>
		<comments>http://www.mundoruby.com.ar/2009/06/13/desinfecta-tu-html-sanitizer/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 12:17:03 +0000</pubDate>
		<dc:creator>FreedomCoder</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.mundoruby.com.ar/?p=107</guid>
		<description><![CDATA[
simple_sanitizer_html es un plugin muy sencillo que arme para Rails, que te permite básicamente escapar el html.
Lo interesante de este plugin es que solo debemos extender el modelo y de forma automática guarda todo los registros escapando el html en la base de datos.
Instalar simple_sanitizer_html


  http://github.com/chebyte/simple_sanitizer_html/tree/master


Uso Práctico


# ruby script/generate model Post title:string copy:text




class Post
 [...]]]></description>
			<content:encoded><![CDATA[<p>
<p><a href="http://github.com/chebyte/simple_sanitizer_html/tree/master">simple_sanitizer_html </a>es un plugin muy sencillo que arme para Rails, que te permite básicamente<a href="http://www.chebyte.com.ar/2009/06/12/desinfecta-tu-html-sanitizer/"> escapar el html</a>.<br />
Lo interesante de este plugin es que solo debemos extender el modelo y de forma automática guarda todo los registros escapando el html en la base de datos.</p>
<p><strong>Instalar simple_sanitizer_html</strong></p>
<div class="wp_syntax">
<div class="code">
<pre class="ruby ruby" style="font-family:monospace;">  http:<span style="color:#006600; font-weight:bold;">//</span>github.<span style="color:#9900CC;">com</span><span style="color:#006600; font-weight:bold;">/</span>chebyte<span style="color:#006600; font-weight:bold;">/</span>simple_sanitizer_html<span style="color:#006600; font-weight:bold;">/</span>tree<span style="color:#006600; font-weight:bold;">/</span>master</pre>
</div>
</div>
<p><strong>Uso Práctico</strong></p>
<div class="wp_syntax">
<div class="code">
<pre class="ruby ruby" style="font-family:monospace;"><span style="color:#008000; font-style:italic;"># ruby script/generate model Post title:string copy:text</span></pre>
</div>
</div>
<div class="wp_syntax">
<div class="code">
<pre class="ruby ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">class</span> Post
 simple_sanitizer_html
<span style="color:#9966CC; font-weight:bold;">end</span></pre>
</div>
</div>
<div class="wp_syntax">
<div class="code">
<pre class="ruby ruby" style="font-family:monospace;">$ ruby script<span style="color:#006600; font-weight:bold;">/</span>console
Loading development environment <span style="color:#006600; font-weight:bold;">&#40;</span>Rails 2.3.2<span style="color:#006600; font-weight:bold;">&#41;</span>
<span style="color:#CC0066; font-weight:bold;">p</span> <span style="color:#006600; font-weight:bold;">&gt;&gt;</span> <span style="color:#CC0066; font-weight:bold;">p</span> = Post.<span style="color:#9900CC;">new</span>
<span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#008000; font-style:italic;">#&lt;Post id: nil, title: nil, copy: nil, created_at: nil, updated_at: nil&gt;</span>
<span style="color:#006600; font-weight:bold;">&gt;&gt;</span> <span style="color:#CC0066; font-weight:bold;">p</span>.<span style="color:#9900CC;">title</span> = <span style="color:#996600;">&quot;&lt;script&gt;alert('hi tuquito')&lt;/script&gt;&quot;</span>
<span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">&quot;&lt;script&gt;alert('hi tuquito')&lt;/script&gt;&quot;</span>
<span style="color:#006600; font-weight:bold;">&gt;&gt;</span> <span style="color:#CC0066; font-weight:bold;">p</span>.<span style="color:#9900CC;">save</span>
<span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#0000FF; font-weight:bold;">true</span>
<span style="color:#006600; font-weight:bold;">&gt;&gt;</span> <span style="color:#CC0066; font-weight:bold;">p</span>.<span style="color:#9900CC;">title</span>
<span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">&quot;&amp;lt;script&amp;gt;alert(&amp;#39;hi tuquito&amp;#39;)&amp;lt;/script&amp;gt;&quot;</span>
<span style="color:#006600; font-weight:bold;">&gt;&gt;</span></pre>
</div>
</div>
<p>Este plugin puede ser muy útil para<a href="http://www.chebyte.com.ar/2009/06/12/desinfecta-tu-html-sanitizer/"> prevenir ataques XSS</a> o del estilo</p>
</p>
<p>(Via <a href="http://www.chebyte.com.ar">Chebyte&#8217;s Blog</a>.)  Original Link: <a href="http://www.chebyte.com.ar/2009/06/12/desinfecta-tu-html-sanitizer/#comments">Desinfecta tu html (sanitizer)</a></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-7949681675937032";
google_ad_slot = "0874687580";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mundoruby.com.ar/2009/06/13/desinfecta-tu-html-sanitizer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

