Scripting To Automate Your Mindless Android Games

There’s a silly little Android game making some noise on the Interwebs. It’s called Curiosity which is a 3D cube with something inside. The thing is, every single pixel on the cube must be clicked in order to get through a layer. There are of course multiple layers, and… well, you get the point. [Stephen] figures this is a perfect thing for a bit of scripting and set out to find a way to automatically play the Android game.

As you can see above he’s got a pretty good start. To use the script in its current form he finds a part of the cube that is mostly solid green. The Android device is plugged into a computer using the USB cable, and the Android Debug Bridge runs the script. It’s amazingly simple, as it uses the monkeyrunner package which comes with the SDK. The proof is there, and it’s just a matter of whether or not he wants to spend his time to fully automate the playing of the game. You can see a demo of the script embedded after the break.

[Stephen’s] not new to automating things that he doesn’t want to do himself. Here’s an example of his code beating the PlayThru CAPTCHA.

Continue reading “Scripting To Automate Your Mindless Android Games”

Barcode Infiltrator

Whenever someone manages to expose vulnerabilities in everyday devices, we love to root for them. [Adrian] over at Irongeek has been inspired to exploit barcodes as a means to attack a POS database. Based on an idea from a Pauldotcom episode, he set out to make a rapid attack device, using an LED to spoof the signals that would be received by scanning a barcode. By exposing the POS to a set of generic database attacks, including XSS, SQL Injection, and other errors easily solved by input sanitation, he has created the first version of an automated system penetration device. In this case the hardware is simple, but the concept is impressive.

With the hardware explained and the source code provided, as well as a basic un-sanitized input cheat sheet, the would-be barcode hackers have a great place to start if they feel compelled to provide a revision two.

[Thanks Robert W.]

Tradewars 2002 Lives

Are you growing tired of playing all those high-framerate first person shooters? Perhaps you long for the days of blocky graphics and text-based play. You’re in luck because Tradewars 2002 is still around. Many of you will remember this 1980’s BBS based game, playing a limited number of turns per day in an effort to rule the galaxy.

The game may be around, but the way you play it has changed drastically. The advent of custom scripts that interface directly with the game system makes this more of a who can write a better script rather than who is better at the game. A hacker’s challenge if you will.  Continue reading “Tradewars 2002 Lives”

A Linux Server That Tweets Power Changes

apcupsd_twitter

Twitter has been used for lots of experiments, both useful and just for fun. [FIRESTORM_v1] sent in his project that falls under the useful category. When he wanted a way to monitor his server’s power statistics, Twitter was a logical choice. Similar to the Tweet-a-Watt, he wrote a script that posts messages from APCUPSd to a Twitter account that he follows, and gets the updates on his phone. [FIRESTORM_v1] documents all of the scripts he used and the steps to get your server up and tweeting.