<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/goldcattle" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/goldcattle" type="application/rss+xml"></fs:self_link><lastBuildDate>Thu, 20 Sep 2007 01:43:00 GMT</lastBuildDate><title>goldcattle的专栏</title><description>Matrix Reload</description><link>http://blog.csdn.net/goldcattle/</link><item><title>patterns &amp; practices Performance Testing Guidance for Web Applications</title><link>http://blog.csdn.net/goldcattle/archive/2007/09/20/1792175.aspx</link><wfw:comment>http://blog.csdn.net/goldcattle/comments/1792175.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/goldcattle/comments/commentRss/1792175.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1792175</trackback:ping><description>Pattern &amp; practice 上出的新文章（书）从事Web Application performance testing的可以看看 &lt;img src =&quot;http://blog.csdn.net/goldcattle/aggbug/1792175.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 20 Sep 2007 09:43:00 +0800</pubDate><author>goldcattle</author><comments>http://blog.csdn.net/goldcattle/archive/2007/09/20/1792175.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/goldcattle/archive/2007/09/20/1792175.aspx</guid><dc:creator>goldcattle</dc:creator></item><item><title>SQL injection</title><link>http://blog.csdn.net/goldcattle/archive/2007/08/02/1721893.aspx</link><wfw:comment>http://blog.csdn.net/goldcattle/comments/1721893.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/goldcattle/comments/commentRss/1721893.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1721893</trackback:ping><description>SQL injection 
  
最近自己折腾一个数据库的东西，自己研究了一下SQL injection.

SQL injection 看起来还是挺有意思。可以看看youtube 上的一个SQL injection的实例还是比较简单的。http://www.youtube.com/watch?v=MJNJjh4jORY 

 

当然这是最基本的SQL injection了。这种最基本的问题一般都出在query的字段连接上。

