<?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>eBlog</title>
	<atom:link href="http://emresaglam.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://emresaglam.com/blog</link>
	<description>My Blog about my life and my thoughts...</description>
	<lastBuildDate>Tue, 01 May 2012 17:56:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>2011 browser statistics for emresaglam.com</title>
		<link>http://emresaglam.com/blog/1062</link>
		<comments>http://emresaglam.com/blog/1062#comments</comments>
		<pubDate>Tue, 01 May 2012 17:56:26 +0000</pubDate>
		<dc:creator>Emre</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://emresaglam.com/blog/?p=1062</guid>
		<description><![CDATA[It&#8217;s been 5 years since I published my blog&#8217;s visitors&#8217; browser statistics. Chrome did not exist back then, Firefox was leading. It looks like Firefox is still leading, IE shrank about half and Firefox shrank about 1/3. All those are now using Chrome. Safari usage almost quadrupled and Opera users almost doubled.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been 5 years since I <a title="2006 browser statistics for my blog." href="http://emresaglam.com/blog/250">published</a> my blog&#8217;s visitors&#8217; browser statistics. Chrome did not exist back then, Firefox was leading. It looks like Firefox is still leading, IE shrank about half and Firefox shrank about 1/3. All those are now using Chrome. Safari usage almost quadrupled and Opera users almost doubled. <img src='http://emresaglam.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://emresaglam.com/blog/wp-content/uploads/2012/05/browser.png"><img class="alignleft size-full wp-image-1065" title="browser" src="http://emresaglam.com/blog/wp-content/uploads/2012/05/browser.png" alt="" width="874" height="361" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://emresaglam.com/blog/1062/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stupid freepbx issue</title>
		<link>http://emresaglam.com/blog/1055</link>
		<comments>http://emresaglam.com/blog/1055#comments</comments>
		<pubDate>Sun, 12 Feb 2012 07:32:05 +0000</pubDate>
		<dc:creator>Emre</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[freepbx]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://emresaglam.com/blog/?p=1055</guid>
		<description><![CDATA[For a long while I wasn&#8217;t able to pinpoint this really stupid issue where my extensions couldn&#8217;t call each other however my trunk calls were OK. It first surfaced by not being able to point my BV to my internal extension, but I brushed it out since I had a shitty Comcast router. I first [...]]]></description>
			<content:encoded><![CDATA[<p>For a long while I wasn&#8217;t able to pinpoint this really stupid issue where my extensions couldn&#8217;t call each other however my trunk calls were OK. It first surfaced by not being able to point my BV to my internal extension, but I brushed it out since I had a shitty Comcast router. I first thought that was the culprit.</p>
<p>Then when I was fixing my parents&#8217; extensions in Turkey I realized that I cannot make any extension to extension calls but I still can use outbound routes. After hours of troubleshooting I realized that dialparties.agi script would always return: &#8220;Returned from dialparties with no extensions to call and DIALSTATUS:&#8221;</p>
<p>I manually ran the script and found out that it was spitting out this error message: &#8220;PHP Parse error:  syntax error, unexpected T_GOTO, expecting T_STRING in /var/lib/asterisk/agi-bin/phpagi.php on line 1234&#8243;</p>
<p>Then I found <a href="http://www.freepbx.org/v2/ticket/3903">this bug in freepbx Trac</a>. I ended up changing the name of the goto function in line 1234 of phpagi.agi to go_to and things started to work fine. <img src='http://emresaglam.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Apparently this started to happen when I upgraded my ubuntu which upgraded the php to version 5.3.2.</p>
]]></content:encoded>
			<wfw:commentRss>http://emresaglam.com/blog/1055/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ArtsyCat</title>
		<link>http://emresaglam.com/blog/1048</link>
		<comments>http://emresaglam.com/blog/1048#comments</comments>
		<pubDate>Fri, 03 Feb 2012 07:05:45 +0000</pubDate>
		<dc:creator>Emre</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http://emresaglam.com/blog/?p=1048</guid>
		<description><![CDATA[My buddies just opened their art shop. They have a great water marble (Ebru) art web page where you can purchase them imprinted on iPhone/iPad cases, mugs and greeting cards. If you want something unique and beautiful for the approaching Valentine&#8217;s Day or any other occasion, I recommend you to take a look at their [...]]]></description>
			<content:encoded><![CDATA[<p>My buddies just opened their art shop. They have a great <a title="Paper Marbling" href="http://en.wikipedia.org/wiki/Paper_marbling" target="_blank">water marble (Ebru)</a> art web page where you can purchase them imprinted on iPhone/iPad cases, mugs and greeting cards.</p>
<p>If you want something unique and beautiful for the approaching Valentine&#8217;s Day or any other occasion, I recommend you to take a look at their <a title="ArtsyCat" href="http://artsycat.com/">page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://emresaglam.com/blog/1048/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy new year!</title>
		<link>http://emresaglam.com/blog/1041</link>
		<comments>http://emresaglam.com/blog/1041#comments</comments>
		<pubDate>Tue, 10 Jan 2012 19:31:30 +0000</pubDate>
		<dc:creator>Emre</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[zipir]]></category>

		<guid isPermaLink="false">http://emresaglam.com/blog/?p=1041</guid>
		<description><![CDATA[Oh hai!]]></description>
			<content:encoded><![CDATA[<p>Oh hai!<br />
<div id="attachment_1045" class="wp-caption aligncenter" style="width: 622px"><a href="http://emresaglam.com/blog/wp-content/uploads/2011/09/zipir_goodmorning.jpg"><img src="http://emresaglam.com/blog/wp-content/uploads/2011/09/zipir_goodmorning.jpg" alt="Happy new year!" title="zipir_goodmorning" width="612" height="612" class="size-full wp-image-1045" /></a><p class="wp-caption-text">Happy new year!</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://emresaglam.com/blog/1041/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OS X pkg files</title>
		<link>http://emresaglam.com/blog/1035</link>
		<comments>http://emresaglam.com/blog/1035#comments</comments>
		<pubDate>Thu, 08 Sep 2011 19:25:54 +0000</pubDate>
		<dc:creator>Emre</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://emresaglam.com/blog/?p=1035</guid>
		<description><![CDATA[Sometimes you need to see what&#8217;s inside of that pkg file. But you also don&#8217;t want to install it. You just want to take a look at the files in it before installing it. Well, here is how to do it: PKG files usually come in a DMG image. First mount that file by double [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://emresaglam.com/blog/wp-content/uploads/2011/09/pkg-235.png"><img class="alignleft size-full wp-image-1037" title="PKG Files" src="http://emresaglam.com/blog/wp-content/uploads/2011/09/pkg-235.png" alt="PKG Files" width="128" height="128" /></a>Sometimes you need to see what&#8217;s inside of that pkg file. But you also don&#8217;t want to install it. You just want to take a look at the files in it before installing it. Well, here is how to do it:</p>
<p>PKG files usually come in a DMG image. First mount that file by double clicking on it. Then open a Terminal window and go to the folder where it&#8217;s mounted. (Look under /Volumes)</p>
<p>Once you are in that folder you will see a file with a .pkg extension. Let&#8217;s say it is called Foo.pkg. Copy that file in a folder, I&#8217;ll copy it to /tmp.<br />
<code>cp Foo.pkg /tmp<br />
cd /tmp</code></p>
<p>Mac OS X has a utility called pkgutil. You can do a ton of stuff with it, so check the manual page. (man pkgutil) But for our exercise we will just use it to expand the pkg file.<br />
<code>pkgutil --expand Foo.pkg /tmp/foo_package<br />
cd /tmp/foo_package</code></p>
<p>This will open the pkg file to a flat structure. You will see some files and folders like Distribution, Resources, Foo.pkg. Go ahead and cd in the directory Foo.pkg:<br />
<code>cd Foo.pkg</code></p>
<p>In there you will several files. The important ones are <em>Bom</em>, <em>Payload</em> and <em>PackageInfo</em>:</p>
<h2>Bom:</h2>
<p>This file is called Bill of Materials. It describes what is in this pkg file and where they will be written to. If you will not do file/binary analysis of the contents of the pkg file and you want only to see which files will be written where, this is your file. You can also use this file&#8217;s contents to remove the package completely. (I leave this exercise up to you)</p>
<p>Bom is a binary file and there is a tool to list its contents: <em>lsbom</em>. (man lsbom for usage) Basic usage would be:<br />
<code>lsbom Bom</code></p>
<p>This will print file/directory structure of the contents on the screen.</p>
<h2>Payload:</h2>
<p>This is the file that contains all the files and directories in this pkg file. It&#8217;s a gzipped archive file.<br />
<code>$ file Payload<br />
Payload: gzip compressed data, from Unix<br />
$ mv Payload foo.gz<br />
$ gunzip foo.gz<br />
$ ls<br />
foo<br />
</code></p>
<p>This will give you a file called foo. Now you need to use cpio to extract that archive.<br />
<code>$ cpio -iv &lt; foo<br />
.<br />
./System<br />
./System/Library<br />
./usr<br />
./System/Library/LaunchAgents<br />
./usr/bin<br />
......files files files.......<br />
50002 blocks<br />
$ ls<br />
System	foo	usr<br />
</code><br />
In my case it unarchived two folders called System and usr.</p>
<p>No you can go and browse these directory to find files you are looking for. Have fun <img src='http://emresaglam.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://emresaglam.com/blog/1035/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New blog theme!</title>
		<link>http://emresaglam.com/blog/1033</link>
		<comments>http://emresaglam.com/blog/1033#comments</comments>
		<pubDate>Fri, 15 Jul 2011 04:47:31 +0000</pubDate>
		<dc:creator>Emre</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://emresaglam.com/blog/1033</guid>
		<description><![CDATA[My blog changed 4-5 times over the years. A facelift was long overdue. For the last 4 years I&#8217;ve been using dfBlog as my theme and the latest release is brilliant. Enjoy the new look. Hope to be more active in the future!!]]></description>
			<content:encoded><![CDATA[<p>My blog changed 4-5 times over the years. A facelift was long overdue. For the last 4 years I&#8217;ve been using dfBlog as my theme and the latest release is brilliant.</p>
<p>Enjoy the new look. Hope to be more active in the future!!</p>
]]></content:encoded>
			<wfw:commentRss>http://emresaglam.com/blog/1033/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scooter fun</title>
		<link>http://emresaglam.com/blog/1031</link>
		<comments>http://emresaglam.com/blog/1031#comments</comments>
		<pubDate>Sun, 10 Jul 2011 20:00:22 +0000</pubDate>
		<dc:creator>Emre</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http://emresaglam.com/blog/1031</guid>
		<description><![CDATA[Some weekend scooter fun.]]></description>
			<content:encoded><![CDATA[<p>Some weekend scooter fun. <img src='http://emresaglam.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://emresaglam.com/blog/wp-content/uploads/2011/07/20110710-125848.jpg"><img src="http://emresaglam.com/blog/wp-content/uploads/2011/07/20110710-125848.jpg" alt="20110710-125848.jpg" class="alignnone size-full" /></a></p>
<p><a href="http://emresaglam.com/blog/wp-content/uploads/2011/07/20110710-010009.jpg"><img src="http://emresaglam.com/blog/wp-content/uploads/2011/07/20110710-010009.jpg" alt="20110710-010009.jpg" class="alignnone size-full" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://emresaglam.com/blog/1031/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some basic statistics on leaked Sony usernames and passwords data.</title>
		<link>http://emresaglam.com/blog/1011</link>
		<comments>http://emresaglam.com/blog/1011#comments</comments>
		<pubDate>Thu, 09 Jun 2011 04:26:26 +0000</pubDate>
		<dc:creator>Emre</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[hacked]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://emresaglam.com/blog/?p=1011</guid>
		<description><![CDATA[I spent some time on analyzing password usage using the data that leaked from couple of Sony hacks few days ago. The results are pretty scary. The data size: 38698 users on 2 sites. Top ten most used passwords are: seinfeld password winner 123456 purple sweeps contest princess maggie peanut So if you have a [...]]]></description>
			<content:encoded><![CDATA[<p>I spent some time on analyzing password usage using the data that leaked from couple of Sony hacks few days ago. The results are pretty scary.</p>
<p>The data size: 38698 users on 2 sites.</p>
<p>Top ten most used passwords are:</p>
<ol>
<li>seinfeld</li>
<li>password</li>
<li>winner</li>
<li>123456</li>
<li>purple</li>
<li>sweeps</li>
<li>contest</li>
<li>princess</li>
<li>maggie</li>
<li>peanut</li>
</ol>
<p>So if you have a password that is listed above, you better change it pretty soon.</p>
<p>I also compared how many people were using the same password on two different hacked Sony sites. There were 2421 users who used the same email to register and out of those only 168 users were using different passwords (about 6.5%).</p>
<p><img src="https://spreadsheets.google.com/spreadsheet/oimg?key=0And9-E460tgZdFp2Z1Flc3F6V0QySWZYdkg1eGxXUWc&amp;oid=2&amp;zx=jjsc9jxpiyqu" alt="" /></p>
<p>And who wins the email war? Based on the same data, most of the users were using emails from the following providers:</p>
<table>
<tbody></tbody>
<thead>
<tr>
<th># of users</th>
<th>Provider</th>
</tr>
</thead>
<tbody>
<tr>
<td>11281</td>
<td>yahoo.com</td>
</tr>
<tr>
<td>7250</td>
<td>other email providers</td>
</tr>
<tr>
<td>5077</td>
<td>hotmail.com</td>
</tr>
<tr>
<td>4876</td>
<td>aol.com</td>
</tr>
<tr>
<td>4837</td>
<td>gmail.com</td>
</tr>
<tr>
<td>1600</td>
<td>comcast.net</td>
</tr>
<tr>
<td>1263</td>
<td>msn.com</td>
</tr>
<tr>
<td>920</td>
<td>sbcglobal.net</td>
</tr>
<tr>
<td>676</td>
<td>verizon.net</td>
</tr>
<tr>
<td>478</td>
<td>bellsouth.net</td>
</tr>
<tr>
<td>440</td>
<td>cox.net</td>
</tr>
</tbody>
</table>
<p><img src="https://spreadsheets.google.com/spreadsheet/oimg?key=0And9-E460tgZdFp2Z1Flc3F6V0QySWZYdkg1eGxXUWc&amp;oid=3&amp;zx=8kvnid3omtf7" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://emresaglam.com/blog/1011/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>We were at the beach</title>
		<link>http://emresaglam.com/blog/1007</link>
		<comments>http://emresaglam.com/blog/1007#comments</comments>
		<pubDate>Sun, 22 May 2011 04:17:22 +0000</pubDate>
		<dc:creator>Emre</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[photoblog]]></category>

		<guid isPermaLink="false">http://emresaglam.com/blog/1007</guid>
		<description><![CDATA[It&#8217;s beach time!]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s beach time! </p>
<p><a href="http://emresaglam.com/blog/wp-content/uploads/2011/05/20110521-091656.jpg"><img src="http://emresaglam.com/blog/wp-content/uploads/2011/05/20110521-091656.jpg" alt="20110521-091656.jpg" class="alignnone size-full" /></a></p>
<p><a href="http://emresaglam.com/blog/wp-content/uploads/2011/05/20110521-091712.jpg"><img src="http://emresaglam.com/blog/wp-content/uploads/2011/05/20110521-091712.jpg" alt="20110521-091712.jpg" class="alignnone size-full" /></a></p>
<p><a href="http://emresaglam.com/blog/wp-content/uploads/2011/05/20110521-091915.jpg"><img src="http://emresaglam.com/blog/wp-content/uploads/2011/05/20110521-091915.jpg" alt="20110521-091915.jpg" class="alignnone size-full" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://emresaglam.com/blog/1007/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RawCap: A new network sniffer for Windows without winpcap dependencies</title>
		<link>http://emresaglam.com/blog/996</link>
		<comments>http://emresaglam.com/blog/996#comments</comments>
		<pubDate>Wed, 13 Apr 2011 04:17:31 +0000</pubDate>
		<dc:creator>Emre</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://emresaglam.com/blog/?p=996</guid>
		<description><![CDATA[Netresec released a new Windows network sniffer tool that looks promising: RawCap. It has no winpcap dependencies and with its small 17kB foot print it does not require installing. (Having said that you still need .NET Framework libraries and DLLs.) Here are the properties of RawCap from their webpage: Can sniff any interface that has [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.netresec.com/?page=Home">Netresec</a> released a new Windows network sniffer tool that looks promising: <a href="http://www.netresec.com/?page=RawCap">RawCap</a>. It has no winpcap dependencies and with its small 17kB foot print it does not require installing. (Having said that you still need .NET Framework libraries and DLLs.)</p>
<p>Here are the properties of RawCap from their webpage:</p>
<ul>
<li>Can sniff any interface that has got an IP address, including 127.0.0.1 (localhost/loopback)</li>
<li>RawCap.exe is just 17 kB</li>
<li>No external libraries or DLL&#8217;s needed other than .NET Framework 2.0</li>
<li>No installation required, just download RawCap.exe and sniff</li>
<li>Can sniff most interface types, including WiFi and PPP interfaces</li>
<li>Minimal memory and CPU load</li>
<li>Reliable and simple to use</li>
</ul>
<p>For downloading and some screenshots and more information <a href="http://www.netresec.com/?page=RawCap">click here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://emresaglam.com/blog/996/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

