sql恢复xp_regread

sql恢复xp_regread

删除掉xp_regread后,发现以前的作业不能查看,只能去恢复了。

exec sp_addextendedproc 'Xp_dirtree','xpstar.dll'    恢复后发现不能使用
找到dbcc addextendedproc ("Xp_regread","xpstar.dll") 还是不能使用

后来才发现恢复的时候要用小写dbcc addextendedproc ("xp_regread","xpstar.dll"),这样就可以了

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
以下是一个防止SQL注入的正则表达式: ```python import re def sql_inject_check(input_str): # 匹配注入的SQL语句关键字 sql_pattern = re.compile(r'.*(select|insert|update|delete|drop|truncate|create|grant|exec|execute|declare|backup|restore|backup database|restore database|net user|net localgroup administrators|xp_cmdshell|sp_executesql|xp_regwrite|xp_regdelete|xp_regread|xp_fileexist|xp_filelist|xp_dirtree|xp_subdirs|xp_fixeddrives|xp_availablemedia|xp_enumdsn|xp_enumgroups|xp_enumerrorlogs|xp_displayparamstmt|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp_cmdshell|xp
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值