<?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>stuff &#187; Programming</title>
	<atom:link href="http://blog.beford.org/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.beford.org</link>
	<description></description>
	<lastBuildDate>Tue, 18 Oct 2011 11:33:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Nseries Nokia N810</title>
		<link>http://blog.beford.org/2008/06/25/nseries-nokia-n810/</link>
		<comments>http://blog.beford.org/2008/06/25/nseries-nokia-n810/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 00:22:25 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[n810]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=26</guid>
		<description><![CDATA[I&#8217;ve already got the N810, so far I&#8217;ve got to say that it&#8217;s an awesome device, it&#8217;s way smaller than I thought it would be. I had to flash the N810 using the lastest firmware in order to install some &#8230; <a href="http://blog.beford.org/2008/06/25/nseries-nokia-n810/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve already got the N810, so far I&#8217;ve got to say that it&#8217;s an awesome device, it&#8217;s way smaller than I thought it would be. I had to <a href="http://maemo.org/community/wiki/HOWTO_FlashLatestNokiaImageWithLinux/">flash the N810</a> using the lastest firmware in order to install some applications such as <a href="http://www.skype.com/download/skype/nokia/">Skype</a>. I was a bit scared of doing it because I had some issues last time I flashed my cell phone, a Sony Ericcson W810i, I fuxored it although I was using Sony&#8217;s Official tool to update it, I was unable to use it for a weeks, the time it took me to do read about flashing with some 3rd party tools.</p>
<p>I&#8217;ve got the scratchbox environment running, I had some issues installing it on Ubuntu Hardy, following some advices from qwerty12 on <a href="http://www.internettablettalk.com">ITT</a> solved everything and allowed me to get the <a href="http://www.internettablettalk.com/forums/showthread.php?p=175208">Maemo SDK running on lastest Ubuntu</a>.</p>
<p>I had to disable vdso by adding vdso=0 to the kernel line on /boot/grub/menu.lst file. The second problem is related to a memory protection that got enabled on lastest kernel, you need to edit /etc/sysctl.conf and change: vm.mmap_min_addr = 65536 to: vm.mmap_min_addr = 4096.</p>
<p>I&#8217;ve already installed the following apps:</p>
<ul>
<li>Canola / Mplayer</li>
<li>FBReader / Evince / Xournal</li>
<li>MaemoFTP / rdesktop / openssh</li>
<li>Duke3D / LxDoom / Quake / iNES</li>
<li>Pidgin / XChat / Skype</li>
</ul>
<p>I was looking for a torrent client, found transmission for maemo, but it was not working very well, it was pausing itself after a while, so with my sbox installation, compiled libtorrent and rtorrent from debian&#8217;s repository, and installed on n810 with dpkg, it works like a charm.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2008/06/25/nseries-nokia-n810/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nokia N810</title>
		<link>http://blog.beford.org/2008/05/08/nokia-n810/</link>
		<comments>http://blog.beford.org/2008/05/08/nokia-n810/#comments</comments>
		<pubDate>Thu, 08 May 2008 10:06:46 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=20</guid>
		<description><![CDATA[I&#8217;ve been wondering if I should get a Nokia N810. I have already installed the Maemo SDK, and got some demos running on my box. I will keep checking the SDK this weekend, if things goes smooth, I&#8217;ll probably buy &#8230; <a href="http://blog.beford.org/2008/05/08/nokia-n810/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been wondering if I should get a Nokia N810. I have already installed the Maemo SDK, and got some demos running on my box. I will keep checking the SDK this weekend, if things goes smooth, I&#8217;ll probably buy it next week, it&#8217;ll cost me around 620 USD, 200 dollars more than Amazon&#8217;s price, sucks, but that&#8217;s what happens when companies like Nokia don&#8217;t bring their products into &#8216;third world countries&#8217;. Should I consider another device?</p>
<p><a href="http://blog.beford.org/wp-content/uploads/2008/05/screenshot.png"><img class="alignnone size-medium wp-image-22" title="Maemopad on Maemo SDK" src="http://blog.beford.org/wp-content/uploads/2008/05/screenshot-300x225.png" alt="Maemo SDK " width="216" height="162" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2008/05/08/nokia-n810/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security Bookmarklets</title>
		<link>http://blog.beford.org/2008/01/28/security-bookmarklets/</link>
		<comments>http://blog.beford.org/2008/01/28/security-bookmarklets/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 23:47:57 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[ie]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=13</guid>
		<description><![CDATA[I took a couple of days from my school vacation to write 3 bookmarklets that will help me when auditing web sites, I&#8217;d like to share them here because I know that they&#8217;ll help some of my friends, and probably &#8230; <a href="http://blog.beford.org/2008/01/28/security-bookmarklets/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I took a couple of days from my school vacation to write 3 bookmarklets that will help me when auditing web sites, I&#8217;d like to share them here because I know that they&#8217;ll help some of my friends, and probably one of the two readers of this blog.</p>
<p><a class="bml" href="javascript:(function(){ x=prompt('Input text:','');l=x.length;t=x.charCodeAt(0);for (i = 1;i&lt;l;i++) t = t +','+x.charCodeAt(i);prompt('Output: ', 'Char('+t+')'); })();">Text2SQLChar</a> Converts an string into a CHAR() mysql, usefull when magic_quotes is on.<br />
<a class="bml" href="javascript:(function(){url=decodeURI(location);if (url.indexOf('select 1')==-1) { alert('Inject a simple \'union select 1\' first.');return; }max=url.substring(url.indexOf('select 1')).split(',').length;if (max&gt;1) zx = (max-1)+','+max; else zx = 'select 1';tmp=url.indexOf(zx);location=encodeURI(url.substring(0, tmp+zx.length)+','+(max+1)+url.substring(tmp+zx.length));})()">SQLIncrement</a> Increments automatically the number of columns of the injected select query.<br />
<a class="bml" href="javascript:(function(){url=decodeURI(location);if (url.indexOf('select 1')==-1) { alert('Inject a simple \'union select 1\' first.');return; }max=url.substring(url.indexOf('select 1')).split(',').length;if (max&gt;2) zx = (max-2)+','+(max-1); else { if (max==2) zx='select 1'; else return; } tmp=url.indexOf(zx);dx = ','+max;location=encodeURI(url.substring(0, tmp+zx.length)+url.substring(tmp+zx.length+dx.length));})()">SQLDecrement</a> Decrements automatically the number of columns of the injected select query.<br />
<a class="bml" href="javascript:(function(){ var e,s; IB=1; function isDigit(c) { return ('0' &lt;= c &amp;&amp; c &lt;= '9') } L = decodeURI(location.href); LL = L.length; for (e=LL-1; e&gt;=0; --e) if (isDigit(L.charAt(e))) { for(s=e-1; s&gt;=0; --s) if (!isDigit(L.charAt(s))) break; break; } ++s; if (e&lt;0) return; oldNum = L.substring(s,e+1); newNum = '' + (parseInt(oldNum,10) + IB); while (newNum.length &lt; oldNum.length) newNum = '0' + newNum; location.href = L.substring(0,s) + newNum + L.slice(e+1); })();">Increment</a> Allows you to navigate up html files or images that have a number in them.<br />
<a class="bml" href="javascript:(function(){ var e,s; IB=-1; function isDigit(c) { return ('0' &lt;= c &amp;&amp; c &lt;= '9') } L = decodeURI(location.href); LL = L.length; for (e=LL-1; e&gt;=0; --e) if (isDigit(L.charAt(e))) { for(s=e-1; s&gt;=0; --s) if (!isDigit(L.charAt(s))) break; break; } ++s; if (e&lt;0) return; oldNum = L.substring(s,e+1); newNum = '' + (parseInt(oldNum,10) + IB); while (newNum.length &lt; oldNum.length) newNum = '0' + newNum; location.href = L.substring(0,s) + newNum + L.slice(e+1); })();">Decrement</a> Allows you to navigate down html files or images that have a number in them.<br />
<a class="bml" href="javascript:(function(){x=prompt('Text:','');l=x.length%3;if(l)for(i=1;i&lt;7-l;i++)x=x+'%20';;prompt('Output:',window.btoa(x));})();">base64</a> Firefox only, base64 with no padding</p>
<p>I wrote the first 3 of them, I&#8217;m not javascript god, so they need to get improved, I&#8217;ll try to make them shorter, and follow a couple of suggestion from <a href="http://www.bookmarklets.com/about/make/js.html">bookmarklets.com</a>. The two others come from <a href="http://ha.ckers.org/bookmarklets.html">RSnake&#8217; bookmarklet collection</a>, where I fixed a detail, it was not decoding the URL before using it, so if the url contained an escaped value at the end of the url like %20, it would modify it and change it to %21. I&#8217;ll keep this post updated whenever I find or write a new security-related bookmarklet. As another issue, I noticed that the site looks ugly on low resolution systems, so I&#8217;ll try to get a new theme to fix that on a couple of days and update the wordpress version.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2008/01/28/security-bookmarklets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

