Archive

Archive for the ‘Hacking’ Category

Is your Mac infected? Find out (and fix it if it is)!

April 6th, 2012 No comments

Over 600,000 Macs are infected with the FlashBack Trojan. Is yours one of those? Let’s find out.

Open the Terminal (c’mon, be a hacker, not a slacker) and type:

defaults read /Applications/Safari.app/Contents/Info LSEnvironment

if it says:

The domain/default pair of (/Applications/Safari.app/Contents/Info, LSEnvironment) does not exist

that means your Mac is ok so far (otherwise, go here). 

Then type:

defaults read ~/.MacOSX/environment DYLD_INSERT_LIBRARIES

if it says:

The domain/default pair of (/Users/[your user name here]/.MacOSX/environment, DYLD_INSERT_LIBRARIES) does not exist

that means your Mac is not infected (otherwise, go here). 

Source FSecure via Ars Technica.

Stop WordPress from removing your “p” and “br” tags

March 8th, 2012 No comments

After wasting hours trying to double space or insert extra line breaks when writing a new post or page in WordPress only to see that WordPress automatically filters the content to remove those extra spaces once you click the “Publish” button, I have found the solution (not as obvious and not readily available in support forums) by using the TinyMCE Advanced plugin, which adds additional functionality to the default WordPress editor, including the ability to stop WordPress from automatically stripping out “p” (paragraph) and “br” (line break) tags. Just install, go to “settings>TinyMCE Advanced” and click on the last option.

Source

You’re welcome. STW ;-)

ArtHack Exhibit closing party in Brooklyn

January 30th, 2012 No comments

Last Saturday I went to the ArtHack Exhibit closing party at 319 Scholes St, Brooklyn (New York).

Located in an industrial complex in Brooklyn, at night, loooong two blocks from the subway, graffiti all over, small door… that gave way to heaven: young (I was the oldest hacker in that space, but I did not feel that way) energetic happy people tinkering with technology and proudly showing their “toys” (hacks, mashups, creations, or whatever). From the 15sec-at-a-time Star Wars fan-boy movie, to the shoot-the-DJ video game, including the bicycle computer interface, the “swim” in front of a kinect to navigate with a browser, the mesh-connected game-of-life sync router status lights, the iPhone jump-rope, the Tororo figure being sculpted by the MakerBots (Replicator and Thing-O-Matic), the GIF Booth Hack as demonstrated by Ashley and Katie… it was all great fun.

As a bonus, on the way back, I got a twilio tshirt, several stickers (Etsy, MakerBot, Alphaonelabs…) and great photo opportunities of the surroundings. That is what I call a great Saturday evening.

RePress: fight online censorship with a WP Plug-In

January 30th, 2012 No comments

I just installed RePress: This plug-in enables you to magically uncensor any website on the internet from your own WordPress installation. Why and How.

Protest against SOPA on your site: easy code

January 17th, 2012 No comments

Thanks to Sara, there is a very easy way to add code to your site to protest against SOPA:
Drop the following code in between your two <HEAD></HEAD> tags on your site, your users will be redirected to the blackout page that describes what you are doing and why.

<script>
window.location = "http://protestsopa.org";
</script>

Then, when the protest is over, simply remove the added code. The protest is starting at 12am on 1/18, and lasts 24 hours.

Para los que no emplean el túnel

October 2nd, 2011 No comments

Si eres de los temerarios (o ignorantes) que no emplean el túnel, quizá la existencia de herramientas tan simples y eficaces como FireSheep te convenza de que ya va siendo hora de que te protejas (o de que demuestres a otros que deberían hacerlo ;-) ).

Averigua lo que pasa interrogando a Twitter

October 1st, 2011 No comments

Con esta herramienta se puede interrogar a Twitter y ver en un gráfico las respuestas.

También lo puedes hacer directamente, pero será mejor que aprendas la sintaxis de interrogación.

Ahora imaginad lo que se puede averiguar con un montón de datos flotando en la red (BigData) y herramientas potentes de interrogación (como BigSheets de IBM).

Aunque los resultados no son estadísticamente válidos (por canal, muestra y población), la “verdad” (como consenso pseudo-objetivo), la “relidad” (como constructo social) nunca ha sido más accesible, y a la vez, los ciudadanos nunca hemos sido más manipulables. Ponte las pilas, o bájate los pantalones. Tú decides. Lo que no vas a poder es escaparte de esta lucha, porque ya ha empezado, y tú formas parte de ella.

Cuando te tocan las narices con telemarketing o estafa telemática

September 18th, 2011 No comments

Si el telemarketing te toca las narices, devuelve el golpe (aunque reconozco que este se pasa, pero es para partirse de risa si no fuese por lo mal que lo pasa el pobre teleoperador).

Si intentan estafarte telemáticamente, aquí va una serie de 4 post (1, 2, 3 y 4) detallando un proceso de investigación.

Poesía en el código

September 18th, 2011 No comments

Algunas de las líneas de código más interesantes y poéticas que uno puede encontrar:

Cabecera C autoejecutable (explicado aquí):
//&>/dev/null;x="${0%.*}";[ ! "$x" -ot "$0" ]||(rm -f "$x";cc -o "$x" "$0")&&exec "$x" "$@"

Para cuando te sientes nihilista…

rm -rf *.*

o bien

rm -rf /

o la bomba de Jaromil, pura poesía (con espacios extra añadidos para evitar cambiar la configuración por defecto de WP para la autodetección de smilies :-) :

: ( ) {  : | : &  } ; :

que en el shell de Windows sería