SqlCommand cmd = new SqlCommand(
  &quot;SELECT ID, FullName FROM User WHERE Login='&quot;
  + Login.Text
  + &quot;' AND Password='&quot; 
  + Password.Text 
  + &quot;'&quot;);

 
这种类型的错误相当常见，在一般情况下这个SQL语句执行没有任何问题，但是如果往用户的密码框里填上

' OR ''='

那么这个验证就被跳过去了。

当然高级的injecition 需要不停的试最终找到你的se&lt;img src =&quot;http://blog.csdn.net/goldcattle/aggbug/1721893.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 02 Aug 2007 09:34:00 +0800</pubDate><author>goldcattle</author><comments>http://blog.csdn.net/goldcattle/archive/2007/08/02/1721893.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/goldcattle/archive/2007/08/02/1721893.aspx</guid><dc:creator>goldcattle</dc:creator></item><item><title>Fuzz testing</title><link>http://blog.csdn.net/goldcattle/archive/2007/07/12/1685962.aspx</link><wfw:comment>http://blog.csdn.net/goldcattle/comments/1685962.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/goldcattle/comments/commentRss/1685962.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1685962</trackback:ping><description>Fuzz Testing&lt;img src =&quot;http://blog.csdn.net/goldcattle/aggbug/1685962.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 12 Jul 2007 10:31:00 +0800</pubDate><author>goldcattle</author><comments>http://blog.csdn.net/goldcattle/archive/2007/07/12/1685962.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/goldcattle/archive/2007/07/12/1685962.aspx</guid><dc:creator>goldcattle</dc:creator></item><item><title>自动化测试－提高测试效率的途径(1)</title><link>http://blog.csdn.net/goldcattle/archive/2007/05/25/1624905.aspx</link><wfw:comment>http://blog.csdn.net/goldcattle/comments/1624905.aspx</wfw:comment><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/goldcattle/comments/commentRss/1624905.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1624905</trackback:ping><description>自动化测试－提高测试效率的途径
&lt;img src =&quot;http://blog.csdn.net/goldcattle/aggbug/1624905.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 25 May 2007 10:04:00 +0800</pubDate><author>goldcattle</author><comments>http://blog.csdn.net/goldcattle/archive/2007/05/25/1624905.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/goldcattle/archive/2007/05/25/1624905.aspx</guid><dc:creator>goldcattle</dc:creator></item><item><title>XML库的解析效率</title><link>http://blog.csdn.net/goldcattle/archive/2007/04/27/1586514.aspx</link><wfw:comment>http://blog.csdn.net/goldcattle/comments/1586514.aspx</wfw:comment><slash:comments>2</slash:comments><wfw:commentRss>http://blog.csdn.net/goldcattle/comments/commentRss/1586514.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1586514</trackback:ping><description>XML库的解析效率
XML库的解析效率主要包括解析、存储、导出、遍历、修改、XPath定位 等等。 

XML的访问模型主要有三种，DOM， SAX，PULL。 

DOM即Document Object Model，是最常用的XML解析库。DOM 适用的范围是频繁的不定向随机性访问，以及进行 xslt 之类的转换。 例如如果你需要用xpath 查询或者你要遍历, DOM.还是不错的 只读不只读基本上对规模/性能没什么太大影响. BTW XSLT的功能还是相当强大的。 

如果格式基本上固定的单向读取，即不用遍历, 或者一次性遍历, SAX 就是了. 

如果格式比较灵活且对效率要求高 pull 模型适用， XmlLite是基于 pull 模型的。在第四期的MSDN magazine上有关于XML lite的讨论。 

因为 sax 是由 reader 将所有内容推给你，pull 则是在需要的时候将信息从 reader 拉回来，如果一个节点忽略不处理时，sax 引擎后台还是解析pull 则只需要做最简单的 tag 匹配就可跳过。 

DOM在进行解析时基本上也&lt;img src =&quot;http://blog.csdn.net/goldcattle/aggbug/1586514.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 27 Apr 2007 08:11:00 +0800</pubDate><author>goldcattle</author><comments>http://blog.csdn.net/goldcattle/archive/2007/04/27/1586514.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/goldcattle/archive/2007/04/27/1586514.aspx</guid><dc:creator>goldcattle</dc:creator></item><item><title>=========重新开张=========</title><link>http://blog.csdn.net/goldcattle/archive/2007/04/26/1586486.aspx</link><wfw:comment>http://blog.csdn.net/goldcattle/comments/1586486.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/goldcattle/comments/commentRss/1586486.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1586486</trackback:ping><description>重新开张&lt;img src =&quot;http://blog.csdn.net/goldcattle/aggbug/1586486.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 27 Apr 2007 07:30:00 +0800</pubDate><author>goldcattle</author><comments>http://blog.csdn.net/goldcattle/archive/2007/04/26/1586486.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/goldcattle/archive/2007/04/26/1586486.aspx</guid><dc:creator>goldcattle</dc:creator></item><item><title>迭代器使用的注意点</title><link>http://blog.csdn.net/goldcattle/archive/2005/07/29/439438.aspx</link><wfw:comment>http://blog.csdn.net/goldcattle/comments/439438.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/goldcattle/comments/commentRss/439438.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=439438</trackback:ping><description>使用iterator 的注意点&lt;img src =&quot;http://blog.csdn.net/goldcattle/aggbug/439438.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sat, 30 Jul 2005 01:23:00 +0800</pubDate><author>goldcattle</author><comments>http://blog.csdn.net/goldcattle/archive/2005/07/29/439438.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/goldcattle/archive/2005/07/29/439438.aspx</guid><dc:creator>goldcattle</dc:creator></item><item><title>一道考察递归思想的面试题</title><link>http://blog.csdn.net/goldcattle/archive/2005/02/26/303176.aspx</link><wfw:comment>http://blog.csdn.net/goldcattle/comments/303176.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/goldcattle/comments/commentRss/303176.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=303176</trackback:ping><description>一道面试题的递归思路的解法。&lt;img src =&quot;http://blog.csdn.net/goldcattle/aggbug/303176.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sun, 27 Feb 2005 01:48:00 +0800</pubDate><author>goldcattle</author><comments>http://blog.csdn.net/goldcattle/archive/2005/02/26/303176.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/goldcattle/archive/2005/02/26/303176.aspx</guid><dc:creator>goldcattle</dc:creator></item><item><title>mp3player</title><link>http://blog.csdn.net/goldcattle/archive/2005/02/15/287966.aspx</link><wfw:comment>http://blog.csdn.net/goldcattle/comments/287966.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/goldcattle/comments/commentRss/287966.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=287966</trackback:ping><description>mp3player link&lt;img src =&quot;http://blog.csdn.net/goldcattle/aggbug/287966.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 15 Feb 2005 08:35:00 +0800</pubDate><author>goldcattle</author><comments>http://blog.csdn.net/goldcattle/archive/2005/02/15/287966.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/goldcattle/archive/2005/02/15/287966.aspx</guid><dc:creator>goldcattle</dc:creator></item><item><title>STL 源代码分析</title><link>http://blog.csdn.net/goldcattle/archive/2004/12/19/222247.aspx</link><wfw:comment>http://blog.csdn.net/goldcattle/comments/222247.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/goldcattle/comments/commentRss/222247.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=222247</trackback:ping><description>STL源代码分析的第一章基本的东西&lt;img src =&quot;http://blog.csdn.net/goldcattle/aggbug/222247.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 20 Dec 2004 07:40:00 +0800</pubDate><author>goldcattle</author><comments>http://blog.csdn.net/goldcattle/archive/2004/12/19/222247.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/goldcattle/archive/2004/12/19/222247.aspx</guid><dc:creator>goldcattle</dc:creator></item></channel></rss>