Domanda

I have downloaded a Window Gadget and found this function from the javascript. What this function does? Is it malicious?

Before I run the Widget, I commented out first the function call and it seems this function is not necessary to run the widget.

function LaunchPowerApplet()
{
    System.Shell.execute(System.Environment.getEnvironmentVariable("SystemRoot") + "\\system32\\mblctr.exe");
}
È stato utile?

Soluzione

Whether it's necessary or not is hard to say without knowing what the gadget needs to accomplish. The function is called LaunchPowerApplet and Windows Mobility Center allows to configure the battery usage settings. It makes sense if the gadget is a battery level meter, it doesn't if it's a solitaire.


BTW, a gadget is «a collection of XML, HTML, Microsoft JScript, and Cascading Style Sheets (CSS) files» so it's technically not JavaScript but JScript (Microsoft's ECMAScript implementation)

Altri suggerimenti

Thia is just a windows mobility center exe it will help your gadget to run correctly. it will not harm your computer.

I wouldn't say it was malicious since the application it is trying to launch is a standard windows component.

Why it wants to launch the Mobility Center is a bit of a mystery, but without further context about what this widget is supposed to be able to do we can't comment.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top