Episode 1x02
From Hak5
Synopsis
In this episode of HAK.5 we show you how to install a 12-volt accessory outlet in your case, add a webcam to the light script, keep your taskbar clean with a free utility, manage the Windows XP firewall from the command line, create a leet external hard drive case, and install a unix-like disk image over a network. Plus a special interview with an Internet Icon.
Mod: Installing a custom 12-volt accessory outlet into a PC case
Supplies: *12dcv power adapte (RS Cat.# 270-1556) *Rocker Switch (RS Cat.# 275-731) (optional) *Soldering Iron and Solder *Wire Cutter/stripper *Rotary Tool *Male Molox Connector *Multi-Meter *Heat Shrink
Homebrew Hack: Adding a webcam to the home automation script
Add the following lines of code to the head of the html in your php file:
Code:
<meta http-equiv="refresh" content="6" /> <meta http-equiv="expires" content="0" />
And of course the img tag for your file: Code:
<img src="/webcam.jpg">
The webcam software used, Dorgem, can be found at http://dorgem.sourceforge.net
Chick Tip: Using powermenu to keep your taskbar clean
Creating a custom external hard drive case, with fan and exaust ports
Supplies can be found here.
Automating Windows XP firewall configuration with batch scripts and autorun
Enable firewall:
netsh firewall set opmode enable
Disable firewall:
netsh firewall set opmode disable
Open port example:
netsh firewall add portopening TCP 80 Webserver
Close port example:
netsh firewall delete portopening TCP 80
Autorun.inf:
[autorun] action=configfirewall shellexecute=batchfile.bat


