[TOC] CScript 命令 描述: cscript(即cscript.exe)一般位于C:/Windows/System32文件夹中,有些时候我们可能需要在Windows中执行脚本文件通常具有以下扩展名之一...命令行工具 csript.exe 基础语法: CScript scriptname.extension [option...]...#3.其中永久更改默认宿主的命令为: CScript //H:CScript //S WScript //H:WScript //S #4.执行VBS脚本:Wscript.Echo "Line 1...写道到文件之中进行执行 cscript 1.vbs //E:vbs ? WeiyiGeek. 备注: Windows 脚本宿主可以使用.wsf 脚本文件。...Wscript 命令 描述:在windows下不用cmd的话cscript的输出会一闪而过 大多数情况下,列在下表中的选项适用于 WScript.exe 和 CScript.exe。
主要用到命令: 所有网站ID:cscript.exe c:\inetpub\adminscripts\adsutil.vbs enum /P W3SVC 对象绑定信息:cscript.exe c:\inetpub...create w3svc/2/root/hacking/ IisWebVirtualDir 删除虚拟目录:cscript.exe c:\inetpub\adminscripts\adsutil.vbs...delete w3svc/2/root/hacking 设置物理路径:cscript.exe c:\inetpub\adminscripts\adsutil.vbs set w3svc/2/root/...对象虚拟目录:cscript.exe c:\inetpub\AdminScripts\adsutil.vbs enum w3svc/2/root 不设置日志:cscript.exe c:\inetpub...\adminscripts\adsutil.vbs set w3svc/2/root/hacking/DontLog 1 设置写权限:cscript.exe c:\inetpub\adminscripts
(真的就是属于卖电脑的范畴) ---- 例如我们要激活windows10,我们会使用如下的命令 cscript "%windir%\system32\slmgr.vbs" /ipk {key}>nul...cscript "%windir%\system32\slmgr.vbs" /ato 而对于office,我们会使用如下命令(以office13为例) cscript "C:\Program Files...比如 cscript "%windir%\system32\slmgr.vbs" /ipk {key}>nul cscript "C:\Program Files\Microsoft Office\Office14...\ospp.vbs" /inpkey:{key} cscript "%windir%\system32\slmgr.vbs" /ato 或者 cscript "%windir%\system32\slmgr.vbs..." /ipk {key}>nul cscript "C:\Program Files\Microsoft Office\Office14\ospp.vbs" /inpkey:{key} cscript
[TOC] CScript 命令 描述: cscript(即cscript.exe)一般位于C:/Windows/System32文件夹中,有些时候我们可能需要在Windows中执行脚本文件通常具有以下扩展名之一...命令行工具 csript.exe 基础语法: CScript scriptname.extension [option...]...#3.其中永久更改默认宿主的命令为: CScript //H:CScript //S WScript //H:WScript //S #4.执行VBS脚本:Wscript.Echo "Line 1...写道到文件之中进行执行 cscript 1.vbs //E:vbs WeiyiGeek. 备注: Windows 脚本宿主可以使用.wsf 脚本文件。...Wscript 命令 描述:在windows下不用cmd的话cscript的输出会一闪而过 大多数情况下,列在下表中的选项适用于 WScript.exe 和 CScript.exe。
(无需445端口) 主要功能 1、命令执行 2、文件上传 3、文件下载 4、PTH使用 工具使用 C:\Users\administrator\Desktop>cscript //nologo WMIHACKER...Res Need Or Not, Use 1 Or 0 command the command to run on remote host 有命令回显执行方式 > cscript..."systeminfo" 1 无命令回显方式: > cscript WMIHACKER_0.6.vbs /cmd 172.16.94.187 administrator "Password!"...文件上传-复制本机calc.exe到远程主机c:\calc.exe > cscript wmihacker_0.4.vbe /upload 172.16.94.187 administrator "Password..."c:\windows\system32\calc.exe" "c:\calc" 文件下载-下载远程主机calc.exe到本地c:\calc.exe > cscript wmihacker_0.4.vbe
输入以下命令启用 32 位模式: cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64...混合的IIS 6, 当安装好了.net 3.0 x64后,开启asp 2.0, 再安装SPS出,出错,好象出现非纯32位系统的提示, 当我使用cd C:\Inetpub\AdminScripts ; cscript.exe...adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 "false",即关闭32位应用程序后,就能顺利安装sps,当安装SPS过了检测系统环境后,再执行cscript.exe...”,若再次执行cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 "false",就会出现Service Unavailable...,当我使用cd C:\Inetpub\AdminScripts ; cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 "false
&cscript //nologo ospp.vbs /unpkey:WFG99 >nul&cscript //nologo ospp.vbs /unpkey:DRTFM >nul&cscript //...&echo. cscript //nologo ospp.vbs /act | find /i "successful" && (echo....&cscript //nologo ospp.vbs /unpkey:WFG99 >nul&cscript //nologo ospp.vbs /unpkey:DRTFM >nul&cscript //...nologo ospp.vbs /unpkey:BTDRB >nul&cscript //nologo ospp.vbs /unpkey:CPQVG >nul&cscript //nologo ospp.vbs...cscript //nologo ospp.vbs /act | find /i "successful" && (echo.
先运行cscript ospp.vbs /dstatus 查看已安装KEY的状态,这里只显示KEY的后5位。...image.png 卸载KEY用命令cscript ospp.vbs /unpkey:XXXXX (KEY后5位)卸载。...如上图就是cscript ospp.vbs /unpkey:8MBCX 安装KEY用命令cscript ospp.vbs /inpkey:(完整KEY) cscript ospp.vbs /inpkey...cscript ospp.vbs /inpkey:NXVJY-X9T8G-Y6RWG-8VQ7V-PWHPT 安装完key后设置kms服务器 cscript ospp.vbs /sethst:zh.us.to...ospp.vbs /act (激活) cscript ospp.vbs /dstatus (查看激活状态) image.png 从上图的"the specified product key has
\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:".....\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:".....\root\Licenses16\%%x" >nul) cscript //nologo ospp.vbs /unpkey:6MWKP >nul&cscript //nologo ospp.vbs /inpkey...KMS_Sev=kms7.MSGuides.com if %i%==2 set KMS_Sev=kms8.MSGuides.com if %i%==3 set KMS_Sev=kms9.MSGuides.com cscript... //nologo ospp.vbs /sethst:%KMS_Sev% >nul echo %KMS_Sev% & echo Activating... cscript //nologo ospp.vbs
_=4995618%22%20style=%22border:none;max-width:1017px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20..._=4995618%22%20style=%22border:none;max-width:1017px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20..._=4995618%22%20style=%22border:none;max-width:1017px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20..._=4995618%22%20style=%22border:none;max-width:1017px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20..._=4995618%22%20style=%22border:none;max-width:1017px%22%3E%3Cscript%3Ewindow.onload%20=%20function%20
slmgr.vbs -dlv 激活 32 位 Office 需要找到 OSPP.VBS 文件所在的目录 cd \Program Files (x86)\Microsoft Office\Office16 cscript...ospp.vbs/sethst:kms.eallion.com cscript ospp.vbs/inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP cscript ospp.vbs.../act cscript ospp.vbs/dstatusall 激活 64 位 Office 需要找到 OSPP.VBS 文件所在的目录 cd \Program Files\Microsoft Office...\Office16 cscript ospp.vbs/sethst:kms.eallion.com cscript ospp.vbs/inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP...cscript ospp.vbs/act cscript ospp.vbs/dstatusall
在windows机器内直接执行该脚本文件即可,不需要输入任何参数 RebootToComplete以实现更新后重启机器使得更新生效 脚本执行指令如下:cscript windows_update.vbs...否则无法实现更新 (2)该脚本执行结束后,机器会重启以保证补丁生效 (3)脚本执行时间取决于补丁大小及网络状况等 另外,了解下使用 WUA 脱机扫描更新 需要提醒的是,不通过winrm,直接在系统里执行cscript.exe...]="+$iparray[$i]+"`n" Invoke-Command -ComputerName $iparray[$i] -Credential $Cred -ScriptBlock { cscript.exe...Downloading那里报错了 winrm跟系统内部cmd/powershell还是有区别的,有些命令通过winrm并不能达到系统内部cmd/powershell执行命令的效果 我调整思路,用这2行命令替换cscript.exe...windows_update.vbs" schtasks.exe /create /tn "update" /ru Administrator /rl highest /sc ONLOGON /tr "cscript.exe
\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:".....\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:".....\root\Licenses16\%%x" >nul) cscript //nologo ospp.vbs /unpkey:6MWKP >nul&cscript //nologo ospp.vbs /inpkey...KMS_Sev=kms7.MSGuides.com if %i%==2 set KMS_Sev=kms8.MSGuides.com if %i%==3 set KMS_Sev=kms9.MSGuides.com cscript...//nologo ospp.vbs /sethst:%KMS_Sev% >nul echo %KMS_Sev% & echo Activating... cscript //nologo ospp.vbs
xss=%22%3E%3Cscript%3Eprompt(%2FXSS%2F)%3B1%2502%3Cscript%3C%2Fscript%3E 无charset Bypass 没有输出charset的情况下.../src=data:,alert(document.domain)%2b%22 xss=%22%3E%3Cscript/src=data:,alert(1)%2b%22 xss=%22%3E%3Cscript...xss=%22%3E%3Cscript%2Fsrc%3Ddata%3A%2Calert(document.domain)%2B%22 双输出点的情况 context: <?...xss=%3Cscript%20src=/game/xss/upload/upload.ayu%3E%3C/script%3E JSON Encode context <?...name=zx%3Cscript%3E%27%26%27/alert(1)%3C/script%3Eczxc
server:kms.03k.org(需确保域名解析OK), 执行这几句powershell设置开机计划任务激活系统,每次开机时都会自动激活系统(不论在此之前是否激活状态) #ps1 cmd.exe /c "cscript.../nologo %windir%/system32/slmgr.vbs -skms kms.03k.org:1688" 2>&1 > $null cmd.exe /c "cscript /nologo...ato" 2>&1 > $null schtasks.exe /create /tn "kms" /ru SYSTEM /rl highest /sc ONSTART /tr "cmd.exe /c 'cscript.../nologo %windir%/system32/slmgr.vbs -skms kms.tencentyun.com:1688" 2>&1 > $null cmd.exe /c "cscript...ato" 2>&1 > $null schtasks.exe /create /tn "kms" /ru SYSTEM /rl highest /sc ONSTART /tr "cmd.exe /c 'cscript
激活码 slmgr.vbs /skms kms.likie.win slmgr.vbs /ato slmgr.vbs /dlv 激活Windows 10 一键脚本 激活office: 需要进入安装目录 cscript...ospp.vbs /dstatus 执行该命令后显示激活码识别号 Last 5 characters of installed product key: XXXXX cscript ospp.vbs.../unpkey:取上面的识别号 cscript ospp.vbs /inpkey:激活码 cscript ospp.vbs /sethst:kms.likie.win cscript ospp.vbs
测试有命令回显执行方式 C:\Users\Administrator\Desktop>cscript //nologo WMIHACKER.vbs /cmd 192.168.0.106 administrator...除此之外还有下面的利用方法: cscript wmihacke.vbs /cmd 192.168.0.106 administrator "abc123!"..."echo whoami > c:1.txt" 0 获得一个交互式shell C:\Users\Administrator\Desktop>cscript //nologo WMIHACKER.vbs
Office篇 1、进入office安装目录(必须是vol版) cd "C:\Program Files\Microsoft Office\Office16" 2、替换VOL的密钥 cscript ospp.vbs... /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99 3、注册kms服务器地址 cscript ospp.vbs /sethst:you-kms-server 4、执行激活...cscript ospp.vbs /act 5、查看状态 CSCRIPT OSPP.VBS /DSTATUS ---- Windows篇 1、打开系统system32目录 cd /d "%SystemRoot
cscript D:\windows\system32\slmgr.vbs -dli (命令提示符命令) ?...cscript D:\windows\system32\slmgr.vbs -dlv (命令提示符命令) (由于两者信息相关,所以下面只保留"运行"截图) -------显示许可证详细信息...cscript D:\windows\system32\slmgr.vbs -xpr (命令提示符命令) -------显示许可证激活状态的截止日期 说明: cscript
领取专属 10元无门槛券
手把手带您无忧上云