Author Archives: pof

Mount Android 4 Ice Cream Sandwitch on Linux

I recently got a Galaxy Nexus running Android 4.0 Ice Cream Sandwitch, which by default does not support USB Mass Storage. When connected to the computer via USB cable, we can choose to connect it as a Media device (MTP), … Continue reading

Posted in android, linux, minipost, Uncategorized | Tagged , , , , , , , | 2 Comments

mini-howto: add google authenticator to a new device

Note: For this to work you need to have google authenticator working on a rooted device. Google authenticator stores user data in a sqlite database, so we can just get the key from there and move it on a different … Continue reading

Posted in android, gadgets, linux, minipost, security | Tagged , , , | Leave a comment

lightum: auto adjust keyboard brightness on Linux MacBook

If you are running Linux on your MacBookAir and want the keyboard light brightness changed automatically depending on the ambient light (just as OS X does), continue reading. I’ve written a small daemon named lightum, source is on github and … Continue reading

Posted in linux | Tagged , , , , | 51 Comments

Change workspace configuration on Ubuntu 11.10

By default Ubuntu 11.10 with unity interface has a 2×2 workspace, however I am used to have a single row horizontal 4×1 workspace with 4 desktops. I haven’t found any option under settings to change this, but here’s a workaround: … Continue reading

Posted in linux, minipost | Tagged , , , , , | 2 Comments

Disable Apache2 weak and medium ciphers for PCI compliance

A few days ago we had an external vulnerability scan by an Approved Scanning Vendor (ASV) to pass PCI DSS, in the report we saw these two vulnerabilities also reported by our Nessus scan: The remote service supports the use … Continue reading

Posted in linux, security | Tagged , , , , , , , , , | Leave a comment

Motorola Xoom: Review from an early adopter

Yesterday morning I received the wifi-only version of the 10.1-inch Android tablet Motorola Xoom. I bought it in USA because it wasn’t yet available in Europe when I purchased it. I choose the wifi-only version because of the following main … Continue reading

Posted in android, gadgets, linux | Tagged , , , , , | 2 Comments

WiFite patch for WLAN/JAZZTEL networks WEP & WPA cracking

I have made a quick patch for wifite r67, which adds support to crack WLAN and JAZZTEL networks in Spain, both WEP and WPA versions. The WPA keys are computed statically using the already known algorithms and the guessed key … Continue reading

Posted in linux, security, wireless | Tagged , , , , , , , | 12 Comments

4sqcheat – automatic foursquare checkin

This is a quick script I wrote some time ago to steal the mayorship from a friend on a concrete foursqure venue. You can launch it from cron to steal a mayorship or launch it manually get any impossible badge … Continue reading

Posted in linux, minipost | Tagged , , , , , , | 1 Comment

exif2maps – get google maps link from picture exif data

A quick shell script to generate a google maps link from geo-location data found inside a picture exif tags. Usage example: $ ./ la-foto-3.jpg,-5.6058333 Download:

Posted in linux, minipost | Tagged , , , , , , | Leave a comment

From APK to readable java source code in 3 easy steps

Android applications are packed inside a APK file, which is just a ZIP file containing among other things a compact Dalvik Executable (.dex) file. First step is to extract the “classes.dex” file from the APK: $ unzip program.apk classes.dex Archive: … Continue reading

Posted in android, linux, security | Tagged , , , , , , , , , | 25 Comments