刪除MSSQL危險存儲過程的代碼
添加時間:2012-4-6
添加:
admin
刪除 use master exec sp_dropextendedproc 'xp_cmdshell' exec sp_dropextendedproc 'xp_dirtree' exec sp_dropextendedproc 'xp_enumgroups' exec sp_dropextendedproc 'xp_fixeddrives' exec sp_dropextendedproc 'xp_loginconfig' exec sp_dropextendedproc 'xp_enumerrorlogs' exec sp_dropextendedproc 'xp_getfiledetails' exec sp_dropextendedproc 'Sp_OACreate' exec sp_dropextendedproc 'Sp_OADestroy' exec sp_dropextendedproc 'Sp_OAGetErrorInfo' exec sp_dropextendedproc 'Sp_OAGetProperty' exec sp_dropextendedproc 'Sp_OAMethod' exec sp_dropextendedproc 'Sp_OASetProperty' exec sp_dropextendedproc 'Sp_OAStop' exec sp_dropextendedproc 'Xp_regaddmultistring' exec sp_dropextendedproc 'Xp_regdeletekey' exec sp_dropextendedproc 'Xp_regdeletevalue' exec sp_dropextendedproc 'Xp_regenumvalues' exec sp_dropextendedproc 'Xp_regread' exec sp_dropextendedproc 'Xp_regremovemultistring' exec sp_dropextendedproc 'Xp_regwrite' drop procedure sp_makewebtask go 恢復(fù) use master exec sp_addextendedproc xp_cmdshell,'xp_cmdshell.dll' exec sp_addextendedproc xp_dirtree,'xpstar.dll' exec sp_addextendedproc xp_enumgroups,'xplog70.dll' exec sp_addextendedproc xp_fixeddrives,'xpstar.dll' exec sp_addextendedproc xp_loginconfig,'xplog70.dll' exec sp_addextendedproc xp_enumerrorlogs,'xpstar.dll' exec sp_addextendedproc xp_getfiledetails,'xpstar.dll' exec sp_addextendedproc sp_OACreate,'odsole70.dll' exec sp_addextendedproc sp_OADestroy,'odsole70.dll' exec sp_addextendedproc sp_OAGetErrorInfo,'odsole70.dll' exec sp_addextendedproc sp_OAGetProperty,'odsole70.dll' exec sp_addextendedproc sp_OAMethod,'odsole70.dll' exec sp_addextendedproc sp_OASetProperty,'odsole70.dll' exec sp_addextendedproc sp_OAStop,'odsole70.dll' exec sp_addextendedproc xp_regaddmultistring,'xpstar.dll' exec sp_addextendedproc xp_regdeletekey,'xpstar.dll' exec sp_addextendedproc xp_regdeletevalue,'xpstar.dll' exec sp_addextendedproc xp_regenumvalues,'xpstar.dll' exec sp_addextendedproc xp_regread,'xpstar.dll' exec sp_addextendedproc xp_regremovemultistring,'xpstar.dll' exec sp_addextendedproc xp_regwrite,'xpstar.dll' 恢復(fù)SQL 擴展存儲過程 xp_fileexist
查詢DLL文件與對應(yīng)存儲過程關(guān)聯(lián) select text,object_name(id) as spname from syscomments where object_name(id) like 'sp_o%' or object_name(id) like 'xp_r%' or object_name(id) like 'xp_c%' xpstar.dll xp_readerrorlog xplog70.dll xp_cmdshell sqlmap70.dll xp_readmail xprepl.dll xp_repl_encrypt xprepl.dll xp_repl_convert_encrypt xprepl.dll xp_repl_help_connect xprepl.dll xp_replproberemsrv xpqueue.dll xp_createprivatequeue xpqueue.dll xp_resetqueue xpqueue.dll xp_controlqueueservice xpqueue.dll xp_readpkfromqueue xpqueue.dll xp_readpkfromvarbin odsole70.dll sp_OACreate odsole70.dll sp_OADestroy odsole70.dll sp_OAGetErrorInfo odsole70.dll sp_OAGetProperty odsole70.dll sp_OAMethod odsole70.dll sp_OASetProperty odsole70.dll sp_OAStop xpweb70.dll xp_runwebtask xpweb70.dll xp_cleanupwebtask xpweb70.dll xp_convertwebtask xpweb70.dll xp_readwebtask xpstar.dll xp_regread xpstar.dll xp_regwrite xpstar.dll xp_regdeletevalue xpstar.dll xp_regaddmultistring xpstar.dll xp_regremovemultistring xpstar.dll xp_regenumkeys xpstar.dll xp_regenumvalues xpstar.dll xp_regdeletekey |
新文章:
- CentOS7下圖形配置網(wǎng)絡(luò)的方法
- CentOS 7如何添加刪除用戶
- 如何解決centos7雙系統(tǒng)后丟失windows啟動項
- CentOS單網(wǎng)卡如何批量添加不同IP段
- CentOS下iconv命令的介紹
- Centos7 SSH密鑰登陸及密碼密鑰雙重驗證詳解
- CentOS 7.1添加刪除用戶的方法
- CentOS查找/掃描局域網(wǎng)打印機IP講解
- CentOS7使用hostapd實現(xiàn)無AP模式的詳解
- su命令不能切換root的解決方法
- 解決VMware下CentOS7網(wǎng)絡(luò)重啟出錯
- 解決Centos7雙系統(tǒng)后丟失windows啟動項
- CentOS下如何避免文件覆蓋
- CentOS7和CentOS6系統(tǒng)有什么不同呢
- Centos 6.6默認iptable規(guī)則詳解