www.webdeveloper.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 18

Thread: Shutting Off The Computer By a site!

  1. #1
    Join Date
    Jan 2003
    Location
    TN
    Posts
    6

    Question Shutting Off The Computer By a site!

    My friend was recently telling me about a site that Shutdown his computer when he just went there. How is this possible to do? Or if you know of a site that does that I would like to check it out.

  2. #2
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    What was the site?

  3. #3
    Join Date
    Nov 2002
    Posts
    631
    Well you might be able to do this with server-side scripting but I am not sure. Even if you knew of a site that did this, you would not be able to check it out because it would shut-down you're computer. If it is done with server-side scripting, you won't be able to find out how they did it anyway. If you do find out how to do it, don't do this to people.

  4. #4
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    Except that server-side scripting is executed at the sever, not the client. Hence the name server-side. If you're doing anything on the client's system, it naturally needs to be done client-side.

  5. #5
    Join Date
    Jan 2003
    Posts
    16
    i fynd this people how do fing like that top be pretty ****. whi wud the boffer?

  6. #6
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    gatman
    i fynd this people how do fing like that top be pretty ****. whi wud the boffer?
    ...huh?

  7. #7
    Join Date
    Jan 2003
    Posts
    16
    nott nice to shut piples computer down.

  8. #8
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    AFAIK it can't be done. Though this post has made me a little curious. If it were to be done I'd have to assume that the particular user had a special scripting interpreter installed. For example, PerlScript. Not many have it installed on their system, and (I guess because it is less common ) there are very little (if any) restrictions to what it can access on the client machine. It can even run commands on that system, such as format, or anything else.

  9. #9
    Join Date
    Jan 2003
    Location
    TN
    Posts
    6
    I dont know the site, but I have asked around and people I asked have heard of it, but dont know the site. I found some script. Could someone use that to shutdown the computer?

    Sub ShutDown()
    Dim Connection, WQL, SystemClass, System

    'Get connection To local wmi
    Set Connection = GetObject("winmgmts:root\cimv2")

    'Get Win32_OperatingSystem objects - only one object In the collection
    WQL = "Select Name From Win32_OperatingSystem"
    Set SystemClass = Connection.ExecQuery(WQL)

    'Get one system object
    'I think there is no way To get the object using URL?
    For Each System In SystemClass
    System.Win32ShutDown (2)
    Next
    End Sub

    Also here is a second script with added info from the site

    Set Op = GetObject("winmgmts:{impersonationLevel=impersonate,
    (RemoteShutdown)}//server")
    for each OpSys in Op
    OpSys.Reboot()
    Next

    This script will reboot the remote computer with the name "server." Of
    course, you can modify the script to meet your needs, and then save it in
    a file with a .vbs extension.

    Could a VBS file be excuted onto your computer?


    This couldnt hurt your computer if it is JUST restarting it!!

  10. #10
    Join Date
    Jan 2003
    Posts
    18
    Not that i know much (newbie)but, there is a computer program that you can run which uses a code to shut down your computer. I guess the same code as (STATRTUP+SHUTDOWN). Whoever made the site would probably know the code and put it on his site- or if you had to click on a link before it shut you down, uploaded this file so when you click on the link it runs the program.

  11. #11
    Join Date
    Jan 2003
    Location
    TN
    Posts
    6

    Shortcut

    My friend said that you can create a shortcut on destop that shut down your computer. Does anyone have more info?

  12. #12
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    2,653
    There are at least couple of possible ways that I know of which will allow you to get this done.
    1.Java Applets,
    This was th eonly reason why java applets were not very popular in the masses because they could give a script or java application running in the client browser (Applet) power to perform tasks on the client machine,hence the advent of term signed applet,that specifically have a customizes an applets rights on a ny given client.

    2.A customised ActiveX Control will let you do the same on any given client browser(IE only) to perform tasks on that specific machine.

    Question is Why would you wanna do that though?

    Khalid

  13. #13
    Join Date
    Jan 2003
    Location
    TN
    Posts
    6

    FUN

    FOR THE ELEMENT of FUN upon friends since it is HARMLESS!

  14. #14
    Join Date
    Dec 2002
    Location
    Lake Havasu City, Arizona
    Posts
    527
    You can make a Macro to shut down your computer.
    and it possibly upload it,it may download if clicked on, or it can be send it in an e-mail ????

  15. #15
    Join Date
    Jan 2003
    Location
    TN
    Posts
    6

    BUT HOW!?!?

    Okay we all have heard ways that might do it, but could someone tell a program that they are pretty sure I could do it with or something like that?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles