Armageddon421's Hackingblog

Archive for January, 2011

Magent jewelry – part 2: Magnetic Heart Bracelet

by on Jan.25, 2011, under quickhack

This is something that I made for my beloved girlfriend.

The heart is made out of some metal that I got from an old hard disk case. I created two equal halves by first sawing out the rough shape from both metal pieces and then sticking them together so I was able to perform the fine working steps on both pieces equally. Then I sawed out the notches for the two magnets. They had to fit really tight because they would be the fastener of the bracelet.

Once the rough metalwork was done I started with the wires. I used phone wire because it is soft and colourful. Once the insulation was removed from the ends of the wires, they could be soldered to the heart pieces by using a hot air gun to heat up the metal and then just the good old soldering iron. The critical point is the length of the wires. Because of the shape of the heart the wires are of varying length. Also, approximating the wrist of my girlfriend was quite hard because every millimeter matters, but I was lucky.

Lastly, I used hot glue to glue the magnets to the heart pieces and to seal off the soldered area from the skin. The hot glue also makes the back side of the heart pieces nice and flat and soft so it is comfortable to wear.

I hope I could give you some Ideas on how to do this on your own. If you have any Ideas and want me to try to put them into practice, tell me! I’d love to!


Meanwhile, it is broken and I threw it away because I don’t want to be reminded of a girfriend who betrayed me and lied to me.

Leave a Comment :, , , , , , , more...

Stats from the “Alice Modem 1111″

by on Jan.24, 2011, under quickhack

This weekend a friend of mine asked me if I could make his fileserver display some intersting stats. One of those stats would be the internet traffic. The problem was the crappy modem/router thing from Alice that he has to use. The webinterface has very sparse information, there is also no traffic monitor.

Running nmap revealed that the modem has a telnet interface.

