sql SQL:禁用带外(OOB)包

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sql SQL:禁用带外(OOB)包相关的知识,希望对你有一定的参考价值。

declare @packageId uniqueidentifier
declare PackageRemoval cursor for
--**** Collect package Guids
select Guid
from
vRM_Package_Item
--**** Exact names of the packages to be removed from all package lists.
where Name in (
	'Antivirus Inventory Package component'
	, 'Intel SCS 5.5.0.3 - Software Package Resource'
	, 'Intel® SCS package'
	, 'OOB Site Server Configuration Package'
	, 'OOB Site Server Inventory Package'
	, 'OOB Site Service Agent - Software Package Resource'
	, 'Out of Band Discovery Package'
	, 'Out of Band Site Service Agent package'
	, 'Out of Band Task Plug-in Package'
	, 'Symantec Endpoint Protection Uninstall Management'
)
--*******************
open PackageRemoval
fetch next from PackageRemoval into @packageId

while @@FETCH_STATUS = 0
begin

update RM_ResourceSoftware_Package set ProductUninstalled = 1 where Guid = @packageId
update RM_ResourcePackage set ProductUninstalled = 1 where Guid = @packageId
update NSInternal_ItemInstalled set ProductUninstalled = 1 where Guid = @packageId
delete from SWDPackageServer where PackageId = @packageId
delete from SWDPackageCodebase where PackageId = @packageId

fetch next from PackageRemoval into @packageId
end
close PackageRemoval
deallocate PackageRemoval

以上是关于sql SQL:禁用带外(OOB)包的主要内容,如果未能解决你的问题,请参考以下文章

带外通道(OOB)Bind XML外部实体注入漏洞:PayPal案例研究

套接字编程:如何处理带外数据

OAuth 中的 OOB 是啥?

TCP带外数据

sql 删除带外键约束的表的语句是啥

mysql执行带外键的sql文件时出现mysql ERROR 1215 (HY000): Cannot add foreign key constraint的解决