Results 1 to 6 of 6

Thread: What makes ASP work?

  1. #1

    Thread Starter
    Hyperactive Member Al Smith's Avatar
    Join Date
    May 1999
    Location
    Marcellus, MI. USA
    Posts
    330
    Hi,
    How does ASP (or VBScript for that matter) work?
    Is there a DLL or something in Windows that recognizes such things as Request.Form or Response.Write?
    I started wondering about this after the "I Love You" virus was unleashed. How can a simple text file run commands on a computer?
    Thanks,
    Al.
    A computer is a tool, not a toy.

  2. #2
    Hyperactive Member CyberSurfer's Avatar
    Join Date
    Aug 2000
    Location
    Old London Town
    Posts
    425
    Hey Al!

    ASP is what is known as a Server Side scripting language. This means that it is compiled on the server, and sent to your browser as plain text. If you view the source of an ASP page, it will just look like standard HTML. On the server, it is compiled by asp.dll which does all the cool stuff, then sends the page to your browser.

  3. #3
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    The virus your talking about was written in VB Script. Which ASP uses, but writing VB Script for Outlook is slightly different than for ASP. Windows uses a dll that contains the ASP Object library (response, request, server, etc..). The virus runs inside of outlook using it's VBScript scripting engine. I will never understand why MS allowed VBScript to just run from an email attachment. It should at least display a warning or something. I usually just use the preview pane which does not run any attachments. They only run if you open the message in it's own window.

    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  4. #4
    Addicted Member morphman2000's Avatar
    Join Date
    Oct 2000
    Location
    Europe, The Netherlands
    Posts
    254

    Talking To come back at an old post

    VBscript (where the I love you virus is written in) runs by sing "wscript.exe".

    You can see it like CGI. Input goes into the exe and the exe gives back some output.


    Greetz,

    mØrPh

  5. #5
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    To be more correct, the virus for the Outlook is using Windows Scripting Host DLL. It allows you to right a VBScript even in Notepad and save the file with vbs extension.

  6. #6
    Guest
    %windir%\system32\asp.dll

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width