[sclug] Tshirt - destruction of windows
Tom Dawes-Gamble
tmdg at tmdg.co.uk
Fri Apr 22 14:58:53 UTC 2005
Well my best trick is to make the partition hidden. That really seems
to upset windows. ( well it my xp home edition when I tried it :-)
So try this :-)
kill=/dev/sda;((x=1));for i in $(dd if=$kill bs=512 count=1 2>/dev/null|
od -x | sed -n -e 's/^00007[0246]0 .... [ef][ef]\(..\).*/\1/p' ); do if
[[ $i = '07' ]]; then i=17;fi; if [[ $i = '0b' ]]; then i=1b;fi ; printf
"t\n$x\n$i\nw\nq\n"| fdisk $kill >/dev/null 2&>1;((x=x+1)); done
of course you need to the kill= to the disk of your choice.
tom.
On Fri, 2005-04-22 at 10:31 +0100, AdamT wrote:
> On 4/21/05, David Given <dg at cowlark.com> wrote:
>
> > And is the Windows registry actually at
> > C:/registry.dat? I forget.)
> >
> IIRC, NT4 registries live in system.dat and ntuser.dat (user.dat for
> DOS-based windows)
>
> I always found it funnier to place the line 'autoexec.bat' in
> somebody's 'autoexec.bat' file.
> Although - that's not terribly evil, and only works on DOS/3.x/9x/ME
> I suppose you could put something along the lines of
> shutdown /L /C
> in their HKLM\Software\Microsoft\Windows\CurrentVersion\Run key, for a
> similar effect on NT-based win boxen.
>
>
>
--
There are 10 types of people in the world.
Those that understand Binary and those that don't.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.tmdg.co.uk/pipermail/sclug/attachments/20050422/b0d447a2/attachment.bin
More information about the Sclug
mailing list