码迷,mamicode.com
首页 > 其他好文 > 详细

你这是virus吧?

时间:2019-05-25 13:02:45      阅读:86      评论:0      收藏:0      [点我收藏+]

标签:objects   exe   object   end   type   vps   ble   count   rom   

谁在我的vps上跑了这个?我的备份终于起一定作用了。

GO
declare @sql varchar(8000)
while (select count(*) from sysobjects where type=‘U‘)>0
begin
SELECT @sql=‘drop table ‘ + name
FROM sysobjects
WHERE (type = ‘U‘)
ORDER BY ‘drop table ‘ + name
exec(@sql) 
end

 

你这是virus吧?

标签:objects   exe   object   end   type   vps   ble   count   rom   

原文地址:https://www.cnblogs.com/codingplus/p/2019-05-25-02.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!