Starting Nmap 5.00 ( ) at 2011-01-24 10:18 CET
Interesting ports on alicebox.localdomain (
Not shown: 996 closed ports
23/tcp open telnet
80/tcp open http
2800/tcp open unknown
8008/tcp open http

I tried connecting, and then there was the next problem: It asked for login and password. I found out that it is not the same as for the webinterface, so I googled. The login would be “admin” and the password would consist of “Alice” + the last 6 Bytes of the MAC in hex + “123″, for example “AliceFFFFFF123″.

The I was confronted with some strange shell that allowed to press “?” to display the possibilities.

Connected to
Escape character is '^]'.

Alice Modem 1111
Alice Software Version : 4.19

Login: admin
Password: **************

Login successful

agent            Get a file from a remote host
bridge           Configure layer 2 bridge.
bridgevlan       VLAN transport configuration
classifier       Packet classifier configuration commands
console          Console access
dhcpclient       DHCP client configuration commands
dhcprelay        DHCP relay Configuration
dhcpserver       DHCP server configuration commands
dnsrelay         DNS relay configuration
ethernet         Commands to configure ethernet transports
firewall         Firewall configuration commands
help             Top level CLI help
imdebug          Directly access the information model
ip               Configure IP router
l2filter         Packet filter configuration commands
nat              NAT configuration commands
port             Physical port configuration commands
pppoa            PPP over ATM configuration
pppoe            PPP over Ethernet Configuration
security         Security configuration commands not specific to NAT or firewall
sntpclient       Simple Network Time Protocol Client commands
system           System administration commands
transports       Transport configuration commands
upnp             UPnP configuration commands
user             User commands

After toying around a bit, I found what I needed:

--> port ethernet show

Version = 1.01
RxNoBuffer = 121
TxNoBuffer = 0
PortClassEthernet = true
Disable = false
PromiscuousEnable = true
RxBroadcastEnable = true
RxMulticastEnable = true
RxMulticastAllEnable = true
RxUnicastEnable = true
RxAddressEnable = false
RxPassBad = false
FullDuplexEnable = true
CrcEnable = false
PadShortDataEnable = false
Loopback = false
HaltImmediately = true
MAC = 00:85:a0:01:01:00
RxOK = 4657743
TxOK = 6663192
MaxFilterEntries = 21
TxIntTx = 6663192
Tx10Stat = 0
TxPar = 0
TxHalted = 0
TxSQErr = 0
TxMCast = 7788
TxBCast = 2018
TxVLAN = 0
TxMACC = 0
TxPause = 0
TxExcessiveCollisions = 0
TxLateCollisions = 0
TxUnderrun = 0
TxCarrierLoss = 0
TxDeferred = 0
TxAfterOneCollision = 0
TxAfterMoreCollision = 0
TxCollisions = 0
TxExcessiveDeferrals = 0
RxIntRx = 0
RxMIIErrors = 0
RxPar = 0
RxHalted = 0
RxMulticastPackets = 62675
RxBroadcastPackets = 693755
RxVLAN1Frames = 0
RxCRCErrors = 0
RxErrorAlign = 0
RxOverlongPackets = 0
RxOverruns = 112852
RxControlFrames = 0
RxShortPackets = 749
txOKBytes = 211726529
rxOKBytes = 541541832

txUCastPkts = 6653390
rxUCastPkts = 4012768
PhyMode = MII
resetDefaults = false
portSnmpIfIndex = 0
portSnmpIfType = 0

All I had to do now was automate this process. The finished python script, using expect to simulate the interaction and rrdtool to store and graph the data, looked like this:


import pexpect, sys, os

os.linesep = "\r"  #telnet expects \r instead of \n, expect uses os.liensep

#Connect and simulate interaction
c = pexpect.spawn("telnet 23")
c.expect("Login: ")
c.expect("Password: ")
c.expect("--> ")
c.sendline("port ethernet show")
c.expect("--> ")
res = c.before

#Find the required values
lines = res.split("\r\n")
for line in lines:
	if line.startswith("txOKBytes"):
		tx = line.split("= ")[1]
	if line.startswith("rxOKBytes"):
		rx = line.split("= ")[1]

#Update RRD"rrdtool update /home/ave/rrd/database/internet.rrd N:%s:%s" % (tx,rx))

The finished output of rrdtool looks like this:

Later I added a second graph that shows the number of devices in the LAN that respond to ping probes. It’s as simple as


res=`nmap -sP | wc -l`   #nmap the LAN, count the lines
num=$(($res - 3))                         #substract nmap's static status lines
rrdtool update /home/ave/rrd/database/devices.rrd N:$num     #update RRD

I hope I could give some of you an example on how to approach such a problem. Comment if you did something similar or want to do it!

Leave a Comment :, , , , , , , , more...

Quadcopter preloaded: Toy for training!

by on Jan.16, 2011, under Multicopter, Random

Digging out old toys to prepare to fly the real thing! @hdznrrd has built a really expensive quadcopter and won’t let me fly. I am improving my skills by flying one of those X-UFOs. Since the batteries are dead, I attached a cable for power supply.

Leave a Comment :, , , more...

Magnet jewelry – part 1: Marble necklace

by on Jan.16, 2011, under quickhack

Today I found a solid metal marble and I thought “Hey, that would look nice as a necklace.” The question was, how to attach it to some kind of strap so I can wear it. Well, good thing we have the good old rare earth magnets.

I decided to use two stranded chopper wires to start with. I just stripped the wires and clipped them in between two rare earth magnets. I did this on both ends of my wires. Then I attached the whole thing to the marble and voila:

I found that it looked quite nice so I decided to improve it further.

After a bit of polishing, the marble was looking really nice. To increase the stability of the necklace, I glued the two magnets together. They are really strong, but sometimes the wires just slipped out. The glue solved this problem for now. I also adjusted the length of the wires to fit more tightly.

The fun thing about it is, that you can use the magnet necklace to attach whatever you want. If you didn’t use glue, you can easily change the color of your wires as well. Just go find some small metal object and attach ist. Let me try to find some examples…

Plastic bag

The magnets are even able to hold really heavy objects like a hammer or that strange grabbing device!

The objects do not necessarily need to be magnetic. Just clip anything that is flat enough between the magnets. Unfortunately I didn’t have any gummy bear bags so I had to use that ugly plastic bag with some unidentifiable black plastic things in it.


Do not use batteries! Since both, the cables and the magnets, are conductive, you will short the battery. This is dangerous!

I hope I could give you some cool ideas. I had quite a lot of fun experimenting with the magnets.

Try it out for yourself!

Leave a Comment :, , , , , , , more...

My car.

by on Jan.15, 2011, under Projects

Well, first of all I have a 1995 Mercedes C200. 136PS. Nothing special about that.

Then I added some things, like for example a computer. And speakers. The cockpit looks like this:

The display is capable of a 640×480 resolution and is equipped with a touchscreen. I removed it from its original enclosure and built a custom wooden frame that fits exactly in-place. The screws are just there to attach the display to the frame, the whole contraption is just pressed in there. The radio above the display is mostly just for volume control. Additionally it has a bluetooth module which lets me use it as a hands-free phone system. Not even the internal amplifiers are used. Instead, I got two amplifiers in the rear, one for the subwoofer and another one for the four front speakers. The speakers were about 40€ per piece and came with the right frames for my car. I bought the subwoofer for a very low prive from a relative of mine.

Now to the really interesting part: The computer.

On the right hand side of the above picture you can see my EeeBox. It is just like those netbooks, the eeePcs from Asus, just without display, battery, keyboard and mouse. It is directly attached to the 12V from the car power supply. To controll it, I am using the touchscreen and a USB-Numpad.

The box is running on ArchLinux, I am using awesome as a window manager and XBMC is my media center.

Another cool feature are the webcams. At the moment only the front view is working. It is taking a picture every ten seconds and storing it into one folder for every journey. At home, I can create cool movies from those pictures. This is one of them:

At the moment, I am working at the second camera. There are some issues regarging USB-bandwidth limitations and missing MJPEG-compression. The goal is to take one picture per second per camera and have it directly saved as a movie. Another feature would be live-streaming into the internet via my cell phone’s broadband connection.

One of the most recent changes include adding a triple power outlet because the original one in the ashtray was covered up by the display. Since I could not quite reach the screws that were holding the ashtray, I just used some force to remove it. After a few seconds I was holding it in my hands. Now I could reach the wires I was after.

That’s all I have to say for now. I will post pictures of the subwoofer and amplifiers in the trunk as soon as I managed to clean up the wiring there.

Ideas and suggestions are always welcome. Have a wonderful day!

Leave a Comment :, , , , , , , , , , more...