MSSQL木馬修復(fù),中木馬后的處理方法建站知識
導(dǎo)讀:1建站知識MSSQL木馬修復(fù),中木馬后的處理方法,需要的朋友可以參考一下公司網(wǎng)站建設(shè)營銷型網(wǎng)站建設(shè)。
復(fù)制代碼 代碼如下:
declare @t企業(yè)網(wǎng)站建設(shè) varchar(25高端網(wǎng)站建設(shè)5),@c varchar(255)declare table_cursor cursor for select a.name,b.name from sysobjects a,syscolumns b ,systypes c where a.id=b.id and a.xtype='u' and c.name in ('char', 'nchar', 'nvarchar', 'varchar','text','nseo網(wǎng)站優(yōu)化軟件text'/* --這里如果你的text(ntext)類型沒有超過8000(4000)長度,才可以使用*/)declare @str varchar(500),@str2 varchar(500) set @str='<script src=fasfdasfasf ></script> ' /*這里是你要替換的字符*/set @str2='' /*替換后的字符*/open table_cursor fetch next from table_cursor into @t,@c while(@@fetch_status=0) begin exec('update [' + @t + '] set [' + @c + ']=replace(cast([' + @c + '] as varchar(8000)),'''+@str+''','''+ @str2 +''')')
fetch next from table_cursor into @t,@c end close table_cursor deallocate table_cursor;
相關(guān)公司網(wǎng)站建設(shè)營銷型網(wǎng)站建設(shè)。聲明: 本文由我的SEOUC技術(shù)文章主頁發(fā)布于:2023-05-23 ,文章MSSQL木馬修復(fù),中木馬后的處理方法建站知識主要講述木馬,標簽,SQL網(wǎng)站建設(shè)源碼以及服務(wù)器配置搭建相關(guān)技術(shù)文章。轉(zhuǎn)載請保留鏈接: http://www.bifwcx.com/article/web_5959.html