Hi, I'm Juan Pablo Pincheira, a CS Student from Chile. This is just a log with random things I'm interested in.

my first run

Hola, this was my first run using this system. I really suck at running, hopefully I improve on this shit.

Just laugh at this, you’re allowed to:

  my first run

…negga, I’m not gay, negga don’t come up me on none of that shit, don’t fuckin’ disrespect me, I respect, I respect where you’re coming from, you know what I’m sayin’, I respect, I respect beings gangsta, I’m not gangsta, I’m not gay either, don’t disrespect me at the fuckin’ man, that’s all I’m sayin’, you know what I’m sayin’, so… that’s it.

AIDS, a human-made virus?

YOU’VE SAID AIDS IS A BIOLOGICAL WEAPON MANUFACTURED BY THE DEVELOPING WORLD TO WIPE OUT THE BLACK RACE. do you still believe that? I have no idea who created aids and whether it is a biological agent or not. But I do know things like that don’t come from the moon. I have always thought that it is important to tell people the truth, but I guess there is some truth that must not be too exposed.

Source http://www.time.com/time/magazine/article/0,9171,901041018-713166,00.html

fundamentals of programming

This semester I had programming at the college, it sucked. The professor really didn’t know how to teach us the way to break problems into instrutions to be written in a logic way (for the computer). Yup, he was an asshole too.

About KDE implementation in Firefox 3

From Alex Faaborg blog:

“The reason Linux isn’t shown above is that all of the feedback we’ve received so far indicates that Linux users would be happier with a theme that uses native GTK icons in the navigation toolbar, which rules out this type of customized visual treatment. Linux theme work is really active right now, see the details in my last post, and some really thorough coverage over at Ars Technica.” 

Translation: “KDE sucks”. 

The way we forget the bad times we've been through

Yep. You probably thought that I wasn’t gonna write the full post in english. I’ll do it ‘cause it’s my channel, if you don’t like it, just switch to other shit. Well, let’s get started with the thing I wanted to write here: I just did a quick read of my tumblelog and I just realized how unappreciative I am. I’ve been reading some old posts where I was really, really troubled. I had no money for college, I was fuckin’ fat, I had no love. Thanks god now I’m fine, studying at college, working and happy, now I’m in a good relation with my family and I love the way things got better in my life. I just hadn’t realized all these good things I’m living right now, I’m just being ungrateful with all the people that were with me in the past bad times, not recognizing the help and support they gave me when I was fucked up. I’m really sorry ‘bout that.
Me too: As for the iPhone, just 3-percent of students claimed that they owned one, but nearly 10-percent stated that they were looking to pick one up “within the next six months”.
Comprar sexo a una prostituta no es una solución para los problemas que nacen de la soledad, de la frustración y de una carencia de auténticas relaciones.
…it seems ridiculous to me to sell a powerful device with Wi-Fi and a huge screen, and to leave out things like an email program, even though you can use Web-based email programs. I assume Apple was concerned that the less costly Touch might compete too much with the iPhone if it had these features.

WEP cracking

wep cracking:
ingredientes: dlink g-122 (rev. b1) + vmware + backtrack live cd

levantamos el dispositivo (rausb0, llamado así por el nombre de su chipset: ralink):
ifconfig rausb0 up

ponemos el dispositivo en modo monitor para que sea capaz de capturar paquetes:
iwconfig rausb0 mode monitor

ejecutamos airodump, con el que capturaremos paquetes, en este caso, IVs (Vectores de Identificación) que son los que contienen información acerca de la clave que queremos conseguir. Con -w especificamos el archivo en el que se guardarán los datos que capturará airodump (el nombre del archivo, como verás, es “test”). En este caso, seleccionamos un canal específico que del que queremos capturar IVs (el canal en donde se encuentra al red de la cual queremos obtener la clave), pero podemos no especificarlo (no poner como argumentos de ejecución “—channel 8” lo que llevará a que el programa escuche todos los canales, del 1 al 11), finalmente, escribimos el nombre del dispositivo de red inalámbrico:
airodump-ng —ivs -w test —channel 8 rausb0

mientras se ejecuta airodump, abrimos una nueva ventana de algún intérprete de comandos (comúnmente bash) y ejecutamos aireplay, el cual nos permitirá inyectar paquetes de petición de protocolo de resolución de dirección (ARP-request packets) en una red inalámbrica para así generar tráfico. Enviando este tipo de paquetes (ARP-request o, en español, paquetes de petición de protocolo de resolución de dirección) una y otra vez, el host (computador que provee servicios a otros computadores, probablemente un típico router o enrutador inalámbrico) responderá con IVs.
Explicando los argumentos de ejecución, con “—arpreplay” estamos especificando el tipo de ataque que queremos realizar, en este caso ARP-request Replay (o repetición de peticiones ARP). Con -b especificamos la dirección MAC del host (AP) que queremos atacar. Con -h especificamos la dirección MAC de la fuente (estación conectada al BSSID (MAC del host). Estas dos direcciónes MAC las obtenemos de la pantalla de ejecución de airodump. Y por último, especificamos el dispositivo de red (rausb0):
aireplay-ng —arpreplay -b 00:14:BF:0B:B8:EC -h 00:13:02:89:8E:64 rausb0

Al tener una cantidad razonable de paquetes *data packets* (De 250.000 a 2.000.000 aprox., para que sea seguro encontrar la clave), abrimos una nueva ventana de terminal (shell, o como quieras llamarle) y ejecutamos aircrack (decodificador de claves wep/wpa) con los siguientes argumentos: con “-n” especificamos la longitud de la clave, en este caso 64 para una clave WEP de 40 bits. Con “-f” especificamos el nivel de fuerza bruta que se utiliza para decifrar la clave (2 es el parámetro por defecto). Y por último, especificamos lo más importante, el archivo que contiene los IVs (test-01.ivs) que servirán para que aircrack encuentre la clave:
aircrack-ng -n 64 -f 2 test-01.ivs

Esto se usó, con fines de comprobar la seguridad de redes wep, en un router y red propia.

(Via Irongeek)