<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cyborgworkshop.org &#187; PHP</title>
	<atom:link href="http://cyborgworkshop.org/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://cyborgworkshop.org</link>
	<description>Blurring the line</description>
	<lastBuildDate>Wed, 18 May 2011 13:57:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Adding more then 255 IPs to an interface in Solaris</title>
		<link>http://cyborgworkshop.org/2008/05/26/adding-more-then-255-ips-to-an-interface-in-solaris/</link>
		<comments>http://cyborgworkshop.org/2008/05/26/adding-more-then-255-ips-to-an-interface-in-solaris/#comments</comments>
		<pubDate>Mon, 26 May 2008 14:00:36 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[255]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[virtual]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=52</guid>
		<description><![CDATA[By default, solaris will only let you add 255 IP addresses to an interface. You&#8217;ll know you hit the limit when you get an out of buffer message when you try to add your next one. In Solaris 2.5, you&#8217;re pretty much stuck with this limitation. In solaris 2.6 and higher, you can run the [...]]]></description>
			<content:encoded><![CDATA[<p>By default, solaris will only let you add 255 IP addresses to an interface. You&#8217;ll know you hit the limit when you get an out of buffer message when you try to add your next one. In Solaris 2.5, you&#8217;re pretty much stuck with this limitation. In solaris 2.6 and higher, you can run the followng to up that limit as high as 8192.  Past 8192, you&#8217;ll need to add another interface. </p>
<blockquote><p>/usr/sbin/ndd -set /dev/ip ip_addrs_per_if 8192</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2008/05/26/adding-more-then-255-ips-to-an-interface-in-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Decoding gzinflate base64_decode files using php</title>
		<link>http://cyborgworkshop.org/2008/03/19/decoding-gzinflate-base64_decode-files-using-php/</link>
		<comments>http://cyborgworkshop.org/2008/03/19/decoding-gzinflate-base64_decode-files-using-php/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 10:27:25 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[base64]]></category>
		<category><![CDATA[decode]]></category>
		<category><![CDATA[gzinflate]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=7</guid>
		<description><![CDATA[Another little gem I found on the web. I&#8217;ve come across a few files that show up as base64_decode files when you look at them, but after php has had it&#8217;s way, they output text. Come to find out, it&#8217;s a not so clever way to obfuscate code. Other folks have had need to view [...]]]></description>
			<content:encoded><![CDATA[<p>Another little gem I found on the web.  I&#8217;ve come across a few files that show up as base64_decode files when you look at them, but after php has had it&#8217;s way, they output text. Come to find out, it&#8217;s a not so clever way to obfuscate code.  Other folks have had need to view these files too and have posted <a href="http://danilo.ariadoss.com/2006/01/04/decoding-eval-gzinflate-base64_decode/" target="_blank">handy little tools</a> to aid in that effort. Here&#8217;s one of them.  Just create files called decode.php, decoded.txt and coded.txt . Put the obfuscated code in coded.txt, put this program code into decode.php and run it. The output will show up in decoded.txt .  Note that this is a PHP program and requires PHP to run.</p>
<blockquote><p> &lt;?php<br />
echo &#8220;\nDECODE nested eval(gzinflate()) by DEBO Jurgen &lt;jurgen@person.be&gt;\n\n&#8221;;<br />
echo &#8220;1. Reading coded.txt\n&#8221;;<br />
$fp1 = fopen (&#8220;coded.txt&#8221;, &#8220;r&#8221;);<br />
$contents = fread ($fp1, filesize (&#8220;coded.txt&#8221;));<br />
fclose($fp1);<br />
echo &#8220;2. Decoding\n&#8221;;<br />
while (preg_match(&#8220;/eval\(gzinflate/&#8221;,$contents)) {<br />
$contents=preg_replace(&#8220;/&lt;\?|\?&gt;/&#8221;, &#8220;&#8221;, $contents); eval(preg_replace(&#8220;/eval/&#8221;, &#8220;\$contents=&#8221;, $contents)); } echo &#8220;3. Writing decoded.txt\n&#8221;; $fp2 = fopen(&#8220;decoded.txt&#8221;,&#8221;w&#8221;); fwrite($fp2, trim($contents)); fclose($fp2);<br />
?&gt;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2008/03/19/decoding-gzinflate-base64_decode-files-using-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

