STM127
01-05-2003, 12:47 PM
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.
|
Click to See Complete Forum and Search --> : Shutting Off The Computer By a site! STM127 01-05-2003, 12:47 PM 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. jeffmott 01-05-2003, 01:36 PM What was the site? Zach Elfers 01-05-2003, 02:42 PM 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. jeffmott 01-05-2003, 03:26 PM 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. gatman 01-05-2003, 03:30 PM i fynd this people how do fing like that top be pretty ****. whi wud the boffer? jeffmott 01-05-2003, 03:36 PM gatman i fynd this people how do fing like that top be pretty ****. whi wud the boffer? ...huh? gatman 01-05-2003, 03:37 PM nott nice to shut piples computer down. jeffmott 01-05-2003, 03:47 PM 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 :confused: ) 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. STM127 01-05-2003, 03:47 PM 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!! trumpcard 01-05-2003, 09:52 PM 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. STM127 01-05-2003, 10:03 PM My friend said that you can create a shortcut on destop that shut down your computer. Does anyone have more info? khalidali63 01-05-2003, 10:56 PM 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 STM127 01-05-2003, 11:39 PM FOR THE ELEMENT of FUN upon friends since it is HARMLESS! jdavia 01-06-2003, 12:02 AM 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 ???? STM127 01-06-2003, 11:15 AM 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? jdavia 01-06-2003, 12:13 PM [SIZE=4]NO! STM127 01-06-2003, 02:03 PM NO?? If you are reading and you know a site that does something like I am talking about, POST IT!! jdavia 01-06-2003, 03:03 PM Give up. Your so called friendly prank can turn out to be a disaster that can spread all around the world. It has been tried before and pressure was applied to the site that published the code. It has been shut down. So take this hint, and learn how to use good judgement. Your server can dump you too. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |