-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwwindows.js
45 lines (39 loc) · 907 Bytes
/
wwindows.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//My first Script.
/*This runs on WSH Which is Windows Script Host Object Model.
Currently I only know These Global Objects.
ActiveXObject
WSH
WScript
WScript.CreateObject
This basically uses some CLID program using HCKR\ keys, it instantaniates
a COM \ ActiveX Object.
WshArguments
WshNamed
WshNetwork
WshUnnamed
WshController
WshRemote
WshRemoteError
WshShell
WshShortcut
WshSpecialFolders
WshUrlShortcut
WshEnvironment
WshScriptExec
*/
var obj1=WScript.CreateObject('Wscript.shell'),str='';
for(var x in obj1){str+=x+"\n";}
WScript.Echo(str);
//Inputbox("come here faggot.");
var vbe=new ActiveXObject("ScriptControl");
vbe.Language = "VBScript";
vbe.AllowUI = true;
vbe.eval("InputBox(\"Huehueuhe?\")");
//Output
/*WScript.Echo("Hue");
WScript.Echo(new Date);
WScript.sleep(100);
WScript.Echo(new Date);
WScript.Echo(new Date);
*/
//Input