____________________________________________________________________________________________ ...:: HTML.JS.Creatures ::... written by DiA (c) 2oo3 [GermanY] http://www.anzwers.net/free/dia ____________________________________________________________________________________________ +++++Disclaimer+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +I am NOT responsible for any damage that you do! You can need the code however you want...+ +My motherlanguage is not English, I hope you understand what I mean. + +Feel FREE to write any Comments to + + DiA_hates_machine@gmx.de + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ............................................ . . . Index: _1_ : Intro . . . . _2_ : FileSystemObject . . . . _3_ : Step1 = Overwriter . . . . _4_ : Step2 = Prepender . . . . _5_ : Step3 = Appender . . . . _6_ : Outro . . . ............................................ _1_ : Intro All Tutorials that I have written, contains Win32Asm Stuff. But not this, in this Tut I show HTML Infection with JavaScript! That is the easyest thing I ever seen in the VX World! It is really good to understand, and you can see how Viruses works, the same technics used in other languages: Win32Asm, C++, ..., but harder to understand. I do not describe the code , it is really easy to understand, if you had HTML, JavaScript and FileSystemObject knowledge. So have fun with that little Tutorial... _2_ : FileSystemObject With this Object you can play with files in JavaScript (,VBS). Before you handle with files you must create the FSO. I don't describe all Specials from the FSO. There are other really good Tutorials in the Web. If you are a German (Na alles klar? =) go to http://www.html-world.de and download the big FileSystemObject as *.PDF file. If you are a Non-German read the Tut from Kefi. There you find all you need... But back to this Tutorial, we wanna create the FileSystemObject:
And now handle all other stuff with fso.Object . _3_ : Step1 = Overwriter 1. Get Current File 2. Check for location file:/// 3. Find File 4. If Founded File == Current File go 7. 5. Check if the file is a *.htm or *.html, if no go to 7. 6. Copy Current File over the Founded File 7. Find Next File and go to 4. ->No more files go to 8. 8. Show Message and Exit Code: