<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Programming on blag</title><link>https://blog.beford.org/categories/programming/</link><description>Recent content in Programming on blag</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 10 Mar 2013 20:59:02 +0000</lastBuildDate><atom:link href="https://blog.beford.org/categories/programming/index.xml" rel="self" type="application/rss+xml"/><item><title>OchoTracks - 8tracks.com client for MeeGo and Maemo 5</title><link>https://blog.beford.org/2013/03/10/ochotracks-8tracks-com-client-for-meego-and-maemo-5/</link><pubDate>Sun, 10 Mar 2013 20:59:02 +0000</pubDate><guid>https://blog.beford.org/2013/03/10/ochotracks-8tracks-com-client-for-meego-and-maemo-5/</guid><description>&lt;p&gt;I&amp;rsquo;ve been working on this new project since last week. Things are coming along, and hopefully I will be able to port it to BlackBerry 10 too.&lt;/p&gt;
&lt;p&gt;MeeGo - N9&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" src="https://blog.beford.org/img/imgur/b0rW6KU.png"&gt;&lt;/p&gt;
&lt;p&gt;Maemo 5 - N900&lt;br&gt;
&lt;img loading="lazy" src="https://blog.beford.org/img/imgur/Qdl8PUm.png"&gt;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ll try to release a beta version of this next week!&lt;/p&gt;</description></item><item><title>Nseries Nokia N810</title><link>https://blog.beford.org/2008/06/25/nseries-nokia-n810/</link><pubDate>Wed, 25 Jun 2008 00:22:25 +0000</pubDate><guid>https://blog.beford.org/2008/06/25/nseries-nokia-n810/</guid><description>&lt;p&gt;I&amp;rsquo;ve already got the N810, so far I&amp;rsquo;ve got to say that it&amp;rsquo;s an awesome device, it&amp;rsquo;s way smaller than I thought it would be. I had to &lt;a href="http://maemo.org/community/wiki/HOWTO_FlashLatestNokiaImageWithLinux/"&gt;flash the N810&lt;/a&gt; using the lastest firmware in order to install some applications such as &lt;a href="http://www.skype.com/download/skype/nokia/"&gt;Skype&lt;/a&gt;. 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&amp;rsquo;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.&lt;/p&gt;</description></item><item><title>Nokia N810</title><link>https://blog.beford.org/2008/05/08/nokia-n810/</link><pubDate>Thu, 08 May 2008 10:06:46 +0000</pubDate><guid>https://blog.beford.org/2008/05/08/nokia-n810/</guid><description>&lt;p&gt;I&amp;rsquo;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&amp;rsquo;ll probably buy it next week, it&amp;rsquo;ll cost me around 620 USD, 200 dollars more than Amazon&amp;rsquo;s price, sucks, but that&amp;rsquo;s what happens when companies like Nokia don&amp;rsquo;t bring their products into &amp;rsquo;third world countries&amp;rsquo;. Should I consider another device?&lt;/p&gt;</description></item><item><title>Security Bookmarklets</title><link>https://blog.beford.org/2008/01/28/security-bookmarklets/</link><pubDate>Mon, 28 Jan 2008 23:47:57 +0000</pubDate><guid>https://blog.beford.org/2008/01/28/security-bookmarklets/</guid><description>&lt;p&gt;I took a couple of days from my school vacation to write 3 bookmarklets that will help me when auditing web sites, I&amp;rsquo;d like to share them here because I know that they&amp;rsquo;ll help some of my friends, and probably one of the two readers of this blog.&lt;/p&gt;
&lt;p&gt;[Text2SQLChar](javascript:(function(){ x=prompt(&amp;lsquo;Input text:&amp;rsquo;,&amp;rsquo;&amp;rsquo;);l=x.length;t=x.charCodeAt(0);for (i = 1;i&amp;lt;l;i++) t = t +&amp;rsquo;,&amp;rsquo;+x.charCodeAt(i);prompt(&amp;lsquo;Output: &amp;lsquo;, &amp;lsquo;Char(&amp;rsquo;+t+&amp;rsquo;)&amp;rsquo;); })();) Converts an string into a CHAR() mysql, usefull when magic_quotes is on.&lt;br&gt;
[SQLIncrement](javascript:(function(){url=decodeURI(location);if (url.indexOf(&amp;lsquo;select 1&amp;rsquo;)==-1) { alert(&amp;lsquo;Inject a simple 'union select 1' first.&amp;rsquo;);return; }max=url.substring(url.indexOf(&amp;lsquo;select 1&amp;rsquo;)).split(&amp;rsquo;,&amp;rsquo;).length;if (max&amp;gt;1) zx = (max-1)+&amp;rsquo;,&amp;rsquo;+max; else zx = &amp;lsquo;select 1&amp;rsquo;;tmp=url.indexOf(zx);location=encodeURI(url.substring(0, tmp+zx.length)+&amp;rsquo;,&amp;rsquo;+(max+1)+url.substring(tmp+zx.length));})()) Increments automatically the number of columns of the injected select query.&lt;br&gt;
[SQLDecrement](javascript:(function(){url=decodeURI(location);if (url.indexOf(&amp;lsquo;select 1&amp;rsquo;)==-1) { alert(&amp;lsquo;Inject a simple 'union select 1' first.&amp;rsquo;);return; }max=url.substring(url.indexOf(&amp;lsquo;select 1&amp;rsquo;)).split(&amp;rsquo;,&amp;rsquo;).length;if (max&amp;gt;2) zx = (max-2)+&amp;rsquo;,&amp;rsquo;+(max-1); else { if (max==2) zx=&amp;lsquo;select 1&amp;rsquo;; else return; } tmp=url.indexOf(zx);dx = &amp;lsquo;,&amp;rsquo;+max;location=encodeURI(url.substring(0, tmp+zx.length)+url.substring(tmp+zx.length+dx.length));})()) Decrements automatically the number of columns of the injected select query.&lt;br&gt;
[Increment](javascript:(function(){ var e,s; IB=1; function isDigit(c) { return (&amp;lsquo;0&amp;rsquo; &amp;lt;= c &amp;amp;&amp;amp; c &amp;lt;= &amp;lsquo;9&amp;rsquo;) } L = decodeURI(location.href); LL = L.length; for (e=LL-1; e&amp;gt;=0; &amp;ndash;e) if (isDigit(L.charAt(e))) { for(s=e-1; s&amp;gt;=0; &amp;ndash;s) if (!isDigit(L.charAt(s))) break; break; } ++s; if (e&amp;lt;0) return; oldNum = L.substring(s,e+1); newNum = &amp;rsquo;&amp;rsquo; + (parseInt(oldNum,10) + IB); while (newNum.length &amp;lt; oldNum.length) newNum = &amp;lsquo;0&amp;rsquo; + newNum; location.href = L.substring(0,s) + newNum + L.slice(e+1); })();) Allows you to navigate up html files or images that have a number in them.&lt;br&gt;
[Decrement](javascript:(function(){ var e,s; IB=-1; function isDigit(c) { return (&amp;lsquo;0&amp;rsquo; &amp;lt;= c &amp;amp;&amp;amp; c &amp;lt;= &amp;lsquo;9&amp;rsquo;) } L = decodeURI(location.href); LL = L.length; for (e=LL-1; e&amp;gt;=0; &amp;ndash;e) if (isDigit(L.charAt(e))) { for(s=e-1; s&amp;gt;=0; &amp;ndash;s) if (!isDigit(L.charAt(s))) break; break; } ++s; if (e&amp;lt;0) return; oldNum = L.substring(s,e+1); newNum = &amp;rsquo;&amp;rsquo; + (parseInt(oldNum,10) + IB); while (newNum.length &amp;lt; oldNum.length) newNum = &amp;lsquo;0&amp;rsquo; + newNum; location.href = L.substring(0,s) + newNum + L.slice(e+1); })();) Allows you to navigate down html files or images that have a number in them.&lt;br&gt;
&lt;a href="javascript:(function()%7Bx=prompt('Text:','');l=x.length%3;if(l)for(i=1;i%3C7-l;i++)x=x+'%20';;prompt('Output:',window.btoa(x));%7D)();"&gt;base64&lt;/a&gt; Firefox only, base64 with no padding&lt;/p&gt;</description></item></channel></rss>