How people choose passwords

3 Comments »

Finally the Sony hack has become real world science. Troy Hunt has made a detailed analysis of the stolen passwords on his blog and he’s got some interesting results!

Find more on his Blog: http://www.troyhunt.com/2011/07/science-of-password-selection.html


open source DIY picnic table

No Comments »

It’s a typical situation: You are in the middle of nowhere and want to have lunch, but sitting in the grass does not fit your requirements. So building a picnic table is your only option.

Luckily, the guys from Alwitec constructed a nice picnic table and even made it open source! (under the terms of the GPL)

Download all the PDF files as zip, print and build it by yourself. A shopping list is included!

Have a lot of fun.. (and contact me for original .dft sheets)


Cisco iOS routing

No Comments »

Making a static route on cisco iOS is rather easy!

With static routes you can tell your router (or any other network device) where to route the network traffic for a specified network to. This can be an Interface or IP address. The command looks like this:

iOS(config)# ip route <IP/network> <netmask> <gateway/interface>

So, if you know that network 10.10.0.0/16 is behind router 192.168.1.1 you’d do:

iOS(config)# ip route 10.10.0.0 255.255.0.0 192.168.1.1

If you want to add a default route, specify a 0.0.0.0/0 network:

iOS(config)# ip route 0.0.0.0 0.0.0.0 192.168.1.1

And, last but not least, use a exit interface: (192.168.1.2 is directly connected to FE1)

iOS(config)# ip route 192.168.1.2 255.255.255.255 FE1

And at the end, you probably want to have a look at what you’ve done:

iOS(config)# show ip route static

or more specific, “grep” for a route or gateway:

iOS(config)# show ip route static | inc 192.168.1.1

As inc stands for include, see this post.


Reset Windows Administrator Password

No Comments »

This should work with Windows Vista, 7, 2003 and 2008, maybe more. I personally tested it with 2008 R2 Standard only.

To reset a Windows Admin password, you need the following things:

  • Physical access to the Server
  • A Windows installation boot media

If you have it all, continue with this:

  • insert boot media and reboot (from media)
  • jump through the menu so that you get a recovery console at the end
  • find the original installations C:\ drive and change to it (original C:\ drive can be D:\ or any other letter when booted from recovery/install media)
  • then:
cd Windows\System32\
copy sethc.exe C:\ <-- remember: C:\ could be D:\ now!!
copy /y cmd.exe sethc.exe
exit
  • reboot your box
  • on login screen, press shift-key five times
  • a command window should show up
  • maybe you have to press Alt+Tab until the new window has the focus
  • type:
net user administrator <new password>  <-- while <new password> is  actually replaced by your new password :)
exit
  • login with your new password

grep in Cisco iOS

1 Comment »

As an alternative to the grep command in Linux, use include in Cisco iOS.

Linux grep:

# ip route show | grep 192.168.

iOS include:

# show ip route static | include 192.168.