
300
Part II: Advanced Hacks, Tools, and Techniques
Exhibit B: Schematic Diagram
Exhibit C: SitePlayer Code
Listing 1: coffee.spd
;
; These are initial variables that you can place in your system
;
;$Devicename sets the name or description of the device
$Devicename “Coffee Machine Web server”
;$DHCP on sets SitePlayer to find its IP address from a DHCP server
$DHCP on
;$DownloadPassword sets password for downloading web pages and firmware
$DownloadPassword “”
;$SitePassword sets password for browsing web pages
$SitePassword “”
;$InitialIP sets SitePlayer’s IP address to use if no DHCP server is available
$InitialIP “192.168.1.250”
;$PostIRQ on sets SitePlayer to generate a low level IRQ on pin 11
$PostIRQ off
;$Sitefile sets the binary image filename that will be created
$Sitefile “E:\Hacking Book\coffee_machine_hack\coffee\coffee.spb”
Exhibit B
ch15_coffee.indd 300
1/21/2002 1:36:02 PM