<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 19 Jun 2013 15:13:07 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Gareth Heyes: Bypassing XSS Auditor]]></title>
      <guid>http://www.phpdeveloper.org/news/19209</guid>
      <link>http://www.phpdeveloper.org/news/19209</link>
      <description><![CDATA[<p>
<i>Gareth Heyes</i> has <a href="http://www.thespanner.co.uk/2013/02/19/bypassing-xss-auditor/">posted about some bypasses</a> that he's found for getting around the XSS Auditor functionality in some browsers:
</p>
<blockquote>
I had a look at XSS Auditor for a bit of fun because Mario said it's getting harder to bypass. Hmmm I don't agree. I seem to remember the same flaws are present from the last time I checked it with a little variation. It is also a very limited XSS filter not supporting detection of script based attacks (very common). 
</blockquote>
<p>
He includes three of his own bypasses - using a "formaction" on the submit input in a form, using "target" to override the iframe external resource restriction and the injection of a specially placed anchor tag. Each of these comes with a proof-of-concept example and another is <a href="http://pastebin.com/7jU4yhs9">also included</a> courtesy of <i>Mario Heiderich</i>.
</p>]]></description>
      <pubDate>Wed, 20 Feb 2013 11:21:29 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Benjamin Eberlei's Blog: Test your Legacy PHP Application with Function Mocks!]]></title>
      <guid>http://www.phpdeveloper.org/news/12243</guid>
      <link>http://www.phpdeveloper.org/news/12243</link>
      <description><![CDATA[<p>
<i>Benjamin Eberlei</i> <a href="http://www.whitewashing.de/blog/articles/115">has a suggestion</a> for testing your application without having to mess around with creating new resources just for testing - use mocks.
</p>
<blockquote>
Much talking is going on about Unit testing, Mocks and TDD in the PHP world. For the most this discussions surround object-oriented PHP code, frameworks and applications. Yet I would assert that the reality for PHP developers (me included) is dealing with PHP 4, PHP 5 migrated, or non-object oriented legacy applications which are near to impossible to bring under test.
</blockquote>
<p>
He includes a "proof of concept" for a replacement <a href="http://php.net/mysql_query">mysql_query</a> function (as created inside of Runkit) that sets up a "mocker" object that returns a "hello world" message when the mysql_query function is called.
</p>]]></description>
      <pubDate>Tue, 31 Mar 2009 11:18:31 -0500</pubDate>
    </item>
  </channel>
</rss>
