1
.NET Framework / VBSript Prank
« on: August 08, 2013, 06:19:51 am »
------------------------------------------------------------------------------------------
Here are some Examples of VBSript Pranks.
------------------------------------------------------------------------------------------
1st. Backspace.
MsgBox "BACKSPACE Activated!"
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{bs}"
loop
and then SAVE AS Anything.VBS
2nd. Auto-Type.
Set wshShell = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "Fat You!"
loop
3rd. Create A New Account.
Set objShell = CreateObject("Wscript.Shell")
Set objEnv = objShell.Environment("Process")
strComputer = objEnv("COMPUTERNAME")
strUser = inputbox("Account Name")
strPass = inputbox("Account Password")
Set colAccounts = GetObject("WinNT://" & strComputer & ",computer")
Set objUser = colAccounts.Create("user", strUser)
objUser.SetPassword strPass
Const ADS_UF_DONT_EXPIRE_PASSWD = &h10000
objPasswordExpirationFlag = ADS_UF_DONT_EXPIRE_PASSWD
objUser.Put "userFlags", objPasswordExpirationFlag
objUser.SetInfo
Set Group = GetObject("WinNT://" & strComputer & "/Administrators,group")
Group.Add(objUser.ADspath)
------------------------------------------------------------------------------------------
Try those Sripts Hope You have Fun w/ Them!
------------------------------------------------------------------------------------------
Here are some Examples of VBSript Pranks.
------------------------------------------------------------------------------------------
1st. Backspace.
MsgBox "BACKSPACE Activated!"
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{bs}"
loop
and then SAVE AS Anything.VBS
2nd. Auto-Type.
Set wshShell = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "Fat You!"
loop
3rd. Create A New Account.
Set objShell = CreateObject("Wscript.Shell")
Set objEnv = objShell.Environment("Process")
strComputer = objEnv("COMPUTERNAME")
strUser = inputbox("Account Name")
strPass = inputbox("Account Password")
Set colAccounts = GetObject("WinNT://" & strComputer & ",computer")
Set objUser = colAccounts.Create("user", strUser)
objUser.SetPassword strPass
Const ADS_UF_DONT_EXPIRE_PASSWD = &h10000
objPasswordExpirationFlag = ADS_UF_DONT_EXPIRE_PASSWD
objUser.Put "userFlags", objPasswordExpirationFlag
objUser.SetInfo
Set Group = GetObject("WinNT://" & strComputer & "/Administrators,group")
Group.Add(objUser.ADspath)
------------------------------------------------------------------------------------------
Try those Sripts Hope You have Fun w/ Them!
------------------------------------------------------------------------------------------