<?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>Uncategorized on blag</title><link>https://blog.beford.org/categories/uncategorized/</link><description>Recent content in Uncategorized on blag</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 13 Mar 2013 16:38:45 +0000</lastBuildDate><atom:link href="https://blog.beford.org/categories/uncategorized/index.xml" rel="self" type="application/rss+xml"/><item><title>iCloud Cross Site Scripting</title><link>https://blog.beford.org/2013/03/13/icloud-cross-site-scripting/</link><pubDate>Wed, 13 Mar 2013 16:38:33 +0000</pubDate><guid>https://blog.beford.org/2013/03/13/icloud-cross-site-scripting/</guid><description>&lt;p&gt;&lt;a href="https://blog.beford.org/wp-content/uploads/2013/03/icloud.png"&gt;&lt;img alt="icloud" loading="lazy" src="https://blog.beford.org/wp-content/uploads/2013/03/icloud.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;iCloud Cross Site in the subject of email messages fixed by apple and &lt;a href="http://support.apple.com/kb/HT1318"&gt;acknowledged here.&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Google Vulnerability Reward Program</title><link>https://blog.beford.org/2013/02/08/google-vulnerability-reward-program/</link><pubDate>Fri, 08 Feb 2013 00:10:33 +0000</pubDate><guid>https://blog.beford.org/2013/02/08/google-vulnerability-reward-program/</guid><description>&lt;p&gt;I was unable to claim a reward from reporting Google a vulnerability, so I decided to donate it to charity! Google doubles the price of the reward, so it was 1000$ USD for &lt;a href="http://www.sfcapc.org/"&gt;San Francisco Child Abuse Prevention Center&lt;/a&gt; :).&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.beford.org/wp-content/uploads/2013/02/donation.png"&gt;&lt;img alt="donation" loading="lazy" src="https://blog.beford.org/wp-content/uploads/2013/02/donation.png"&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Error del programa de instalación de SQL Server</title><link>https://blog.beford.org/2013/02/04/error-del-programa-de-instalacion-de-sql-server/</link><pubDate>Mon, 04 Feb 2013 16:43:14 +0000</pubDate><guid>https://blog.beford.org/2013/02/04/error-del-programa-de-instalacion-de-sql-server/</guid><description>&lt;p&gt;Al iniciar la instalación de SQL Server 2008 en Windows 7 el siguiente error puede aparecer El programa de instalación de SQL Server encontró el siguiente error: No se puede llamar a Invoke o BeginInvoke en un control hasta que se haya creado el identificador de ventana.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.beford.org/wp-content/uploads/2013/02/error-invoke.png"&gt;&lt;img alt="error-invoke" loading="lazy" src="https://blog.beford.org/wp-content/uploads/2013/02/error-invoke.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Para solucionarlo &lt;a href="http://www.microsoft.com/download/details.aspx?id=3988"&gt;instalamos Microsoft Core XML (MSXML) 6.0&lt;/a&gt;. Luego procedemos con la instalación.&lt;/p&gt;</description></item><item><title>YUT Codegate 2012 CTF</title><link>https://blog.beford.org/2012/02/26/yut-codegate-2012-ctf/</link><pubDate>Sun, 26 Feb 2012 20:33:46 +0000</pubDate><guid>https://blog.beford.org/2012/02/26/yut-codegate-2012-ctf/</guid><description>&lt;p&gt;&lt;a href="https://blog.beford.org/wp-content/uploads/2012/02/codegate_banner.png"&gt;&lt;img loading="lazy" src="https://blog.beford.org/wp-content/uploads/2012/02/codegate_banner.png" title="codegate_banner"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Este viernes 24 de febrero empezó el Codegate 2012. Logramos terminar en el lugar número 38 de 182 equipos, como siempre ningún equipo de latinoamerica por encima de nosotros :). El equipo no estuvo completo, &lt;a href="http://sinfocol.org"&gt;Daniel&lt;/a&gt; solo participó un par de horas y yo tampoco hice gran cosa, la mayor parte del trabajo fue por &lt;a href="https://twitter.com/#!/marceloje"&gt;emyei&lt;/a&gt; y &lt;a href="https://twitter.com/#!/_g05u_"&gt;gosu&lt;/a&gt;. Nuestro scoreboard al final del evento fue:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.beford.org/wp-content/uploads/2012/02/scoreboard.png"&gt;&lt;img loading="lazy" src="https://blog.beford.org/wp-content/uploads/2012/02/scoreboard.png" title="scoreboard"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Se nos escaparon un par de retos que ya teniamos &lt;em&gt;&lt;strong&gt;casi&lt;/strong&gt;&lt;/em&gt; resueltos pero bueno, para una proxima oportunidad será.  El rank final lo pueden ver a continuación:&lt;/p&gt;</description></item><item><title>N900 Mer boot to QMLViewer</title><link>https://blog.beford.org/2012/02/14/n900-mer-boot-to-qmlviewer/</link><pubDate>Tue, 14 Feb 2012 03:40:25 +0000</pubDate><guid>https://blog.beford.org/2012/02/14/n900-mer-boot-to-qmlviewer/</guid><description>&lt;p&gt;The following kickstart files allows the n900 to boot into qmlviewer, I&amp;rsquo;m going to highlight just the bottom of it, with the next lines we create the launcher for the qmlviewer and then create a symbolic link to make it the default desktop environment.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;cat &amp;gt; /usr/share/xsessions/x-meego-qmlviewer.desktop &amp;lt;&amp;lt; EOF
[Desktop Entry]
Version=1.0
Name=qmlviewer session
Exec=/usr/bin/qmlviewer
Type=Application
EOF
# Set symlink pointing to .desktop file
ln -sf x-meego-qmlviewer.desktop /usr/share/xsessions/default.desktop
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Here is a video of N900 booting:&lt;/p&gt;</description></item><item><title>Fix for Failed to upload package: Failure on QtCreator</title><link>https://blog.beford.org/2012/02/07/fix-for-failed-to-upload-package-failure-on-qtcreator/</link><pubDate>Tue, 07 Feb 2012 15:32:52 +0000</pubDate><guid>https://blog.beford.org/2012/02/07/fix-for-failed-to-upload-package-failure-on-qtcreator/</guid><description>&lt;p&gt;Just got hit by this problem, whenever I tried to deploy my application:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt; 11:06:04: Package created.
11:06:04: Installing package to sysroot ...
Package &amp;#39;untitled&amp;#39; installed.
11:06:04: Preparing SFTP connection...
11:06:04: Starting upload...
11:06:04: Failed to upload package: Failure
11:06:04: Deploy step failed.
Error while building project untitled (target: Harmattan)
When executing build step &amp;#39;Deploy Debian package via SFTP upload&amp;#39;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;And a notification warning about the little remaining data storage appeared on the device, which I wrongly ignored at first. The problem occurs because QtCreator tries to copy the debian packate to /tmp on the device, N9 for me, and it fails if the space is full. I managed to fill my /tmp partition (which is just 4Mb btw..) by testing some big application. Solution is, ssh to your device, check if you /tmp is full (df -h) and delete any .deb file left there by QtCreator.&lt;/p&gt;</description></item><item><title>CSAW 2011 - Reversing - Python 200</title><link>https://blog.beford.org/2011/09/26/csaw-2011-reversing-python-200/</link><pubDate>Mon, 26 Sep 2011 06:43:41 +0000</pubDate><guid>https://blog.beford.org/2011/09/26/csaw-2011-reversing-python-200/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Python - 200 Points&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;nc csawctf.poly.edu 53080&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;When we connected to the port it was running a service Haderper:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;-----------------------------
| Welcome to Haderper! |
| Please enter your command |
-----------------------------
&amp;gt; help
Haderper v0.1-alpha
Command help:
help - this screen
exec - execute a command
derp - derp a string
underp - underp a string
logout/exit - disconnect
&amp;gt; derp hi
UydoaScKcDAKLg==
&amp;gt; underp UydoaScKcDAKLg==
hi
&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;If we decode the base64 string we can see that it looks like a Pickle dump file:&lt;/p&gt;</description></item><item><title>Hack.lu 2011 CTF – Python Crackme Solution</title><link>https://blog.beford.org/2011/09/22/hack-lu-2011-ctf-python-crackme-solution/</link><pubDate>Thu, 22 Sep 2011 01:00:47 +0000</pubDate><guid>https://blog.beford.org/2011/09/22/hack-lu-2011-ctf-python-crackme-solution/</guid><description>&lt;blockquote&gt;
&lt;h1 id="python-crackme"&gt;Python Crackme&lt;/h1&gt;
&lt;p&gt;This challenge&amp;rsquo;s hero, needs your help. Sadly, our Commander Sheen has lost his Pogo Stick. Without his Pogo Stick, Commander Sheen is not WINNING. Can you help him? Solve the puzzle and find out what space-tool could support him. &lt;a href="https://ctf.hack.lu/files/crackme.pyc"&gt;download&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;After downloading the mentioned file, we can see it is a pyc file which can be run with python2.7, using the script provided here to review the &lt;a href="http://nedbatchelder.com/blog/200804/the_structure_of_pyc_files.html"&gt;structure of pyc files&lt;/a&gt;  (if you are using 64 bits python make sure to change &lt;em&gt;struct.unpack(&amp;lsquo;L&amp;rsquo;, moddate)[0])&lt;/em&gt; to &lt;em&gt;struct.unpack(&amp;rsquo;&amp;lt;L&amp;rsquo;, moddate)[0])&lt;/em&gt; to get it working.) we could see some stuff like how many arguments it required to run:&lt;/p&gt;</description></item><item><title>iPhone 3G - Reparar error 1015 al actualizar a iOS 4.2.1</title><link>https://blog.beford.org/2011/08/28/iphone-3g-reparar-error-1015-al-actualizar-a-ios-4-2-1/</link><pubDate>Sun, 28 Aug 2011 06:08:56 +0000</pubDate><guid>https://blog.beford.org/2011/08/28/iphone-3g-reparar-error-1015-al-actualizar-a-ios-4-2-1/</guid><description>&lt;p&gt;&lt;strong&gt;Advertencia&lt;/strong&gt;: No me hago responsable de cualquier daño que pueda ocurrir. El proceso que documento en la siguiente entrada es el que me funciono a mi.  Específicamente, el teléfono que se reparo fue un iPhone 3G, con baseband 06.10.00, este procedimiento ni el firmware que se proporciona funcionará en otros modelos.&lt;/p&gt;
&lt;p&gt;Primero intentare explicar porque se produce este error, muy seguramente tu telefono para poder liberarlo del Carrier Lock (abrirle las bandas, liberar la sim para que acepte otros operadores) la persona que lo liberó instalo el baseband 06.10.00 para iPad en su teléfono, y luego usó la herramienta &lt;em&gt;ultrasn0w&lt;/em&gt;.&lt;/p&gt;</description></item><item><title>CTF Campus Party 2011 Colombia</title><link>https://blog.beford.org/2011/07/08/ctf-campus-party-2011-colombia/</link><pubDate>Fri, 08 Jul 2011 21:44:47 +0000</pubDate><guid>https://blog.beford.org/2011/07/08/ctf-campus-party-2011-colombia/</guid><description>&lt;p&gt;Este año representé a &lt;a href="http://null-life.com" title="null-life team"&gt;NULL-Life&lt;/a&gt; en el CTF de Campus Party Colombia, logré obtener el primer lugar, el premio fue un magico iPad 2 :D (que aún no me han entregado, pero la paciencia es la virtud de todo pentester). Les dejo el &lt;a href="http://beford.net/stuff/WriteUpCampusPartyCo2011.pdf"&gt;writeup&lt;/a&gt; para que vean la dificultad y solucion de todos los retos.&lt;/p&gt;
&lt;p&gt;La próxima semana viene el CTF de Campus Party Valencia, en el cual podremos participar como equipo :D&lt;/p&gt;</description></item><item><title>PlaidCTF 2011 - Division is HARD!!</title><link>https://blog.beford.org/2011/04/28/plaidctf-2011-division-is-hard/</link><pubDate>Thu, 28 Apr 2011 18:04:33 +0000</pubDate><guid>https://blog.beford.org/2011/04/28/plaidctf-2011-division-is-hard/</guid><description>&lt;p&gt;Esta vez participamos en el PlaidCTF, organizado por el Plaid Parlament of Pwning. Muchos retos, casi 40 para resolverlos en 2 dias, y con una dificultad considerable.&lt;/p&gt;
&lt;p&gt;Obtuvimos la posicion numero 42 con NULL Life, aunque nos faltaba un miembro importante del equipo. Nos ubicamos por encima de los otros equipos Colombianos, el ultimo dia del ctf el equipo RICTeam nos logro empatar, pero teniamos un As bajo la manga y los pudimos dejar abajo faltando 5 minutos para terminar el CTF cuando ya poco podian hacer. Pueden ver la &lt;a href="http://www.plaidctf.com/scoreboard"&gt;tabla de posiciones&lt;/a&gt; completa en el &lt;a href="http://www.plaidctf.com/"&gt;sitio de plaidctf&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Firefox 3.6.19 Remote Code Execution</title><link>https://blog.beford.org/2011/04/15/firefox-3-6-19-remote-code-execution/</link><pubDate>Fri, 15 Apr 2011 06:32:08 +0000</pubDate><guid>https://blog.beford.org/2011/04/15/firefox-3-6-19-remote-code-execution/</guid><description>&lt;p&gt;&lt;a href="https://blog.beford.org/wp-content/uploads/2011/04/minefield-icon.png"&gt;&lt;img loading="lazy" src="https://blog.beford.org/wp-content/uploads/2011/04/minefield-icon.png" title="minefield-icon"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To be disclosed soon.&lt;/p&gt;</description></item><item><title>MeeGo Image Creator mic2 on ArchLinux</title><link>https://blog.beford.org/2011/01/08/meego-image-creator-mic2-on-archlinux/</link><pubDate>Sat, 08 Jan 2011 22:39:14 +0000</pubDate><guid>https://blog.beford.org/2011/01/08/meego-image-creator-mic2-on-archlinux/</guid><description>&lt;p&gt;It has been a while since I first tried and failed to get mic2 working on my ArchLinux machine. Since then Arch moved to python 3, and some additional steps are required to get it working, fortunately this time the issues I encountered where easily fixed, I will be reporting them to the packages maintainers, also I have adopted one of them that was abandoned. I have uploaded my PKGBUILDs here just in case the maintainers are unable to make changes soon.&lt;/p&gt;</description></item><item><title>Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'IUSR'@'localhost' (using password: NO)</title><link>https://blog.beford.org/2010/11/29/warning-mysql_connect-function-mysql-connect-access-denied-for-user-iusrlocalhost-using-password-no/</link><pubDate>Mon, 29 Nov 2010 15:58:55 +0000</pubDate><guid>https://blog.beford.org/2010/11/29/warning-mysql_connect-function-mysql-connect-access-denied-for-user-iusrlocalhost-using-password-no/</guid><description>&lt;p&gt;If you keep getting this warning, even though you are supplying a different username and a password, make sure the sql.safemode setting is Off on the php.ini file. On linux/cpanel instead of showing IUSR the user of your cpanel account may appear, but the problem is still the same.&lt;/p&gt;</description></item><item><title>Prolink Pixelview MPEG 8000GT en Archlinux</title><link>https://blog.beford.org/2010/11/27/prolink-pixelview-mpeg-8000gt-en-archlinux/</link><pubDate>Sat, 27 Nov 2010 03:10:54 +0000</pubDate><guid>https://blog.beford.org/2010/11/27/prolink-pixelview-mpeg-8000gt-en-archlinux/</guid><description>&lt;p&gt;Esta tarjeta tiene un chip Conexant CX23880. La salida de lspci -nn debe contener los siguientes&lt;/p&gt;
&lt;p&gt;04:01.0 Multimedia video controller [0400]: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [14f1:8800] (rev 05)&lt;br&gt;
04:01.1 Multimedia controller [0480]: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] [14f1:8801] (rev 05)&lt;/p&gt;
&lt;p&gt;Primero que todo debemos conseguir el firmware xc3028-v27.fw y copiarlo a /lib/firmware/. Para los que quieran obtener el firmware, en mi sitio lo he subido, aclaro que no se si tengo derecho para distribuirlo,  si alguien se queja lo quitaré. Tambien hay una guia sobre como extraerlo directamente desde los controladores para Windows &lt;a href="http://www.linuxtv.org/wiki/index.php/Xceive_XC3028/XC2028#How_to_Obtain_the_Firmware"&gt;http://www.linuxtv.org/wiki/index.php/Xceive_XC3028/XC2028#How_to_Obtain_the_Firmware&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Obtener lista de karma en teams Launchpad.net</title><link>https://blog.beford.org/2010/07/30/obtener-lista-de-karma-en-teams-launchpad-net/</link><pubDate>Fri, 30 Jul 2010 23:55:13 +0000</pubDate><guid>https://blog.beford.org/2010/07/30/obtener-lista-de-karma-en-teams-launchpad-net/</guid><description>&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; I&amp;rsquo;ve just updated the bookmarklet, I added the option to tell it the team size, it was hardcoded at 200, now you can put the value, also it doesn&amp;rsquo;t show members with 0 karma. I&amp;rsquo;ll probably get off my laziness and code it in perl/python :)&lt;/p&gt;
&lt;p&gt;Este es un pequeño javascript para obtener una lista de los miembros de un equipo de launchpad, organizada por el karma, utilizando el API de launchpad.net y Mochikit.&lt;/p&gt;</description></item><item><title>Explotar vulnerabilidad LNK</title><link>https://blog.beford.org/2010/07/27/explotar-vulnerabilidad-lnk/</link><pubDate>Tue, 27 Jul 2010 17:40:20 +0000</pubDate><guid>https://blog.beford.org/2010/07/27/explotar-vulnerabilidad-lnk/</guid><description>&lt;p&gt;Gracias al &lt;a href="http://www.sinfocol.org/2010/07/analisis-vulnerabilidad-cve-2010-2568/" title="Análisis vulnerabilidad CVE-2010-2568 (Archivos .LNK)"&gt;analisis sobre la vulnerabilidad y explotacion de LNK&lt;/a&gt; realizado por Daniel, se pudo crear un archivo LNK indetectable por los Antivirus que reproduce esta falla, les recomiendo esta lectura a los que esten interesados en este bug.&lt;/p&gt;</description></item><item><title>Defcon and smpCTF 2010 PreQuals</title><link>https://blog.beford.org/2010/07/12/defcon-and-smpctf-2010-prequals/</link><pubDate>Mon, 12 Jul 2010 18:16:23 +0000</pubDate><guid>https://blog.beford.org/2010/07/12/defcon-and-smpctf-2010-prequals/</guid><description>&lt;p&gt;Este año participé con el equipo de &lt;a href="http://sinfocol.org"&gt;Daniel&lt;/a&gt; en los Prequals de Defcon y smpCTF. Fue una gran experiencia, no habia participado en este tipo de eventos hace varios años, desde que deje de resolver los retos de Yashira, logramos quedar en las posiciones 91/266 en Defcon y 30/196 en el smpCTF, por encima de otros equipos de Colombia.&lt;/p&gt;
&lt;p&gt;Daniel ya publicó algunos papers sobre Defcon, y pronto colocará los nuevos sobre smpCTF.&lt;/p&gt;</description></item><item><title>Reparando el error 1606: Could not access network location %APPDATA%</title><link>https://blog.beford.org/2009/12/29/reparando-el-error-1606-could-not-access-network-location-appdata/</link><pubDate>Tue, 29 Dec 2009 21:50:43 +0000</pubDate><guid>https://blog.beford.org/2009/12/29/reparando-el-error-1606-could-not-access-network-location-appdata/</guid><description>&lt;p&gt;Este problema puede ocurrir al intentar instalar o desinstalar algún programa:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.beford.org/wp-content/uploads/2009/12/Dibujo.jpg"&gt;&lt;img alt="Dibujo" loading="lazy" src="https://blog.beford.org/wp-content/uploads/2009/12/Dibujo-150x150.jpg" title="Dibujo"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tambien ocurre cuando se instala el Microsoft Security Essentials, y el numero de error es 0x80070643.&lt;/p&gt;
&lt;p&gt;Para solucionarlo ejecutamos el regedit, y vamos a:&lt;/p&gt;
&lt;p&gt;HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders&lt;/p&gt;
&lt;p&gt;Verificamos el tipo y el valor de el registro AppData, tiene que ser REG_EXPANDED_SZ, y en mi caso Windows 7 tenia un valor incorrecto «%APPDATA%» lo cambiamos por «%USERPROFILE%\AppData\Roaming».&lt;/p&gt;
&lt;p&gt;He preparado un archivo archivo .reg para corregir automaticamente este problema, lo pueden &lt;a href="http://beford.net/stuff/appdata_fix.reg"&gt;descargar aqui para Windows 7&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Como reparar bucle infinito Actualizacion 3 de 3</title><link>https://blog.beford.org/2009/11/20/como-reparar-bucle-infinito-actualizacion-3-de-3/</link><pubDate>Fri, 20 Nov 2009 04:29:47 +0000</pubDate><guid>https://blog.beford.org/2009/11/20/como-reparar-bucle-infinito-actualizacion-3-de-3/</guid><description>&lt;p&gt;Durante la instalacion del SP1 de Windows Vista, es posible que el equipo quede en un estado donde cada vez que arranque nos muestre un mensaje que diga &amp;lsquo;Configurando actualizacion 3 de 3&amp;rsquo; se reinicie, y al encender nuevamente siempre nos muestre el mismo mensaje.&lt;/p&gt;
&lt;p&gt;Para reparar este problema, algunas veces se puede ingresar al sistema en modo seguro, y renombrar los archivos pending.xml y cleanup.xml de Windows\WinSXS, cuando no es posible hacerlo y contamos con el medio de instalacion, podremos usar la opcion de Reparar sistema, ya que no todos los fabricantes envian el medio de instalacion original es posible que no lo tengamos, en este caso, iniciamos el equipo desde un Windows PE / BartPE, o un LiveCD de GNU/Linux.&lt;/p&gt;</description></item><item><title>Google Wave - Make your friends logout gadget</title><link>https://blog.beford.org/2009/11/20/google-wave-make-your-friends-logout-gadget/</link><pubDate>Fri, 20 Nov 2009 04:04:14 +0000</pubDate><guid>https://blog.beford.org/2009/11/20/google-wave-make-your-friends-logout-gadget/</guid><description>&lt;p&gt;Adding this gadget to any wave will make people log out when they see it:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://beford.org/stuff/waveg.xml"&gt;http://beford.org/stuff/waveg.xml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The code:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;&amp;lt;script type=&amp;#34;text/javascript&amp;#34;&amp;gt;
top.location=&amp;#34;https://wave.google.com/wave/logout&amp;#34;;
&amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>Fix Firefox look on KDE4</title><link>https://blog.beford.org/2009/11/20/fix-firefox-look-on-kde4/</link><pubDate>Fri, 20 Nov 2009 03:31:54 +0000</pubDate><guid>https://blog.beford.org/2009/11/20/fix-firefox-look-on-kde4/</guid><description>&lt;p&gt;To fix the look of Shiretoko on Archlinux do:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;pacman -Syy
pacman -S pacman -S qtcurve-gtk2&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Go to Applications -&amp;gt; Settings -&amp;gt; GTK Styles and Fonts&lt;/p&gt;
&lt;p&gt;Select &amp;lsquo;Use another style&amp;rsquo; and choose &amp;lsquo;QtCurve&amp;rsquo; and you are done.&lt;/p&gt;
&lt;p&gt;Before&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.beford.org/wp-content/uploads/2009/11/snapshot2.png"&gt;&lt;img alt="snapshot2" loading="lazy" src="https://blog.beford.org/wp-content/uploads/2009/11/snapshot2-150x150.png" title="snapshot2"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;After&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.beford.org/wp-content/uploads/2009/11/snapshot3.png"&gt;&lt;img alt="snapshot3" loading="lazy" src="https://blog.beford.org/wp-content/uploads/2009/11/snapshot3-150x150.png" title="snapshot3"&gt;&lt;/a&gt;&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>