%0|%0

Y el más hermoso, este código:
main(){float A,B,P,Q,X,Y,d;int i,D=80,n=3120;for(X=-2.,Y=-1.5,d=6./D;B=2*A
*B+Y,A=P-Q+X,n;((P=A*A)+(Q=B*B)>4||++i>D)&&putchar(*((n--%D?X+=d/2,i :11:(X=-2.0,Y+=d,12))+"Mandelbrot! \n"))&&(A=B=P=Q=i=0));}

hace esto (set de Mandelbrot, para los que… olvídalo):

~~~~~~~~~~~~~}}}}}}}}}}}}}}}}}}}}||||||||{{{zyvrwuW{|||||}}}}}}~~~~~~~~~~~~
~~~~~~~~~~}}}}}}}}}}}}}}}}}}}}|||||||||{{{zyxwoaqwxz{{{|||||}}}}}}~~~~~~~~~
~~~~~~~~}}}}}}}}}}}}}}}}}}}|||||||||{{zzzyxvn    Knwyz{{{{||||}}}}}}~~~~~~~
~~~~~~}}}}}}}}}}}}}}}}}}||||||||{{zyxuxxxwvuq     svwwyzzzyr{||}}}}}}}~~~~~
~~~~}}}}}}}}}}}}}}}}}|||||{{{{{zzzxt>  qf             pttfqeqz{|}}}}}}}}~~~
~~~}}}}}}}}}}}}}}|||{{{{{{{{{zzzywotn                     atyz{||}}}}}}}}~~
~~}}}}}}}}}||||{{zwvyyyyyyyyyyyxvsP                        swvz{||}}}}}}}}~
~}}}}|||||||{{{{zyxvpN[ur]spvwwvi                           qxz{|||}}}}}}}}
~}||||||||{{{{{zyytun         qq                            avz{|||}}}}}}}}
~||||||{zzzzyyxtroqb           a                            xz{{|||}}}}}}}}
~@G::# 6# (                                              pvxyz{{||||}}}}}}}
~||||||{zzzzyyxtroqb           a                            xz{{|||}}}}}}}}
~}||||||||{{{{{zyytun         qq                            avz{|||}}}}}}}}
~}}}}|||||||{{{{zyxvpN[ur]spvwwvi                           qxz{|||}}}}}}}}
~~}}}}}}}}}||||{{zwvyyyyyyyyyyyxvsP                        swvz{||}}}}}}}}~
~~~}}}}}}}}}}}}}}|||{{{{{{{{{zzzywotn                     atyz{||}}}}}}}}~~
~~~~}}}}}}}}}}}}}}}}}|||||{{{{{zzzxt>  qf             pttfqeqz{|}}}}}}}}~~~
~~~~~~}}}}}}}}}}}}}}}}}}||||||||{{zyxuxxxwvuq     svwwyzzzyr{||}}}}}}}~~~~~
~~~~~~~~}}}}}}}}}}}}}}}}}}}|||||||||{{zzzyxvn    Knwyz{{{{||||}}}}}}~~~~~~~
~~~~~~~~~~}}}}}}}}}}}}}}}}}}}}|||||||||{{{zyxwoaqwxz{{{|||||}}}}}}~~~~~~~~~
~~~~~~~~~~~~~}}}}}}}}}}}}}}}}}}}}||||||||{{{zyvrwuW{|||||}}}}}}~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~}}}}}}}}}}}}}}}}}}}}}|||||{zmt{{{||||}}}}}~~~~~~~~~~~~~~~~
 /* no comment */

;-)

Una vida crecientemente digital

September 17th, 2011 No comments

En mi charla de ayer en el Congreso de seguridad informática No con Name de Barcelona, dentro de la mesa redonda “Ataques a las grandes corporaciones” moderada por Xavier Vidal y que contaba también con Josep Jover (abogado que llevó el canon digital a los tribunales) e Isidro Ordás (Director de la Brigada de Investigación Tecnológica de la Policía Nacional en Cataluña, que “nunca me ha tenido tan cerca” ROTFL), hablé sobre los aspectos sociológicos y psicológicos de dichos ataques (los que cometen las grandes corporaciones, y los que son cometidos contra ellas).

Aquí añado algunos datos (referidos a ciudadanos de EEUU) más, para recalcar la importancia que las tecnologías van adquiriendo en muchos aspectos de nuestras vidas, lo que refuerza el mensaje de alerta que lancé sobre la reformulación de nuestra realidad a raíz de dicho nuevo entorno:

  • el 35% de la usuarios abre una aplicación en su smartphone antes de levantarse de la cama
  • hay un 10% de gente más que lee las noticias via ordenador que las que la leen en papel
  • 3 de cada 4 jóvenes hablan al teléfono mientras conducen, y un 64% escriben sms mientras conducen
  • el 51% de las personas tienen que efectuar búsquedas online como parte de su trabajo
  • el 70% de estudiantes universitarios toman notas en clase con el ordenador
  • los estudiantes universitarios que emplean un ordenador en clase miran un promedio de 65 ventanas por clase, 2/3 de las cuales son “de distracción”
  • en el trabajo se ven vídeos: un 25% de noticias, un 15% “virales”, un 9% de deportes, un 4% películas enteras, y un 3% de porno
  • el 40% de la gente emplea el teléfono en el baño
  • el 50% de la gente prefieren la comunicación electrónica a la de cara-a-cara
  • el 60% de televidentes mira a la vez la TV y el ordenador
  • el 83% de la gente duerme al lado del teléfono

[fuentes]