Archive for April, 2009
Power over Ethernet Tester
by admin on Apr.29, 2009, under Complete, Tools
Ever needed to see if a network point is live? Using POE? Then this might be able to help.
All it does is put the 48v from POE through a couple of power resitors to somthing the LED’s can handle. I’ve wired this up so it can deal with the proper POE standard and the Cisco standard.
Unfortunatlly it doesn’t seem to work with all Cisco routers but it passed some time making it!
Firework Launch Control
by admin on Apr.29, 2009, under Complete
A friend of mine wanted to be able to set off some fireworks from a safe distance. After a little research it was decideced that off the shelf products were too expensive, so I came up with this.
At it’s heart all this does is create a short circuit accross a 10 ohm resistor. 12v will do a pretty good job of melting the resistor which would be simply taped to the firework fuse. As you can see in the following pictures it is simply powered by a 12volt cordless drill battery and even comes with it’s own carry case.
Google Reader Un-Read Feed
by admin on Apr.27, 2009, under Complete, RSS, Tools
After an intense google-fu workout session ending in failure I may be the only person in the word interested in doing this but here goes…
Use Google Reader? Want an RSS feed of only unread item? Then hears how!
The secret is subtraction, you need to take your reading-list feed and remove all items with a read tag.
As an example here’s what the reading-list and read feed url’s should look like
http://www.google.com/reader/atom/user/YOURUSERIDGOESHERE/state/com.google/reading-list
http://www.google.com/reader/atom/user/YOURUSERIDGOESHERE/state/com.google/read
Too find out your user ID go to reader.google.com and then enter this line of javascript into the address bar
javascript:prompt("User ID", _USER_ID);void(0); you should then get a popup with your ID
So to get the unread feed you put it all together like this
http://www.google.com/reader/atom/user/YOURUSERIDGOESHERE/state/com.google/reading-list?&xt=user/YOURUSERIDGOESHERE/state/com.google/read
So now I’ve got the Vista RSS Feed gadget (running on XP just to be awkward) displaying a list of my unread items.
Yay!
Cisco Type 7 Passwords
by admin on Apr.27, 2009, under In Progress, Passwords, Tools
The built in ‘cracker’ isn’t working at the moment but the proccess still stands. There are plenty of other sites/tools that can decrypt this type of password.
Take the Cisco type 7 password and paste it into the box below. Then click “Crack Password”.
// Is the character a digit?
function isDigit(theDigit)
{
var digitArray = new Array(’0′,’1′,’2′,’3′,’4′,’5′,’6′,’7′,’8′,’9′)
for (j = 0; j < digitArray.length; j++) {
if (theDigit == digitArray[j])
return true
}
return false
}
// Generate a config file ready for loading
function crackPassword(form)
{
var crypttext=form.crypttext.value.toUpperCase()
var plaintext=''
var xlat="dsfd;kfoA,.iyewrkldJKDHSUBsgvca69834ncxv9873254k;fg87"
var seed, i, val=0
if(crypttext.length & 1)
return
seed = (crypttext.charCodeAt(0) - 0x30) * 10 + crypttext.charCodeAt(1) - 0x30
if (seed > 15 || !isDigit(crypttext.charAt(0)) || !isDigit(crypttext.charAt(1)))
return
for (i = 2 ; i <= crypttext.length; i++) {
if(i !=2 && !(i & 1)) {
plaintext+=String.fromCharCode(val ^ xlat.charCodeAt(seed++))
seed%=xlat.length
val = 0;
}
val *= 16
if(isDigit(crypttext.charAt(i))) {
val += crypttext.charCodeAt(i) - 0x30
continue
}
if(crypttext.charCodeAt(i) >= 0×41 && crypttext.charCodeAt(i) <= 0x46) {
val += crypttext.charCodeAt(i) - 0x41 + 0x0a
continue
}
if(crypttext.length != i)
return
}
form.plaintext.value=plaintext
}
- Connect the console cable, power on the router and hit break a few times to enter monitor mode
- At the rommon prompt type confreg 0×2142 and hit enter
- Type i and hit enter to restart the router.
- When it has started up type enable to enter privileged mode
- Type copy start run and hit enter
- Type show run and look for an entry like this password 7 0235105A19005E3244
- Put the long number string into the top box on this page (ignore password 7)
- Hit Crack Password and marvel in your newly recovered password
- Go back to the router and type conf t to switch to global configuration mode
- Type config-register 0×2102 and hit enter
- Press Ctrl-Z and type reload then hit enter and your done.
Type 5 Passwords
Don’t be fooled type 5 passwords can be cracked, it just takes a bit longer. You may have noticed an entry in your config that looked like this enable secret 5 $1$uWd7$maP6Byq6ETXegoZXG8vbZ0. This is a type 5 password.
- Get a copy of John the Ripper
- Create a text file with your hash in it, in the following format enable_secret_5:$1$uWd7$maP6Byq6ETXegoZXG8vbZ0
- Save the text file as pass.txt
- Assuming pass.txt is in the same folder as John type john-mmx.exe -inc:all pass.txt
- After a while depending on the length of the password you will/should be presented with the passwords.
Obviously that’s how to do it in Windows but the Linux version is very similar.
Note: If you recognise the type 7 password from above then one of your old routers now belongs to me. Change your passwords because you’ve been owned.
Bubble Etch Tank
by admin on Apr.27, 2009, under Complete, Hardware, Tools
PCB bubble etch tank.
This project started out because of a need to etch circuit boards and a lack of success doing it the cheap ‘etchant in a tray’ method.
Heated bubble etch tanks were well over my budget and at five liters were also too large. As always eBay came to the rescue by providing three A4 (210 x 297) 6mm sheets of perspex and a 150 watt aquarium heater.
As you can see I divided up one sheet of perspex in to three sections. Two, two inch pieces for the sides of the tank and the remainder for the base. I used a hand held jigsaw to make the cuts, the secret is to use a very fine blade with lots of teeth and when cutting go slow and steady, don’t try to push to much.
Now the messy part starts. Glue the sides all together making sure every things clean and free of burrs first. I initially used normal silicone bathroom sealant but it wouldn’t hold the panels together (probably to smooth) so I had to clean everything up and start again. In the end I used aquarium sealant / glue, used for making fish tanks. Then clamp it all together (you might getaway with elastic bands) and leave it overnight to dry.
The etchant I use is sodium persulphate which works best when heated to between 40 to 50°C which is where the aquarium heater comes in. I had to modify the heater to reach the fish killing temperature needed as it only went up to about 35°. That was as simple as pulling of the temperature selector knob, unscrewing the holder underneath it and cutting off the plastic stop. I picked up a cheap aquarium thermometer (notice a theme here) that handily goes up to 50° so that I could fine tune the temperature.
Now to the bubbly part. I already had an aquarium air pump so I ran a length of pipe (I used medical oxygen hose as it’s a. what I had to hand and 2. allows the hose to be bent without blocking the flow.) to a piece of rigid plastic pipe. I used a hot needle to pierce holes in the pipe and held it down with some suction cups.
If you’re following along at home now is the time to fill it with water and give it a test run. For some reason after a while the bubbles were only coming out of half the pipe, but it’s still enough to keep the etchant moving around so it still does it’s job. (and anyway it was getting late and I was in a rush to etch a board) This is also a good time to adjust the heater to the required range.
Fill with etchant and your done! The capacity is approximately two and a half liters so I had to use five 100g packs of sodium persulphate.
Of coarse if you actually want to be able to use it, you’ll need some way of hanging the board in the etchant. As I only needed to etch a small board I put a couple of plastic cable ties on to a bamboo skewer and bent the bottoms up with the aid of a little heat.
And that’s all there is to it.
Epilogue
Don’t design and make all of this late at night because you’ll forget about silly little things like a lid. Sod it, cling film will do.

















