Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - JhonErrol

Pages: [1]
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! :D
 ------------------------------------------------------------------------------------------

Pages: [1]