View Single Post
Old 12-10-2003, 10:37 AM   #5 (permalink)
Scorpion23
Psycho
 
Scorpion23's Avatar
 
Here's what I plan to do:
When I insert my USB key drive into a computer, the autoplay wizard will run a bat file located on the USB key. The bat file will copy a new version of the hosts file to c:\windows\system32\drivers\etc\ , overwriting the blank default file.
I then need something to automatically eject the drive so i can remove it without touching the keyboard. That way I can just hang around the back of the machine, plug it in and remove it after a few seconds. I don't want to just pull the drive out without ejection because the file system might still be accessing it.

I'm not sure what the exact contents of the host file will be, but probably along the lines of rerouting google to goatse or something.
__________________
"Empirically observed covariation is a necessary but not sufficient condition for causality" - Edward Tufte
Scorpion23 is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62