小白龙 当前离线
中尉
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit复制代码
WHY 当前离线
上校
<# :复制代码
PowerShell "Start-Process PowerShell -Args 'gc -Literal ''%~f0''|Out-String|iex' -Verb RunAS" & exit/b复制代码
TOP
<# : @echo off PowerShell "Start-Process PowerShell -Args 'gc -Literal ''%~f0''|Out-String|iex' -Verb RunAS" & exit/b #> echo Done [Console]::ReadLine()复制代码
评分人数
@echo off more +4 "%~f0" > "%~dpn0.ps1" PowerShell "Start-Process PowerShell -Args ('-exec Bypass -file ' + [char]34 + '%~dpn0.ps1' + [char]34) -Verb RunAs" & exit/b echo Done [Console]::ReadLine()复制代码
<# : @echo off %1 PowerShell "Start-Process CMD -Args '/c', '\"\"%~f0\"', 'rem\"' -Verb RunAs" & exit/b PowerShell "type -Literal '%~f0'|out-string|iex" & pause & exit/b #> echo Done复制代码
@echo off %1 PowerShell "Start-Process CMD -Args '/c', '\"\"%~f0\"', 'rem\"' -Verb RunAs" & exit/b echo;do something here. pause复制代码
aloha20200628 当前离线
少校