<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>&#62;/dev/rand</title>
	<atom:link href="http://f4k1r.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://f4k1r.wordpress.com</link>
	<description></description>
	<lastBuildDate>Mon, 19 Jul 2010 11:22:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='f4k1r.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>&#62;/dev/rand</title>
		<link>http://f4k1r.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://f4k1r.wordpress.com/osd.xml" title="&#62;/dev/rand" />
	<atom:link rel='hub' href='http://f4k1r.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Drupal Theming &#8211; Creating a Drupal theme from scratch &#8211; 2</title>
		<link>http://f4k1r.wordpress.com/2010/07/19/drupal-theming-creating-a-theme-from-scratch-2/</link>
		<comments>http://f4k1r.wordpress.com/2010/07/19/drupal-theming-creating-a-theme-from-scratch-2/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 11:14:04 +0000</pubDate>
		<dc:creator>charan puvvala</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[drupal theming]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[drupal basics]]></category>
		<category><![CDATA[drupal development]]></category>

		<guid isPermaLink="false">http://f4k1r.wordpress.com/?p=99</guid>
		<description><![CDATA[In case you bumped into this post without visiting the first post on this tutorial. This is the link to the first part of the post.Give a quick look at the first part which explains the .info file of a theme. I have observed that most of the visits to this blog land on the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=f4k1r.wordpress.com&amp;blog=3382419&amp;post=99&amp;subd=f4k1r&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In case you bumped into this post without visiting the first post on this tutorial. This is the <a href="http://f4k1r.wordpress.com/2010/02/06/drupal-theming-basics-creating-a-theme-from-scratch-i/">link</a> to the first part of the post.Give a quick look at the first part which explains the .info file of a theme. I have observed that most of the visits to this blog land on the part 1 of creating a drupal theme, which I think doesn&#8217;t give any useful information in actually building a theme but just a kick start with the basic .info file. I am going to continue from where I left off.</p>
<p>After reading <a href="http://f4k1r.wordpress.com/2010/02/06/drupal-theming-basics-creating-a-theme-from-scratch-i/">this post </a> I hope you are ready with a folder with the name of your theme and a .info file that you have built describing your theme. This tutorial will help you build a drupal theme from a css template in a quick dirty way, which works!! Once it is built you will have an idea about how to build a drupal theme in a matter of few minutes. First get your css html ready, I am using <a href="http://www.freecsstemplates.org/preview/lazybreeze/">LazyBreeze</a> free css template from freecsstemplates.org . You can follow along the tutorial by downloading the template or using a different one of your choice.</p>
<p>Here is my .info file</p>
<p><pre class="brush: php;">

name = Lady Breeze
description = Theme by f4k1r for Drupal tutorial. Design by Free CSS Templates http://www.freecsstemplates.org Released for free under a Creative Commons Attribution 2.5 License.
screenshot = screenshot.png
version = 0.1
core = 6.x
engine = phptemplate

;Regions
regions[header]       = Header
regions[left-cols] = SideBar Left
regions[main_content] = Content
regions[footer]       = Footer
regions[link_navigation] = Primary Links

;Stylesheet
stylesheets[all][] = css/style.css

</pre></p>
<p>Our .info file tells drupal about the name,description of the theme and then defines the regions that the theme will be having and the location of the stylesheets. Next create a folder called css in our theme folder and put the style.css of the downloaded LadyBreeze into it. Also copy the images folder of the LadyBreeze into the theme folder.<br />
Now our theme folder directory should look like this:</p>
<p>LadyBreeze<br />
-ladybreeze.info<br />
-css<br />
&#8212;-style.css<br />
-images<br />
&#8212;-all the images from LadyBreeze</p>
<p>Once this is setup we will have to create our template file (page.tpl.php). All the pages on our Drupal website will be rendered based on this file. This file will use the drupal variables to fetch the content and then use our css to wrap the content in it and then displays to the user. If you are building a Drupal theme for the first time then use the already built node.tpl.php from the garland theme. First create a directory named templates and place the copied file into it. So now your directory structure should be like this</p>
<p>LadyBreeze<br />
-ladybreeze.info<br />
-css<br />
&#8212;-style.css<br />
-images<br />
&#8212;-all the images from LadyBreeze<br />
-templates<br />
&#8212;-node.tpl.php</p>
<p>Next we are going to create our page.tpl.php based from the page.tpl.php of the garland theme(Default Drupal theme for 6.x). So copy the page.tpl.php and the index.html from the downloaded template into a temporary directory for editing. Now move into the templates folder and create a new file page.tpl.php ,Next we are going to copy the markup from the index.html into this.</p>
<p><pre class="brush: xml;">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Name       : Sparkling
Description: A two-column, fixed-width design with dark color scheme.
Version    : 1.0
Released   : 20100704

--&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;meta name=&quot;keywords&quot; content=&quot;&quot; /&gt;
&lt;meta name=&quot;description&quot; content=&quot;&quot; /&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
&lt;title&gt;Lazy Breeze  by Free CSS Templates&lt;/title&gt;
&lt;link href=&quot;style.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id=&quot;wrapper&quot;&gt;
	&lt;div id=&quot;header-wrapper&quot;&gt;
		&lt;div id=&quot;header&quot;&gt;
			&lt;div id=&quot;logo&quot;&gt;
				&lt;h1&gt;&lt;a href=&quot;#&quot;&gt;&lt;span&gt;lazy&lt;/span&gt;breeze  &lt;/a&gt;&lt;/h1&gt;
				&lt;p&gt; design by &lt;a href=&quot;http://www.freecsstemplates.org/&quot;&gt; CSS Templates&lt;/a&gt;&lt;/p&gt;
			&lt;/div&gt;
			&lt;div id=&quot;menu&quot;&gt;
				&lt;ul&gt;
					&lt;li class=&quot;current_page_item&quot;&gt;&lt;a href=&quot;#&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Blog&lt;/a&gt;&lt;/li&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Photos&lt;/a&gt;&lt;/li&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot;&gt;About&lt;/a&gt;&lt;/li&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Links&lt;/a&gt;&lt;/li&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Contact&lt;/a&gt;&lt;/li&gt;
				&lt;/ul&gt;
			&lt;/div&gt;
		&lt;/div&gt;
	&lt;/div&gt;
	&lt;!-- end #header --&gt;
	&lt;div id=&quot;page&quot;&gt;
		&lt;div id=&quot;page-bgtop&quot;&gt;
			&lt;div id=&quot;page-bgbtm&quot;&gt;
				&lt;div id=&quot;content&quot;&gt;
					&lt;div class=&quot;post&quot;&gt;
						&lt;h2 class=&quot;title&quot;&gt;&lt;a href=&quot;#&quot;&gt;Welcome to lazybreeze  &lt;/a&gt;&lt;/h2&gt;
						&lt;p class=&quot;meta&quot;&gt;&lt;span class=&quot;date&quot;&gt;May 10, 2010&lt;/span&gt;&lt;span class=&quot;posted&quot;&gt;Posted by &lt;a href=&quot;#&quot;&gt;Someone&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
						&lt;div style=&quot;clear: both;&quot;&gt;&amp;nbsp;&lt;/div&gt;
						&lt;div class=&quot;entry&quot;&gt;
							&lt;p&gt;This is &lt;strong&gt;LazyBreeze  &lt;/strong&gt;, a free, fully standards-compliant CSS template designed by FreeCssTemplates&lt;a href=&quot;http://www.nodethirtythree.com/&quot;&gt;&lt;/a&gt; for &lt;a href=&quot;http://www.freecsstemplates.org/&quot;&gt; CSS Templates&lt;/a&gt;.  This free template is released under a &lt;a href=&quot;http://creativecommons.org/licenses/by/3.0/&quot;&gt;Creative Commons Attribution 3.0&lt;/a&gt; license, so you’re pretty much free to do whatever you want with it (even use it commercially) provided you keep the links in the footer intact. Aside from that, have fun with it :)&lt;/p&gt;
							&lt;p&gt;Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum ipsum. Proin imperdiet est. Phasellus dapibus semper urna. Pellentesque ornare, orci in felis. Donec ut ante. In id eros. Suspendisse lacus turpis, cursus egestas at sem.&lt;/p&gt;
							&lt;p class=&quot;links&quot;&gt;&lt;a href=&quot;#&quot;&gt;Read More&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;#&quot; title=&quot;b0x w&quot;&gt;Comments&lt;/a&gt;&lt;/p&gt;
						&lt;/div&gt;
					&lt;/div&gt;
					&lt;div class=&quot;post&quot;&gt;
						&lt;h2 class=&quot;title&quot;&gt;&lt;a href=&quot;#&quot;&gt;Lorem ipsum sed aliquam&lt;/a&gt;&lt;/h2&gt;
						&lt;p class=&quot;meta&quot;&gt;&lt;span class=&quot;date&quot;&gt;May 10, 2010&lt;/span&gt;&lt;span class=&quot;posted&quot;&gt;Posted by &lt;a href=&quot;#&quot;&gt;Someone&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
						&lt;div style=&quot;clear: both;&quot;&gt;&amp;nbsp;&lt;/div&gt;
						&lt;div class=&quot;entry&quot;&gt;
							&lt;p&gt;Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer. Donec ipsum. Proin imperdiet est. Phasellus &lt;a href=&quot;#&quot;&gt;dapibus semper urna&lt;/a&gt;. Pellentesque ornare, orci in consectetuer hendrerit, urna elit eleifend nunc, ut consectetuer nisl felis ac diam. Etiam non felis. Donec ut ante. In id eros. Suspendisse lacus turpis, cursus egestas at sem.  Mauris quam enim, molestie in, rhoncus ut, lobortis a, est.&lt;/p&gt;
							&lt;p class=&quot;links&quot;&gt;&lt;a href=&quot;#&quot;&gt;Read More&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;#&quot;&gt;Comments&lt;/a&gt;&lt;/p&gt;
						&lt;/div&gt;
					&lt;/div&gt;
					&lt;div class=&quot;post&quot;&gt;
						&lt;h2 class=&quot;title&quot;&gt;&lt;a href=&quot;#&quot;&gt;Consecteteur hendrerit &lt;/a&gt;&lt;/h2&gt;
						&lt;p class=&quot;meta&quot;&gt;&lt;span class=&quot;date&quot;&gt;May 10, 2010&lt;/span&gt;&lt;span class=&quot;posted&quot;&gt;Posted by &lt;a href=&quot;#&quot;&gt;Someone&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
						&lt;div style=&quot;clear: both;&quot;&gt;&amp;nbsp;&lt;/div&gt;
						&lt;div class=&quot;entry&quot;&gt;
							&lt;p&gt;Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer. Donec ipsum. Proin imperdiet est. Phasellus &lt;a href=&quot;#&quot;&gt;dapibus semper urna&lt;/a&gt;. Pellentesque ornare, orci in consectetuer hendrerit, urna elit eleifend nunc, ut consectetuer nisl felis ac diam. Etiam non felis. Donec ut ante. In id eros. Suspendisse lacus turpis, cursus egestas at sem.  Mauris quam enim, molestie in, rhoncus ut, lobortis a, est.&lt;/p&gt;
							&lt;p class=&quot;links&quot;&gt;&lt;a href=&quot;#&quot;&gt;Read More&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;#&quot;&gt;Comments&lt;/a&gt;&lt;/p&gt;
						&lt;/div&gt;
					&lt;/div&gt;
					&lt;div style=&quot;clear: both;&quot;&gt;&amp;nbsp;&lt;/div&gt;
				&lt;/div&gt;
				&lt;!-- end #content --&gt;
				&lt;div id=&quot;sidebar&quot;&gt;
					&lt;ul&gt;
						&lt;li&gt;
							&lt;div id=&quot;search&quot; &gt;
								&lt;form method=&quot;get&quot; action=&quot;#&quot;&gt;
									&lt;div&gt;
										&lt;input type=&quot;text&quot; name=&quot;s&quot; id=&quot;search-text&quot; value=&quot;&quot; /&gt;
										&lt;input type=&quot;submit&quot; id=&quot;search-submit&quot; value=&quot;GO&quot; /&gt;
									&lt;/div&gt;
								&lt;/form&gt;
							&lt;/div&gt;
							&lt;div style=&quot;clear: both;&quot;&gt;&amp;nbsp;&lt;/div&gt;
						&lt;/li&gt;
						&lt;li&gt;
							&lt;h2&gt;Aliquam tempus&lt;/h2&gt;
							&lt;p&gt;Mauris vitae nisl nec metus placerat perdiet est. Phasellus dapibus semper consectetuer hendrerit.&lt;/p&gt;
						&lt;/li&gt;
						&lt;li&gt;
							&lt;h2&gt;Categories&lt;/h2&gt;
							&lt;ul&gt;
								&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Aliquam libero&lt;/a&gt;&lt;/li&gt;
								&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Consectetuer adipiscing elit&lt;/a&gt;&lt;/li&gt;
								&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Metus aliquam pellentesque&lt;/a&gt;&lt;/li&gt;
								&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Suspendisse iaculis mauris&lt;/a&gt;&lt;/li&gt;
								&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Urnanet non molestie semper&lt;/a&gt;&lt;/li&gt;
								&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Proin gravida orci porttitor&lt;/a&gt;&lt;/li&gt;
							&lt;/ul&gt;
						&lt;/li&gt;
						&lt;li&gt;
							&lt;h2&gt;Blogroll&lt;/h2&gt;
							&lt;ul&gt;
								&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Aliquam libero&lt;/a&gt;&lt;/li&gt;
								&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Consectetuer adipiscing elit&lt;/a&gt;&lt;/li&gt;
								&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Metus aliquam pellentesque&lt;/a&gt;&lt;/li&gt;
								&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Suspendisse iaculis mauris&lt;/a&gt;&lt;/li&gt;
								&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Urnanet non molestie semper&lt;/a&gt;&lt;/li&gt;
								&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Proin gravida orci porttitor&lt;/a&gt;&lt;/li&gt;
							&lt;/ul&gt;
						&lt;/li&gt;
						&lt;li&gt;
							&lt;h2&gt;Archives&lt;/h2&gt;
							&lt;ul&gt;
								&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Aliquam libero&lt;/a&gt;&lt;/li&gt;
								&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Consectetuer adipiscing elit&lt;/a&gt;&lt;/li&gt;
								&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Metus aliquam pellentesque&lt;/a&gt;&lt;/li&gt;
								&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Suspendisse iaculis mauris&lt;/a&gt;&lt;/li&gt;
								&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Urnanet non molestie semper&lt;/a&gt;&lt;/li&gt;
								&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Proin gravida orci porttitor&lt;/a&gt;&lt;/li&gt;
							&lt;/ul&gt;
						&lt;/li&gt;
					&lt;/ul&gt;
				&lt;/div&gt;
				&lt;!-- end #sidebar --&gt;
				&lt;div style=&quot;clear: both;&quot;&gt;&amp;nbsp;&lt;/div&gt;
			&lt;/div&gt;
		&lt;/div&gt;
	&lt;/div&gt;
	&lt;!-- end #page --&gt;
&lt;/div&gt;
&lt;div id=&quot;footer&quot;&gt;
	&lt;p&gt;Copyright (c) 2008 Sitename.com. All rights reserved. Design by &lt;a href=&quot;http://www.freecsstemplates.org/&quot;&gt; CSS Templates&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;!-- end #footer --&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre></p>
<p>We would want to remove the static html from this template and call the drupal variables to fetch the content from the database.<br />
Here are a few variables and what their functionality is:<br />
<strong><em>$head_title</em></strong> : This variable contains the title that will be displayed in the title bar on top of the browser.<br />
<strong><em>$head</em></strong> : This variable contains the header of the page with the description, tags,etc&#8230;<br />
<strong><em>$styles</em></strong> : This variable contains all the markup for linking the style sheets for the page. So if a new style sheet were to be added, then it would have to be defined in the LadyBreeze.info file and then drupal will automatically include it.<br />
<strong><em>$scripts</em></strong> : This has all the javascripts that are to be included(We are not using any js file in this theme)<br />
Open up your freshly created page.tpl.php from the template directory and copy the code head of a page.</p>
<p><pre class="brush: php;">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;&lt;?php print $language-&gt;language ?&gt;&quot; lang=&quot;&lt;?php print $language-&gt;language ?&gt;&quot; dir=&quot;&lt;?php print $language-&gt;dir ?&gt;&quot;&gt;
&lt;head profile=&quot;http://gmpg.org/xfn/11&quot;&gt;
	&lt;title&gt;&lt;?php print $head_title; ?&gt;&lt;/title&gt;
	&lt;?php print $head; ?&gt;
	&lt;?php print $styles; ?&gt;
	&lt;?php print $scripts; ?&gt;
	&lt;?php print $ie; ?&gt;
&lt;/head&gt;
</pre></p>
<p>Compare the static markup from the index.html of the downloaded theme and the page.tpl.php as go along to understand how a drupal theme works and differs from a static css template. I will continue the remaining part in the next blog post.<br />
<a href="http://www.jybetech.com">More Info</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/f4k1r.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/f4k1r.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/f4k1r.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/f4k1r.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/f4k1r.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/f4k1r.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/f4k1r.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/f4k1r.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/f4k1r.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/f4k1r.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/f4k1r.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/f4k1r.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/f4k1r.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/f4k1r.wordpress.com/99/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=f4k1r.wordpress.com&amp;blog=3382419&amp;post=99&amp;subd=f4k1r&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://f4k1r.wordpress.com/2010/07/19/drupal-theming-creating-a-theme-from-scratch-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<georss:point>23.226014 72.648154</georss:point>
		<geo:lat>23.226014</geo:lat>
		<geo:long>72.648154</geo:long>
		<media:content url="http://0.gravatar.com/avatar/05b99a419e4d8a36d6ff5dbf06d0aba0?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">f4k1r</media:title>
		</media:content>
	</item>
		<item>
		<title>Netsuite to Drupal</title>
		<link>http://f4k1r.wordpress.com/2010/07/19/netsuite-to-drupal/</link>
		<comments>http://f4k1r.wordpress.com/2010/07/19/netsuite-to-drupal/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 10:06:19 +0000</pubDate>
		<dc:creator>charan puvvala</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[netsuite]]></category>

		<guid isPermaLink="false">http://f4k1r.wordpress.com/?p=91</guid>
		<description><![CDATA[There has been lots of users looking for a module which integrate Drupal CMS and Netsuite CRM. Here is a thread from drupal.org. It is very difficult to build a generic module which provides all the features that Netsuite provides into a drupal website. Most of the usecases of a client are very specific and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=f4k1r.wordpress.com&amp;blog=3382419&amp;post=91&amp;subd=f4k1r&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There has been lots of users looking for a module which integrate Drupal CMS and Netsuite CRM. Here is a <a href="http://drupal.org/node/200311">thread</a> from drupal.org. It is very difficult to build a generic module which provides all the features that Netsuite provides into a drupal website. Most of the usecases of a client are very specific and so is his netsuite setup. Here is my attempt to make a generic module <a href="http://github.com/f4k1r/drupaltonetsuite">Drupal to Netsuite</a>, if anyone interested in helping me out, I would be glad to restart the work on the module. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/f4k1r.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/f4k1r.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/f4k1r.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/f4k1r.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/f4k1r.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/f4k1r.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/f4k1r.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/f4k1r.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/f4k1r.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/f4k1r.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/f4k1r.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/f4k1r.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/f4k1r.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/f4k1r.wordpress.com/91/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=f4k1r.wordpress.com&amp;blog=3382419&amp;post=91&amp;subd=f4k1r&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://f4k1r.wordpress.com/2010/07/19/netsuite-to-drupal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>23.226014 72.648154</georss:point>
		<geo:lat>23.226014</geo:lat>
		<geo:long>72.648154</geo:long>
		<media:content url="http://0.gravatar.com/avatar/05b99a419e4d8a36d6ff5dbf06d0aba0?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">f4k1r</media:title>
		</media:content>
	</item>
		<item>
		<title>Moving to drupal gardens</title>
		<link>http://f4k1r.wordpress.com/2010/04/01/moving-to-drupal-gardens/</link>
		<comments>http://f4k1r.wordpress.com/2010/04/01/moving-to-drupal-gardens/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 12:44:07 +0000</pubDate>
		<dc:creator>charan puvvala</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[drupalgardens]]></category>

		<guid isPermaLink="false">http://f4k1r.wordpress.com/?p=87</guid>
		<description><![CDATA[I am going to move my blog to Drupal Gardens in the coming week. Drupal Gardens is really exciting and fun playing around with. http://f4k1r.drupalgardens.com<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=f4k1r.wordpress.com&amp;blog=3382419&amp;post=87&amp;subd=f4k1r&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am going to move my blog to Drupal Gardens in the coming week. Drupal Gardens is really exciting and fun playing around with.</p>
<p>http://f4k1r.drupalgardens.com</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/f4k1r.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/f4k1r.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/f4k1r.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/f4k1r.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/f4k1r.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/f4k1r.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/f4k1r.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/f4k1r.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/f4k1r.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/f4k1r.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/f4k1r.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/f4k1r.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/f4k1r.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/f4k1r.wordpress.com/87/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=f4k1r.wordpress.com&amp;blog=3382419&amp;post=87&amp;subd=f4k1r&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://f4k1r.wordpress.com/2010/04/01/moving-to-drupal-gardens/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>23.226014 72.648154</georss:point>
		<geo:lat>23.226014</geo:lat>
		<geo:long>72.648154</geo:long>
		<media:content url="http://0.gravatar.com/avatar/05b99a419e4d8a36d6ff5dbf06d0aba0?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">f4k1r</media:title>
		</media:content>
	</item>
		<item>
		<title>Drupal Theming Basics &#8211; Creating A theme from Scratch &#8211; 1</title>
		<link>http://f4k1r.wordpress.com/2010/02/06/drupal-theming-basics-creating-a-theme-from-scratch-i/</link>
		<comments>http://f4k1r.wordpress.com/2010/02/06/drupal-theming-basics-creating-a-theme-from-scratch-i/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 06:50:27 +0000</pubDate>
		<dc:creator>charan puvvala</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[drupal theming]]></category>
		<category><![CDATA[.info file]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[drupal basics]]></category>
		<category><![CDATA[drupal development]]></category>

		<guid isPermaLink="false">http://f4k1r.wordpress.com/?p=74</guid>
		<description><![CDATA[Drupal theming is generally frightening for a newbie and possibly one of the reason which drives away people from drupal. Drupal Gardens is an innovative idea to make drupal theming easy by Acquia. This is going to be the first post of the series of Drupal tutorials to create a simple drupal theme from the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=f4k1r.wordpress.com&amp;blog=3382419&amp;post=74&amp;subd=f4k1r&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Drupal theming is generally frightening for a newbie and possibly one of the reason which drives away people from drupal. <a href="http://www.drupalgardens.com/">Drupal Gardens </a>is an innovative idea to make drupal theming easy by <a href="http://acquia.com/">Acquia</a>. This is going to be the first post of the series of Drupal tutorials to create a simple drupal theme from the scratch. It took me 2 years to get over the fear of theming and build my own Drupal theme. Few references to go through before you start making your own theme.<br />
<a href="http://drupal.org/theme-guide">Drupal Theming Handbook</a><br />
<a href="http://drupal.org/getting-started/install-contrib/themes">Installing a Drupal Theme</a><br />
<a href="http://drupal.org/node/171194">Anatomy of a Drupal theme</a><br />
<a href="http://drupal.org/node/341707">Toold and Modules to get started</a><br />
This tutorial isn&#8217;t about creating a sub-theme of zen. Its a good starting point for making a sub-theme of it, but I rather prefer making it from the scratch as I have complete control over my theme.</p>
<p><strong>Creating a .info file</strong></p>
<p>The .info describes your theme and its a way of introducing your theme with your Drupal installation. Before creating a .info we need to get started by creating our theme directory in your drupal installation at sites/all/theme/&#8221;your theme name&#8221; . We can also create a folder for our theme in the theme directory in the root folder of the installation. But it isn&#8217;t advisable as we will be updating the drupal core in the future and it would be painful while doing it. Once you create your theme folder with your theme name, start with creating an empty .info file. The .info file has the information required for drupal about your theme name, description, version, core of drupal which it supports, the theme engine being used, stylesheets, scripts and the regions of your theme.</p>
<p>An example .info file<br />
<pre class="brush: php;">
name = droid
description = Theme by f4k1r for Charan Puvvala Drupal tutorial.
screenshot = screenshot.png
version = 0.1
core = 6.x
engine = phptemplate

;Regions
regions[header]       = header
regions[left-cols] = left-cols
regions[main_content] = main_content
regions[right] = Right sidebar
regions[footer]       = footer
regions[news_section] = News Section
regions[content_bottom] = Content Bottom
regions[link_navigation] = Primary Links
stylesheets[all][] = style/style.css
</pre><br />
The name describes the name of the theme which will be displayed in the themes section while enabling it. The description gives a brief description of the theme, credits. Its perfectly even if the description isn&#8217;t used in the .info file. The core suggests which Drupal core our theme supports. This tutorial is aimed for drupal 6.x.<br />
The screenshot presents the user with a screenshot about the theme in the Administer&gt;&gt;SiteBuidling&gt;&gt;Themes. The theme engine tag suggests the theme engine you will be using in building the theme.  I prefer the phptemplate and 95% of drupal themers use the same. If none is provided, the theme is assumed to be stand alone, i.e., implemented with a &#8220;.theme&#8221; file. PHPTemplate&#8217;s job is to discover theme functions and templates for the behavior of the theme. Omit this entry only if you know what you are doing. There is another tag available to the user called basetheme which will tell drupal that our theme is a subtheme of the one specified with the basetheme tag.<br />
The regions give us control over our blocks and content as to where they are to be placed in our page. You can define as many regions as possible in the regions section. This regions show up in the block sectionfor the blocks to be placed in our website. If no regions are specified here in the .info file, the following regions are assumed by drupal<br />
<pre class="brush: php;">
regions[left] = Left sidebar
regions[right] = Right sidebar
regions[content] = Content
regions[header] = Header
regions[footer] = Footer
</pre><br />
Traditionally drupal takes in style.css as the default stylesheet and and could add additional stylesheets by calling drupal_add_css()  in their template.php file. There are other tags available that can be used in the .info file but I will not be going in as this will be enough to start our theme. In the next post I will describe as to how to convert a static HTML and css into a Drupal theme. Till then Have Fun and I am off for a DOTA tourney. <a href="http://www.jybetech.com">More info</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/f4k1r.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/f4k1r.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/f4k1r.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/f4k1r.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/f4k1r.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/f4k1r.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/f4k1r.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/f4k1r.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/f4k1r.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/f4k1r.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/f4k1r.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/f4k1r.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/f4k1r.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/f4k1r.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=f4k1r.wordpress.com&amp;blog=3382419&amp;post=74&amp;subd=f4k1r&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://f4k1r.wordpress.com/2010/02/06/drupal-theming-basics-creating-a-theme-from-scratch-i/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<georss:point>23.226014 72.648154</georss:point>
		<geo:lat>23.226014</geo:lat>
		<geo:long>72.648154</geo:long>
		<media:content url="http://0.gravatar.com/avatar/05b99a419e4d8a36d6ff5dbf06d0aba0?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">f4k1r</media:title>
		</media:content>
	</item>
		<item>
		<title>Microsoft IE URLMON Sniffing Cross Domain Information Disclosure Vulnerability</title>
		<link>http://f4k1r.wordpress.com/2010/02/04/microsoft-ie-urlmon-sniffing-cross-domain-information-disclosure-vulnerability/</link>
		<comments>http://f4k1r.wordpress.com/2010/02/04/microsoft-ie-urlmon-sniffing-cross-domain-information-disclosure-vulnerability/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 11:49:03 +0000</pubDate>
		<dc:creator>charan puvvala</dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[security advisory]]></category>
		<category><![CDATA[vulnerability]]></category>
		<category><![CDATA[information disclosure]]></category>
		<category><![CDATA[internet explorer]]></category>

		<guid isPermaLink="false">http://f4k1r.wordpress.com/?p=69</guid>
		<description><![CDATA[Microsoft Internet Explorer is prone to a cross-domain information-disclosure vulnerability. An attacker can exploit this issue to access local files or content from a browser window in another domain or security zone. This may allow the attacker to obtain sensitive information or may aid in further attacks. Link to Security Focus Credit: Jorge Luis Alvarez [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=f4k1r.wordpress.com&amp;blog=3382419&amp;post=69&amp;subd=f4k1r&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Microsoft Internet Explorer is prone to a cross-domain information-disclosure vulnerability.</p>
<p>An attacker can exploit this issue to access local files or content from a browser window in another domain or security zone. This may allow the attacker to obtain sensitive information or may aid in further attacks.</p>
<p><a href="http://www.securityfocus.com/bid/38056">Link to Security Focus</a></p>
<p>Credit:	 Jorge Luis Alvarez Medina and Federico Muttis from Core Security Technologies</p>
<p>The investigation so far has shown that if a user is using a version of Internet Explorer that is not running in Protected Mode an attacker may be able to access files with an already known filename and location. These versions include Internet Explorer 5.01 Service Pack 4 on Microsoft Windows 2000 Service 4; Internet Explorer 6 Service Pack 1 on Microsoft Windows 2000 Service Pack 4; and Internet Explorer 6, Internet Explorer 7, and Internet Explorer 8 on supported editions of Windows XP Service Pack 2, Windows XP Service Pack 3, and Windows Server 2003 Service Pack 2. Protected Mode prevents exploitation of this vulnerability and is running by default for versions of Internet Explorer on Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008.</p>
<p>The vulnerability exists due to content being forced to render incorrectly from local files in such a way that information can be exposed to malicious Web sites.</p>
<p>The URLMON sniffing vulnerability refers to the variant discovered in the CORE-2008-0826 time line. When loading a local file Internet Explorer&#8217;s HTML rendering engine [7] will only check its MIME type to see if it is a positive match on the files it can handle. For unknown types that are treated as HTML because they&#8217;ve been referred to by a redirection, content type determination will default to &#8216;text/html&#8217; in absence of a type explicitly set by the content source. In the case of non-html files for which there isn&#8217;t an explicit content-type set, URLMON will default to the &#8216;text/html&#8217; type as suggested from the redirection. As a result Internet Explorer will end up loading non-html local files and rendering them as HTML and running any scripting code included in the file in the context of the Security Zone assigned to the content&#8217;s source.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/f4k1r.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/f4k1r.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/f4k1r.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/f4k1r.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/f4k1r.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/f4k1r.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/f4k1r.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/f4k1r.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/f4k1r.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/f4k1r.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/f4k1r.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/f4k1r.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/f4k1r.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/f4k1r.wordpress.com/69/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=f4k1r.wordpress.com&amp;blog=3382419&amp;post=69&amp;subd=f4k1r&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://f4k1r.wordpress.com/2010/02/04/microsoft-ie-urlmon-sniffing-cross-domain-information-disclosure-vulnerability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>23.226014 72.648154</georss:point>
		<geo:lat>23.226014</geo:lat>
		<geo:long>72.648154</geo:long>
		<media:content url="http://0.gravatar.com/avatar/05b99a419e4d8a36d6ff5dbf06d0aba0?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">f4k1r</media:title>
		</media:content>
	</item>
		<item>
		<title>ptrace() on OpenBSD can lead to DOS</title>
		<link>http://f4k1r.wordpress.com/2010/02/04/ptrace-on-openbsd-can-lead-to-dos/</link>
		<comments>http://f4k1r.wordpress.com/2010/02/04/ptrace-on-openbsd-can-lead-to-dos/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 06:23:59 +0000</pubDate>
		<dc:creator>charan puvvala</dc:creator>
				<category><![CDATA[openbsd]]></category>
		<category><![CDATA[security advisory]]></category>
		<category><![CDATA[dos]]></category>
		<category><![CDATA[ptrace]]></category>

		<guid isPermaLink="false">http://f4k1r.wordpress.com/?p=66</guid>
		<description><![CDATA[011: RELIABILITY FIX: January 29, 2010 All architectures By using ptrace(2) on an ancestor process, a loop in the process tree could be created, violating assumptions in other parts of the kernel and resulting in infinite loops. Patch<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=f4k1r.wordpress.com&amp;blog=3382419&amp;post=66&amp;subd=f4k1r&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.openbsd.org/errata45.html#011_ptrace"> 011: RELIABILITY FIX: January 29, 2010   All architectures</a><br />
By using ptrace(2) on an ancestor process, a loop in the process tree could be created, violating assumptions in other parts of the kernel and resulting in infinite loops.<br />
<a href="ftp://ftp.openbsd.org/pub/OpenBSD/patches/4.5/common/011_ptrace.patch">Patch</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/f4k1r.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/f4k1r.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/f4k1r.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/f4k1r.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/f4k1r.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/f4k1r.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/f4k1r.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/f4k1r.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/f4k1r.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/f4k1r.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/f4k1r.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/f4k1r.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/f4k1r.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/f4k1r.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=f4k1r.wordpress.com&amp;blog=3382419&amp;post=66&amp;subd=f4k1r&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://f4k1r.wordpress.com/2010/02/04/ptrace-on-openbsd-can-lead-to-dos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>23.226014 72.648154</georss:point>
		<geo:lat>23.226014</geo:lat>
		<geo:long>72.648154</geo:long>
		<media:content url="http://0.gravatar.com/avatar/05b99a419e4d8a36d6ff5dbf06d0aba0?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">f4k1r</media:title>
		</media:content>
	</item>
		<item>
		<title>Make your Ubuntu Box ready for pentesting</title>
		<link>http://f4k1r.wordpress.com/2010/02/03/make-your-ubuntu-box-ready-for-pentesting/</link>
		<comments>http://f4k1r.wordpress.com/2010/02/03/make-your-ubuntu-box-ready-for-pentesting/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 09:30:59 +0000</pubDate>
		<dc:creator>charan puvvala</dc:creator>
				<category><![CDATA[hacking]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[hacking tools]]></category>
		<category><![CDATA[pentesting]]></category>
		<category><![CDATA[shell script]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://f4k1r.wordpress.com/?p=53</guid>
		<description><![CDATA[Most of the post is ripped from jcran&#8217;s post on his blog which I found very useful. This is a shell script which will install most of the tools required for pentesting from a ubuntu box. I&#8217;ve been using more of Ubuntu and FreeBSD lately and found this really helpful. Now you dont have to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=f4k1r.wordpress.com&amp;blog=3382419&amp;post=53&amp;subd=f4k1r&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Most of the post is ripped from <a href="http://blog.0x0e.org/2009/11/20/pentesting-with-an-ubuntu-box/">jcran&#8217;s post</a> on his blog which I found very useful. This is a shell script which will install most of the tools required for pentesting  from a ubuntu box. I&#8217;ve been using more of Ubuntu and FreeBSD lately and found this really helpful. Now you dont have to switch back to backtrack or any other operating system for pentesting a network&#8230;do it right from your ubuntu box. Thanks to jcran,Hackuin for parts of the script.<br />
The script can make installs which sometimes can break your system. So kindly go through it completely before executing it.</p>
<p><code><br />
#!/bin/bash</code></p>
<p># System Configuration &amp; Utilities<br />
apt-get -y install build-essential<br />
apt-get -y install linux-headers-`uname -r`<br />
apt-get -y install sysvconfig<br />
apt-get -y install bum         ## Boot-Up Manager<br />
apt-get -y install tofrodos    ## DOS utils<br />
apt-get -y install xinetd      ## why not.<br />
apt-get -y install unrar       ## RAR support<br />
apt-get -y install p7zip-full  ## 7-Zip support<br />
apt-get -y install fcrackzip   ## Zip cracking<br />
apt-get -y install ipcalc      ## handy<br />
apt-get -y install sharutils   ## uuencode / uudecode<br />
apt-get -y install xclip       ## piping is handy<br />
apt-get -y install ldap-utils<br />
apt-get -y install cabextract  ## damn microsoft!<br />
apt-get -y install g++<br />
apt-get -y install ssh</p>
<p>## Network services<br />
apt-get -y install samba<br />
apt-get -y install nis<br />
apt-get -y install nfs<br />
apt-get -y install smbfs       ## samba utilities<br />
## apt-get -y install tftpd    ## you need to modify the /etc/init.d file&#8230;</p>
<p># system monitoring<br />
apt-get -y install ntop        ##<br />
apt-get -y install sysstat     ## iostat,sar,mpstat<br />
apt-get -y install procinfo</p>
<p># Package Management<br />
#apt-get -y install apt-build<br />
#apt-get -y install apt-dpkg-ref<br />
#apt-get -y install apt-listbugs<br />
apt-get -y install apt-file<br />
#apt-get -y install apt-howto<br />
apt-get -y install apt-utils<br />
apt-get -y install apt-listchanges<br />
apt-get -y install dconf</p>
<p># Terminal Emulators<br />
apt-get -y install tn5250<br />
apt-get -y install screen</p>
<p># Filesystem Support<br />
apt-get -y install sshfs<br />
apt-get -y install ntfs-3g<br />
apt-get -y install ntfs-config<br />
apt-get -y install ntfsprogs<br />
apt-get -y install mkisofs</p>
<p># Gnome-Specific Configuration<br />
apt-get -y install gconf<br />
apt-get -y install gnomebaker<br />
apt-get -y install nautilus-open-terminal</p>
<p># ISAKMPD<br />
# apt-get -y install isakmpd<br />
apt-get -y install vpnc</p>
<p># Multimedia<br />
apt-get -y install amarok<br />
apt-get -y install xmms<br />
apt-get -y install xmms-skins<br />
apt-get -y install xmms-mp4<br />
apt-get -y install mpg123<br />
apt-get -y install totem-xine<br />
apt-get -y install ksnapshot<br />
apt-get -y install istanbul<br />
apt-get -y install recordmydesktop<br />
apt-get -y install gtk-recordmydesktop<br />
apt-get -y install xvidcap</p>
<p># Basics</p>
<p># Netcat &amp; Tunnelling<br />
apt-get -y install netcat<br />
apt-get -y install sbd<br />
apt-get -y install cryptcat<br />
apt-get -y install socat<br />
apt-get -y install vtun<br />
apt-get -y install stunnel</p>
<p># Scanning Tools<br />
apt-get -y install nmap<br />
apt-get -y install nessusd<br />
apt-get -y install nessus<br />
apt-get -y install fping<br />
apt-get -y install hping2<br />
apt-get -y install hping3<br />
apt-get -y install scapy<br />
apt-get -y install snmp<br />
#apt-get -y install sing    #send icmp nasty garbage<br />
apt-get -y install traceroute<br />
apt-get -y install tcptraceroute<br />
apt-get -y install ike-scan ## ipsec vpn tool<br />
apt-get -y install nbtscan ## cifs info tool<br />
apt-get -y install sslscan</p>
<p># Passive Scanning Tools<br />
apt-get -y install p0f<br />
apt-get -y install pads</p>
<p># Sniffing Tools<br />
apt-get -y install wireshark<br />
apt-get -y install ettercap<br />
apt-get -y install ettercap-gtk<br />
apt-get -y install tcpdump<br />
apt-get -y install tcpflow<br />
apt-get -y install ssldump<br />
apt-get -y install nemesis   # packet injection<br />
apt-get -y install dsniff<br />
apt-get -y install etherape</p>
<p># Libraries<br />
apt-get -y install libssl      #Medusa<br />
apt-get -y install libssl-dev      #Medusa<br />
apt-get -y install libssh-2      #Medusa<br />
apt-get -y install python-pycurl   #wfuzz<br />
apt-get -y install libnet-dns-perl   #fierce.pl<br />
apt-get -y install libsnmp-perl      #??<br />
apt-get -y install libcrypt-ssleay-perl #HEAD,GET,POST, libwhisker<br />
apt-get -y install libnet-ssleay-perl   # &#8220;&#8221;     &#8220;&#8221;<br />
apt-get -y install ncurses-dev      # kismet-newcore<br />
apt-get -y install libpcap-dev      # kismet-newcore</p>
<p># Cracking Tools<br />
apt-get -y install john<br />
apt-get -y install medusa<br />
## apt-get -y install hydra? ## not really that useful..</p>
<p># Wireless Tools<br />
##apt-get -y install kismet ## disabled because of kismet-ng<br />
apt-get -y install aircrack<br />
apt-get -y install aircrack-ng</p>
<p># App Layer Tools<br />
apt-get -y install wget<br />
apt-get -y install curl<br />
apt-get -y install nikto</p>
<p>## Scripting<br />
apt-get -y install ruby<br />
apt-get -y install python<br />
apt-get -y install perl<br />
apt-get -y install perl-doc<br />
apt-get -y install gawk<br />
apt-get -y install vim-ruby<br />
apt-get -y install vim-python</p>
<p>## Ruby &#8211; Gems<br />
apt-get -y install gems<br />
apt-get -y install rubygems</p>
<p>## Metasploit dependencies<br />
apt-get -y install libopenssl-ruby<br />
apt-get -y install ruby-libglade2<br />
apt-get -y install libgtk2-ruby</p>
<p>## Scapy &#8211; Python Dependencies &#8211; http://www.secdev.org/projects/scapy/portability.html<br />
apt-get -y install graphviz      # graph stuff<br />
apt-get -y install imagemagick      # graph stuff<br />
apt-get -y install python-gnuplot   # PacketList.plot()<br />
apt-get -y install python-crypto   # WEP Stuff<br />
apt-get -y install python-visual   # 3D Stuff<br />
apt-get -y install python-pyx      # pdfdump() / psdump()<br />
apt-get -y install acroread<br />
apt-get -y install gv<br />
apt-get -y install sox</p>
<p>## ProxyStrike Dependencies<br />
apt-get -y install python-qt4<br />
apt-get -y install python-openssl</p>
<p>## W3af Dependencies<br />
apt-get -y install python-pyparsing<br />
apt-get -y install python-pydot<br />
apt-get -y install python-soappy</p>
<p>## Coding<br />
##apt-get -y install eclipse &#8211; get the latest version&#8230;<br />
apt-get -y install kdevelop<br />
apt-get -y install subversion<br />
apt-get -y install rapidsvn<br />
apt-get -y install vim-full<br />
apt-get -y install git<br />
apt-get -y install git-core</p>
<p>## Documentation<br />
apt-get -y install notecase<br />
apt-get -y install vim<br />
apt-get -y install liferea</p>
<p>## Web / Browser Utilities<br />
apt-get -y install azureus<br />
apt-get -y install opera<br />
apt-get -y install filezilla<br />
apt-get -y install flashplugin-nonfree<br />
apt-get -y install pidgin<br />
apt-get -y install pidgin-otr<br />
apt-get -y install thunderbird<br />
apt-get -y install lightning-extension<br />
apt-get -y install enigmail<br />
apt-get -y install irssi<br />
apt-get -y install silc<br />
apt-get -y install tor</p>
<p>## Windows Stuff<br />
apt-get -y install wine<br />
apt-get -y install quicksynergy</p>
<p>## Encryption<br />
apt-get -y install dmsetup<br />
apt-get -y install password-gorilla<br />
apt-get -y install gpa<br />
apt-get -y install seahorse</p>
<p>## Java<br />
apt-get -y install sun-java6-jre<br />
apt-get -y install sun-java6-plugin</p>
<p>#set our java version to java-6-sun as this plays well with burpsuite<br />
update-java-alternatives -s java-6-sun</p>
<p>## Upgrade &amp; Such<br />
apt-get update<br />
apt-get upgrade<br />
apt-get dist-upgrade</p>
<p>## Remove auto-start services<br />
update-rc.d -f exim4 remove<br />
update-rc.d -f tor remove<br />
update-rc.d -f ntop remove<br />
update-rc.d -f p0f remove ## not sure this is necessary<br />
update-rc.d -f pads remove<br />
update-rc.d -f isakmpd remove<br />
update-rc.d -f nessusd remove<br />
update-rc.d -f cups remove<br />
update-rc.d -f samba remove<br />
update-rc.d -f nis remove<br />
update-rc.d -f nfs-common remove</p>
<p>### Manual installs<br />
### &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
### truecrypt &#8212; http://www.howtogeek.com/howto/ubuntu/install-truecrypt-on-ubuntu-edgy/<br />
###            &#8211; you will need the linux kernel source for this one&#8230;<br />
### onesixtyone &#8212; http://www.phreedom.org/solar/onesixtyone/<br />
### libdvdcss2 &#8212; &#8220;sudo /usr/share/doc/libdvdread3/./install-css.sh&#8221;</p>
<p>#!/bin/sh<br />
#<br />
#<br />
#<br />
#		::::: HACKUIN&#8217;S SIMPLE SCRIPT to Install :::::<br />
#				METASPLOIT<br />
#<br />
#		Hello, Every one, before installing<br />
# 		Metasploit, you supposed to install this<br />
# 		Pakages.<br />
#<br />
#############################################################<br />
#<br />
#<br />
#echo &#8220;Installing required pakages&#8221;<br />
#sudo apt-get install ruby<br />
#sudo apt-get install ruby libruby rdoc<br />
#sudo apt-get install libyaml-ruby<br />
#sudo apt-get install libzlib-ruby<br />
#sudo apt-get install libopenssl-ruby<br />
#sudo apt-get install libdl-ruby<br />
#sudo apt-get install libreadline-ruby<br />
#sudo apt-get install libiconv-ruby<br />
#sudo apt-get install rubygems<br />
#<br />
#wget http://spool.metasploit.com/releases/framework-3.2.tar.gz<br />
#<br />
#tar xvzf framework-3.2.tar.gz<br />
#<br />
#echo &#8220;Finished&#8221;<br />
#<br />
#<br />
# If you instant wan to be at MSF CONSOLE<br />
#<br />
# cd framework-3.2/<br />
#./msfconsole<br />
# ENJOY METASPLOIT !!<br />
# I guess you know, what you supposed to do, for running this script,<br />
# If you dont, You simple doesn&#8217;t supposed to use METASPLOIT :]<br />
#<br />
#<br />
#<br />
# -Hackuin<br />
################################################################<br />
hope it will be useful!! and keep contributing to the script guys.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/f4k1r.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/f4k1r.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/f4k1r.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/f4k1r.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/f4k1r.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/f4k1r.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/f4k1r.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/f4k1r.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/f4k1r.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/f4k1r.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/f4k1r.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/f4k1r.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/f4k1r.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/f4k1r.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=f4k1r.wordpress.com&amp;blog=3382419&amp;post=53&amp;subd=f4k1r&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://f4k1r.wordpress.com/2010/02/03/make-your-ubuntu-box-ready-for-pentesting/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<georss:point>23.226014 72.648154</georss:point>
		<geo:lat>23.226014</geo:lat>
		<geo:long>72.648154</geo:long>
		<media:content url="http://0.gravatar.com/avatar/05b99a419e4d8a36d6ff5dbf06d0aba0?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">f4k1r</media:title>
		</media:content>
	</item>
		<item>
		<title>Shodan</title>
		<link>http://f4k1r.wordpress.com/2010/02/03/shodan/</link>
		<comments>http://f4k1r.wordpress.com/2010/02/03/shodan/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 07:35:07 +0000</pubDate>
		<dc:creator>charan puvvala</dc:creator>
				<category><![CDATA[hacking]]></category>
		<category><![CDATA[other]]></category>
		<category><![CDATA[deface]]></category>
		<category><![CDATA[search engine]]></category>
		<category><![CDATA[shodan]]></category>

		<guid isPermaLink="false">http://f4k1r.wordpress.com/?p=44</guid>
		<description><![CDATA[Shodan in HINDI means to search for something. SHODAN lets you find servers/ routers/ etc. Most of the data in the index covers web servers at the moment, but there is some data on FTP, Telnet and SSH services as well. Lets say you want to find servers running the &#8216;Apache&#8217; web daemon. A simple [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=f4k1r.wordpress.com&amp;blog=3382419&amp;post=44&amp;subd=f4k1r&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Shodan in <a href="http://en.wikipedia.org/wiki/Hindi">HINDI</a> means to search for something. <a href="http://shodan.surtri.com/">SHODAN</a> lets you find servers/ routers/ etc. Most of the data in the index covers web servers at the moment, but there is some data on FTP, Telnet and SSH services as well.</p>
<p>Lets say you want to find servers running the &#8216;Apache&#8217; web daemon. A simple attempt would be to use: </p>
<p>apache </p>
<p>How about finding only apache servers running version 2.2.3? </p>
<p>apache 2.2.3 </p>
<p>You can also narrow down the results using the following search parameters: </p>
<p>country:2-letter country code<br />
hostname:full or partial host name<br />
net:IP range using CIDR notation (ex: 18.7.7.0/24 )<br />
os:operating system (ex: Windows)<br />
port:21, 22, 23 or 80</p>
<p>For example: get all web (port:80) hosts running &#8216;apache&#8217; in switzerland (country:CH) that also have &#8216;.ch&#8217; in any of their domain names: </p>
<p><a href="http://shodan.surtri.com/?q=apache%20country:CH%20port:80%20hostname:.ch">apache country:CH port:80 hostname:.ch</a> </p>
<p>Another example: get all hosts running Microsoft IIS on a Windows 2000 server located in the US: </p>
<p><a href="http://shodan.surtri.com/?q=Microsoft%20IIS%20os:%22windows%202000%22%20country:US">Microsoft IIS os:&#8221;windows 2000&#8243; country:US </a></p>
<p>Note: To use the &#8216;country&#8217; or &#8216;net&#8217; filtering options, you need to be logged in. You can login to SHODAN using your existing Google, Twitter, OpenID etc. accounts, or create a free one on SHODAN.</p>
<p>The above was the description of Shodan from its homepage. I find Shodan very useful for security-pentesters, black hat, gray hat or whatever hat and the security community. Shodan scans the entire internet and indexes the information about the servers on which they are running, the ports open and the operating system. The use of Shodan along with a virus or a script aimed at defacing based on a vulnerability of Apache or IIS could be devastating. The features like geo-location of the servers and the country based filters simply makes it easy for Hacker Groups targeting a country.<br />
I was playing around with Shodan 2 months back and these are a few queries I could come up with. <a href="http://www.andhrahackers.com/forum/index.php/topic,2859.msg7222.html#msg7222">My original Post</a></p>
<p>http://shodan.surtri.com/?q=cisco-IOS</p>
<p>http://shodan.surtri.com/?q=IIS+6.0</p>
<p>http://www.exploit-db.com/exploits/9718</p>
<p>Vulnerable machines  </p>
<p>http://shodan.surtri.com/?q=Xerver</p>
<p>http://shodan.surtri.com/?q=%22Anonymous+access+allowed%22</p>
<p>http://shodan.surtri.com/?q=Server:%20SQ-WEBCAM</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/f4k1r.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/f4k1r.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/f4k1r.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/f4k1r.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/f4k1r.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/f4k1r.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/f4k1r.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/f4k1r.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/f4k1r.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/f4k1r.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/f4k1r.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/f4k1r.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/f4k1r.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/f4k1r.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=f4k1r.wordpress.com&amp;blog=3382419&amp;post=44&amp;subd=f4k1r&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://f4k1r.wordpress.com/2010/02/03/shodan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/05b99a419e4d8a36d6ff5dbf06d0aba0?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">f4k1r</media:title>
		</media:content>
	</item>
		<item>
		<title>Reverse Engineering a 12 year old dll</title>
		<link>http://f4k1r.wordpress.com/2010/01/27/reverse-engineering-a-12-year-old-dll/</link>
		<comments>http://f4k1r.wordpress.com/2010/01/27/reverse-engineering-a-12-year-old-dll/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 12:04:11 +0000</pubDate>
		<dc:creator>charan puvvala</dc:creator>
				<category><![CDATA[reverse engineering]]></category>
		<category><![CDATA[dll]]></category>
		<category><![CDATA[ida pro]]></category>

		<guid isPermaLink="false">http://f4k1r.wordpress.com/?p=35</guid>
		<description><![CDATA[Today I was asked to reverse engineer a 12 year old dll from one of our company&#8217;s product, for which an iphone app is being developed as well as a web version. Unfortunately the source of the dll was lost and the dll is packed with an annoying bug in it. The iphone developers are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=f4k1r.wordpress.com&amp;blog=3382419&amp;post=35&amp;subd=f4k1r&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I was asked to reverse engineer a 12 year old dll from one of our company&#8217;s product, for which an iphone app is being developed as well as a web version. Unfortunately the source of the dll was lost and the dll is packed with an annoying bug in it. The iphone developers are directly importing the dll and using it, as the source is not available. The programmer whosoever coded the dll inserted a check, where a command prompt opens up for the user  to press enter. I wonder why he has done that. Leaving that aside I was asked to look at the assembly, find the piece of code with this bug and then make a simple  jump. An alternative method has already been implemented using a robot which does the entry instead of the user when the program enters this state. But this results in an  annoying  command prompt popping up and then  fading. After a long time had some interesting stuff to do at the workplace. Got to taste IDA Pro <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  .</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/f4k1r.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/f4k1r.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/f4k1r.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/f4k1r.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/f4k1r.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/f4k1r.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/f4k1r.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/f4k1r.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/f4k1r.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/f4k1r.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/f4k1r.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/f4k1r.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/f4k1r.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/f4k1r.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=f4k1r.wordpress.com&amp;blog=3382419&amp;post=35&amp;subd=f4k1r&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://f4k1r.wordpress.com/2010/01/27/reverse-engineering-a-12-year-old-dll/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/05b99a419e4d8a36d6ff5dbf06d0aba0?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">f4k1r</media:title>
		</media:content>
	</item>
		<item>
		<title>Should I be blogging??</title>
		<link>http://f4k1r.wordpress.com/2010/01/15/should-i-be-blogging/</link>
		<comments>http://f4k1r.wordpress.com/2010/01/15/should-i-be-blogging/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 15:22:07 +0000</pubDate>
		<dc:creator>charan puvvala</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[crap]]></category>

		<guid isPermaLink="false">http://f4k1r.wordpress.com/?p=29</guid>
		<description><![CDATA[I haven&#8217;t blogged in a while not that I was a hardcore blogger before, but my friends have been asking what the reason was for me being inactive, dormant for the past one year and the missing posts. Well a lots of things that has happened (one year to be exact by Jan 7th 2010) which [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=f4k1r.wordpress.com&amp;blog=3382419&amp;post=29&amp;subd=f4k1r&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t blogged in a while not that I was a hardcore blogger before, but my friends have been asking what the reason was for me being inactive, dormant for the past one year and the missing posts. Well a lots of things that has happened (one year to be exact by Jan 7th 2010) which changed me. I think its time for me to get over them and start having fun again. Lately I have been working on an exciting idea in my leisure time. I have lot of things to write about and share, so I think this will very well be a active blog soon. I have been experimenting a lot with drupal framework,python,J2ee, Spring Framework, Spring Security and hacking FreeBSD lately on my new shiny Inspiron and Toshiba. But I still miss my old loyal Pentium which served me for 4years and went through all the shit I threw at it. I miss you buddy!! Still I am not sure whether I should be blogging or not, but its fun writing this post and I hope I will continue to do this as long as I enjoy and get time to do it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/f4k1r.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/f4k1r.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/f4k1r.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/f4k1r.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/f4k1r.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/f4k1r.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/f4k1r.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/f4k1r.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/f4k1r.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/f4k1r.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/f4k1r.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/f4k1r.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/f4k1r.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/f4k1r.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=f4k1r.wordpress.com&amp;blog=3382419&amp;post=29&amp;subd=f4k1r&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://f4k1r.wordpress.com/2010/01/15/should-i-be-blogging/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<georss:point>23.226014 72.648154</georss:point>
		<geo:lat>23.226014</geo:lat>
		<geo:long>72.648154</geo:long>
		<media:content url="http://0.gravatar.com/avatar/05b99a419e4d8a36d6ff5dbf06d0aba0?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">f4k1r</media:title>
		</media:content>
	</item>
	</channel>
</rss>
