<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;C0YCQ3o7fCp7ImA9WhRbGEU.&quot;"><id>tag:blogger.com,1999:blog-4499014581537297254</id><updated>2012-02-10T19:09:22.404+05:30</updated><category term="gnmap" /><category term="Research" /><category term="Post Exploitaiton" /><category term="Template" /><category term="DNS" /><category term="Povoting" /><category term="Cisco" /><category term="Attack Graphs" /><category term="Meterpreter" /><category term="Policy Based Routing" /><category term="Vulnerability assessment" /><category term="updates" /><category term="Report" /><category term="Information Security" /><category term="mplayer" /><category term="Videos" /><category term="Attack Planning" /><category term="IOS" /><category term="PDDL" /><category term="Galaxy S" /><category term="Conference" /><category term="script" /><category term="Terminal" /><category term="Android" /><category term="Automation" /><category term="Command Line" /><category term="SSH" /><category term="Backtrack" /><category term="mysql" /><category term="nmap" /><category term="Metasploit" /><category term="Penetration Testing" /><category term="security audit" /><category term="CSV" /><category term="Check Point" /><category term="Loggin" /><category term="CarolinaCon" /><category term="Blogger" /><category term="SCP" /><category term="PHP" /><category term="iproute2" /><category term="SPLAT" /><category term="SEO" /><category term="source routing" /><category term="Linux" /><category term="Attack Trees" /><category term="Samsung" /><category term="Kies" /><category term="fw monitor" /><category term="Privilege Escalation" /><category term="PBR" /><title>Dharshin's Blog</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://www.dharshin.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://www.dharshin.com/" /><author><name>Mr D.</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><feedburner:info uri="dharshin-com-posts" /><feedburner:emailServiceId>dharshin-com-posts</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/dharshin-co-cc" /><feedburner:info uri="dharshin-co-cc" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;CkMBQ3Y-eSp7ImA9WhRVEkg.&quot;"><id>tag:blogger.com,1999:blog-4499014581537297254.post-4008531202981009098</id><published>2011-11-04T23:27:00.000+05:30</published><updated>2012-01-11T08:24:12.851+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-11T08:24:12.851+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PBR" /><category scheme="http://www.blogger.com/atom/ns#" term="fw monitor" /><category scheme="http://www.blogger.com/atom/ns#" term="iproute2" /><category scheme="http://www.blogger.com/atom/ns#" term="Check Point" /><category scheme="http://www.blogger.com/atom/ns#" term="source routing" /><category scheme="http://www.blogger.com/atom/ns#" term="SPLAT" /><category scheme="http://www.blogger.com/atom/ns#" term="Policy Based Routing" /><title>Configure Policy-Based Routing On Check Point Secure Platform</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/mHZP7OVzNJc7M00Hu-FUzzSwqXI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mHZP7OVzNJc7M00Hu-FUzzSwqXI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/mHZP7OVzNJc7M00Hu-FUzzSwqXI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mHZP7OVzNJc7M00Hu-FUzzSwqXI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;There&amp;#39;s no straight-forward way to achieve policy-based routing on Check Point SPLAT (Secure Platform). Since SPLAT is Linux-based and Check Point firewalls relies on operating system routing functions, policy based routing is also archived through iproute2 - a set of utilities used to control network traffic on Linux systems. iproute2 is available with most of the Linux distributions (including SPLAT) with a kernel version above 2.2.&lt;br&gt;
&lt;br&gt;
For more information about iproute2, please refer to the links in Additional References section of this article.&lt;br&gt;
&lt;br&gt;
When configuring policy-based routing with iproute2 on SPLAT, there are some important point you need to remember.&lt;br&gt;
&lt;ol&gt;
&lt;li&gt;You need to configure a routing table per policy and it&amp;#39;s independent of your normal routing table&lt;/li&gt;
&lt;li&gt;Because of that once a policy is matched only that particular table is looked for routing&lt;/li&gt;
&lt;li&gt;Therefore you must manually add all the routing information (including directly connected routes) for each and every table you create&lt;/li&gt;
&lt;li&gt;&lt;i&gt;route --save&lt;/i&gt; command does not save the policy based route you configure using&lt;i&gt; ip route&lt;/i&gt; command.&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;a href="http://www.dharshin.com/2011/11/configure-policy-based-routing-on-check.html#more"&gt;Read more »&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4499014581537297254-4008531202981009098?l=www.dharshin.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-com-posts/~4/5ThGBT6ncO0" height="1" width="1"/&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/aQXwzSK3iVOSJEszXmonTM3tv10/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aQXwzSK3iVOSJEszXmonTM3tv10/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/aQXwzSK3iVOSJEszXmonTM3tv10/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aQXwzSK3iVOSJEszXmonTM3tv10/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-co-cc/~4/VvV4_c_-Igo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.dharshin.com/feeds/4008531202981009098/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.dharshin.com/2011/11/configure-policy-based-routing-on-check.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/4008531202981009098?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/4008531202981009098?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dharshin-co-cc/~3/VvV4_c_-Igo/configure-policy-based-routing-on-check.html" title="Configure Policy-Based Routing On Check Point Secure Platform" /><author><name>Mr D.</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-mRetVx_Cs14/TrOnE66kU3I/AAAAAAAAAOs/K7ZF4OwZchA/s72-c/policy+routing.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.dharshin.com/2011/11/configure-policy-based-routing-on-check.html</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/dharshin-com-posts/~3/5ThGBT6ncO0/configure-policy-based-routing-on-check.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0cMRHY7eip7ImA9WhdUE0U.&quot;"><id>tag:blogger.com,1999:blog-4499014581537297254.post-8259480473912209244</id><published>2011-07-04T12:45:00.003+05:30</published><updated>2011-09-30T16:41:25.802+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-30T16:41:25.802+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="CSV" /><category scheme="http://www.blogger.com/atom/ns#" term="gnmap" /><category scheme="http://www.blogger.com/atom/ns#" term="Report" /><category scheme="http://www.blogger.com/atom/ns#" term="Penetration Testing" /><category scheme="http://www.blogger.com/atom/ns#" term="nmap" /><category scheme="http://www.blogger.com/atom/ns#" term="script" /><title>gnmap2csv - Generate a CSV File from Nmap Scan Results</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JFYH5KayuaDvXLJXTMLlEjUuHDY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JFYH5KayuaDvXLJXTMLlEjUuHDY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JFYH5KayuaDvXLJXTMLlEjUuHDY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JFYH5KayuaDvXLJXTMLlEjUuHDY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;I created this basic script to generate a small report from nmap scan results. It&amp;#39;s just a quick-and-dirty bash script that can generate a CSV file from .gnmap files that are produced by nmap scanner. You can either use this for reporting or just to get a quick view of the hosts, open ports and services. It has been quite useful for me for penetration tests that I do.&lt;br&gt;
&lt;br&gt;
The following is a sample file I generated from an nmap scan and I opened the CSV in Microsoft Excel. &lt;br&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-oDLpJikgbEY/ThFj8yN223I/AAAAAAAAAME/c3q-J47JQx0/s1600/Screenshot-2011-07-04_11.32.27.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://4.bp.blogspot.com/-oDLpJikgbEY/ThFj8yN223I/AAAAAAAAAME/c3q-J47JQx0/s400/Screenshot-2011-07-04_11.32.27.png" width="366"&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;a href="http://www.dharshin.com/2011/07/gnmap2csv-generate-csv-file-from-nmap.html#more"&gt;Read more »&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4499014581537297254-8259480473912209244?l=www.dharshin.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-com-posts/~4/NmPKOgLN9Nw" height="1" width="1"/&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/XJ9vny3ZOTc6EfVUI7pjNbWIBpM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XJ9vny3ZOTc6EfVUI7pjNbWIBpM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/XJ9vny3ZOTc6EfVUI7pjNbWIBpM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XJ9vny3ZOTc6EfVUI7pjNbWIBpM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-co-cc/~4/iQXofv084EA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.dharshin.com/feeds/8259480473912209244/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.dharshin.com/2011/07/gnmap2csv-generate-csv-file-from-nmap.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/8259480473912209244?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/8259480473912209244?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dharshin-co-cc/~3/iQXofv084EA/gnmap2csv-generate-csv-file-from-nmap.html" title="gnmap2csv - Generate a CSV File from Nmap Scan Results" /><author><name>Mr D.</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-oDLpJikgbEY/ThFj8yN223I/AAAAAAAAAME/c3q-J47JQx0/s72-c/Screenshot-2011-07-04_11.32.27.png" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://www.dharshin.com/2011/07/gnmap2csv-generate-csv-file-from-nmap.html</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/dharshin-com-posts/~3/NmPKOgLN9Nw/gnmap2csv-generate-csv-file-from-nmap.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0YDQ3wzeCp7ImA9WhZbEEs.&quot;"><id>tag:blogger.com,1999:blog-4499014581537297254.post-5451991812625084541</id><published>2011-06-12T09:22:00.002+05:30</published><updated>2011-06-14T22:02:52.280+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-14T22:02:52.280+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Post Exploitaiton" /><category scheme="http://www.blogger.com/atom/ns#" term="PDDL" /><category scheme="http://www.blogger.com/atom/ns#" term="Povoting" /><category scheme="http://www.blogger.com/atom/ns#" term="Automation" /><category scheme="http://www.blogger.com/atom/ns#" term="Penetration Testing" /><category scheme="http://www.blogger.com/atom/ns#" term="Meterpreter" /><category scheme="http://www.blogger.com/atom/ns#" term="Attack Planning" /><category scheme="http://www.blogger.com/atom/ns#" term="Attack Graphs" /><category scheme="http://www.blogger.com/atom/ns#" term="Research" /><category scheme="http://www.blogger.com/atom/ns#" term="Privilege Escalation" /><category scheme="http://www.blogger.com/atom/ns#" term="Attack Trees" /><category scheme="http://www.blogger.com/atom/ns#" term="Metasploit" /><title>Automating Penetration Tests - Part 2</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/keNOcZlkoUUwcmw-b4Jsrap2hJ8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/keNOcZlkoUUwcmw-b4Jsrap2hJ8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/keNOcZlkoUUwcmw-b4Jsrap2hJ8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/keNOcZlkoUUwcmw-b4Jsrap2hJ8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;This is the part 2 of the article, &lt;a href="http://www.blogger.com/goog_771891303"&gt;click here to &lt;span id="goog_771891299"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/"&gt;&lt;/a&gt;&lt;a href="http://www.dharshin.com/2011/06/automating-penetration-tests-part-1.html"&gt;read part 1&lt;/a&gt;&lt;span id="goog_771891300"&gt;&lt;/span&gt; of the article.&lt;br&gt;
&lt;br&gt;
&lt;span style="font-size: large;"&gt;Modern Approaches to Attack Graphs Generation and Analysis&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
In the modern approach, attack graphs are generated without the full knowledge about the network – which represents real-world scenarios. Then during the attack phase rest of the information is learned and the attack graph is altered accordingly. A planner or an intelligent mechanism such as neural network is used to analysis the graphs and then to generate attacks.&lt;br&gt;
&lt;br&gt;
There are two notable researches papers that discusses on attack planning. Ghosh and Ghosh proposed a new approach to attack planning using a planner [35]. Then Obes et al. have used the same concept and integrated the planner to a penetration testing framework to successfully conduct a penetration test [36].&lt;br&gt;
&lt;br&gt;
&lt;a href="http://www.dharshin.com/2011/06/automating-penetration-tests-part-2.html#more"&gt;Read more »&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4499014581537297254-5451991812625084541?l=www.dharshin.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-com-posts/~4/pFuaNXrbnAQ" height="1" width="1"/&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/u7VDNrrpgqTfIntj1WGrKD8pI3I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/u7VDNrrpgqTfIntj1WGrKD8pI3I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/u7VDNrrpgqTfIntj1WGrKD8pI3I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/u7VDNrrpgqTfIntj1WGrKD8pI3I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-co-cc/~4/bbrso2EY9ho" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.dharshin.com/feeds/5451991812625084541/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.dharshin.com/2011/06/automating-penetration-tests-part-2.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/5451991812625084541?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/5451991812625084541?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dharshin-co-cc/~3/bbrso2EY9ho/automating-penetration-tests-part-2.html" title="Automating Penetration Tests - Part 2" /><author><name>Mr D.</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-ZEF4q7tkB1U/TfQzC1pfW_I/AAAAAAAAALc/hMsHBcg99e8/s72-c/obes.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.dharshin.com/2011/06/automating-penetration-tests-part-2.html</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/dharshin-com-posts/~3/pFuaNXrbnAQ/automating-penetration-tests-part-2.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkcARXk_eip7ImA9WhdUE0U.&quot;"><id>tag:blogger.com,1999:blog-4499014581537297254.post-92628376670743980</id><published>2011-06-10T23:01:00.005+05:30</published><updated>2011-09-30T16:24:04.742+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-30T16:24:04.742+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Automation" /><category scheme="http://www.blogger.com/atom/ns#" term="Penetration Testing" /><category scheme="http://www.blogger.com/atom/ns#" term="Attack Planning" /><category scheme="http://www.blogger.com/atom/ns#" term="Attack Graphs" /><category scheme="http://www.blogger.com/atom/ns#" term="Research" /><category scheme="http://www.blogger.com/atom/ns#" term="Attack Trees" /><title>Automating Penetration Tests - Part 1</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/N4FMe0s6Gu-Vv1tbvRFNZsMZavc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/N4FMe0s6Gu-Vv1tbvRFNZsMZavc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/N4FMe0s6Gu-Vv1tbvRFNZsMZavc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/N4FMe0s6Gu-Vv1tbvRFNZsMZavc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span style="font-size: small;"&gt;This article is written based on the literature survey of my Masters theses on Automating Penetration Tests. The main objective of this research is to look into ways that penetration tests can be automated. However I strongly believe that capabilities of a god penetration tester can not be automated using a computer program. So the intention is to automate systematic steps of penetration tests to save time and effort for the penetration tester.&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span style="font-size: small;"&gt;&lt;span style="font-size: large;"&gt;Basic Automation of Penetration tests&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
There have been various attempts to simplify penetration tests by automating various steps of the penetration test. The simplest attempt is Autopwn [3] in Metasploit framework [4]. First penteser gathers information about target systems using Nmap or Nessus. This information is imported to a database using database module in Metasploit. Autopwn query the database for open ports and services. Then it loads the exploits in Metasploit that matches these services and launch them against the target systems.&lt;br&gt;
&lt;/span&gt;&lt;br&gt;
&lt;a href="http://www.dharshin.com/2011/06/automating-penetration-tests-part-1.html#more"&gt;Read more »&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4499014581537297254-92628376670743980?l=www.dharshin.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-com-posts/~4/XwHwrSEXmVk" height="1" width="1"/&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ioUr2Ad8xnIVPoRNznB9lgCNy6E/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ioUr2Ad8xnIVPoRNznB9lgCNy6E/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ioUr2Ad8xnIVPoRNznB9lgCNy6E/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ioUr2Ad8xnIVPoRNznB9lgCNy6E/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-co-cc/~4/geec6PvtyU8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.dharshin.com/feeds/92628376670743980/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.dharshin.com/2011/06/automating-penetration-tests-part-1.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/92628376670743980?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/92628376670743980?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dharshin-co-cc/~3/geec6PvtyU8/automating-penetration-tests-part-1.html" title="Automating Penetration Tests - Part 1" /><author><name>Mr D.</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-FJuTQHtmiC4/TfJLkyeUfCI/AAAAAAAAALY/lhC1eiIsZyw/s72-c/AttackTreesfig4.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.dharshin.com/2011/06/automating-penetration-tests-part-1.html</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/dharshin-com-posts/~3/XwHwrSEXmVk/automating-penetration-tests-part-1.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0UAQH05eSp7ImA9WhZbEEs.&quot;"><id>tag:blogger.com,1999:blog-4499014581537297254.post-113456057129775076</id><published>2011-05-16T19:33:00.012+05:30</published><updated>2011-06-14T22:04:01.321+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-14T22:04:01.321+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="security audit" /><category scheme="http://www.blogger.com/atom/ns#" term="Penetration Testing" /><category scheme="http://www.blogger.com/atom/ns#" term="Information Security" /><category scheme="http://www.blogger.com/atom/ns#" term="Vulnerability assessment" /><title>Introduction to Penetration Testing For Non-Technicals</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/gJvX_Wr6FzC6T0fz2GTu4ljvKPg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gJvX_Wr6FzC6T0fz2GTu4ljvKPg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/gJvX_Wr6FzC6T0fz2GTu4ljvKPg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gJvX_Wr6FzC6T0fz2GTu4ljvKPg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;If you are a manager with a different background than IT or if you are a non-technical person wondering whether to conduct a penetration test for your organization, this article might be of help to you.&lt;br&gt;
&lt;br&gt;
&lt;span style="font-size: large;"&gt;What&amp;#39;s Penetration Testing?&lt;/span&gt;&lt;br&gt;
In a penetration test (a. k. a. pentest) penetration testers (a. k. a. pentester) simulate an actual attack on the system being tested to assess the weaknesses of the system(s) and gives recommendations on fixing the vulnerabilities discovered.&lt;br&gt;
&lt;br&gt;
&lt;span style="font-size: large;"&gt;Penetration Testing Vs. Ethical Hacking?&lt;/span&gt;&lt;br&gt;
Ethical hacking is a buzz word that became popular in information security industry with the introduction of Certified Ethical Hacker exam by EC-Council. Although some argue that penetration testing and ethical hacking are two different things , it&amp;#39;s quite hard to identify any difference between the two&lt;br&gt;
&lt;br&gt;
&lt;a href="http://www.dharshin.com/2011/05/introduction-to-penetration-testing-for.html#more"&gt;Read more »&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4499014581537297254-113456057129775076?l=www.dharshin.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-com-posts/~4/QvZr1Kxa6LE" height="1" width="1"/&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4eQT1ma18JUBA1XZZv560IfqEKw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4eQT1ma18JUBA1XZZv560IfqEKw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4eQT1ma18JUBA1XZZv560IfqEKw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4eQT1ma18JUBA1XZZv560IfqEKw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-co-cc/~4/6wtKcCTgaKc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.dharshin.com/feeds/113456057129775076/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.dharshin.com/2011/05/introduction-to-penetration-testing-for.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/113456057129775076?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/113456057129775076?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dharshin-co-cc/~3/6wtKcCTgaKc/introduction-to-penetration-testing-for.html" title="Introduction to Penetration Testing For Non-Technicals" /><author><name>Mr D.</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.dharshin.com/2011/05/introduction-to-penetration-testing-for.html</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/dharshin-com-posts/~3/QvZr1Kxa6LE/introduction-to-penetration-testing-for.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0QHQXo7eyp7ImA9WhdUFk8.&quot;"><id>tag:blogger.com,1999:blog-4499014581537297254.post-9131288929674110521</id><published>2011-05-08T09:39:00.004+05:30</published><updated>2011-10-03T13:38:50.403+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-03T13:38:50.403+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Information Security" /><category scheme="http://www.blogger.com/atom/ns#" term="Videos" /><category scheme="http://www.blogger.com/atom/ns#" term="CarolinaCon" /><category scheme="http://www.blogger.com/atom/ns#" term="Conference" /><title>CarolinaCon 2011 Videos</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0S-rEEjMih5tr1f_3ISG_rxOUxA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0S-rEEjMih5tr1f_3ISG_rxOUxA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0S-rEEjMih5tr1f_3ISG_rxOUxA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0S-rEEjMih5tr1f_3ISG_rxOUxA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Although I had not have a chance to attend major information security conferences, I follow them through videos that they release. I dont think videos give the same experience, but the knowledge you can gain from these presentations is really awesome.&lt;br&gt;
&lt;br&gt;
You can get information about the videos from &lt;a href="http://www.carolinacon.org/index.php?option=com_content&amp;amp;view=article&amp;amp;id=71&amp;amp;Itemid=77"&gt;here&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
You can find &lt;a href="http://www.carolinacon.org/"&gt;CarolinaCon 2011&lt;/a&gt; conference videos bellow.&lt;br&gt;
&lt;br&gt;
&lt;a href="http://www.dharshin.com/2011/05/carolinacon-2011-videos.html#more"&gt;Read more »&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4499014581537297254-9131288929674110521?l=www.dharshin.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-com-posts/~4/Ackx8RpW8Gs" height="1" width="1"/&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/eI2PWd5s2GwrUO-f1XtBFEwaTmQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eI2PWd5s2GwrUO-f1XtBFEwaTmQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/eI2PWd5s2GwrUO-f1XtBFEwaTmQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eI2PWd5s2GwrUO-f1XtBFEwaTmQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-co-cc/~4/iGEXDoyDO-M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.dharshin.com/feeds/9131288929674110521/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.dharshin.com/2011/05/carolinacon-2011-videos.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/9131288929674110521?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/9131288929674110521?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dharshin-co-cc/~3/iGEXDoyDO-M/carolinacon-2011-videos.html" title="CarolinaCon 2011 Videos" /><author><name>Mr D.</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.dharshin.com/2011/05/carolinacon-2011-videos.html</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/dharshin-com-posts/~3/Ackx8RpW8Gs/carolinacon-2011-videos.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUAGRXc7eyp7ImA9WhZUF08.&quot;"><id>tag:blogger.com,1999:blog-4499014581537297254.post-364660752353231623</id><published>2011-04-29T21:22:00.002+05:30</published><updated>2011-06-10T23:12:04.903+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-10T23:12:04.903+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Template" /><category scheme="http://www.blogger.com/atom/ns#" term="Blogger" /><category scheme="http://www.blogger.com/atom/ns#" term="SEO" /><title>Display Post Title Before Blog Title in Blogger for SEO</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/kh7PF6eprEfsjlaBgGe3VLptn_4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kh7PF6eprEfsjlaBgGe3VLptn_4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/kh7PF6eprEfsjlaBgGe3VLptn_4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kh7PF6eprEfsjlaBgGe3VLptn_4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;By default Blogger displays the blog title before post title. For an example &amp;lt;Blog Title&amp;gt;: &amp;lt;post title&amp;gt;.In terms of SEO this is bad. We want to display the post title first and then the blog title. To change the default behavior follow the following steps.&lt;br&gt;
&lt;ul&gt;&lt;li&gt;Log into Blogger and go the &amp;quot;Design&amp;quot; tab&lt;/li&gt;
&lt;li&gt;Then click on &amp;quot;Edit HTML&amp;quot; link.&lt;/li&gt;
&lt;li&gt;Make sure you take a back of your existing template by clicking on &amp;quot;Download Full Template&amp;quot; link and saving the XML file to a safe storage location.&lt;/li&gt;
&lt;li&gt;Search for the following text in the template.&lt;/li&gt;
&lt;/ul&gt;&lt;br&gt;
&lt;a href="http://www.dharshin.com/2011/04/display-post-title-before-blog-title-in.html#more"&gt;Read more »&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4499014581537297254-364660752353231623?l=www.dharshin.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-com-posts/~4/NsCVnx4dl2g" height="1" width="1"/&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/M5PxicsCk1oq91ypeVLUgvOmRU4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/M5PxicsCk1oq91ypeVLUgvOmRU4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/M5PxicsCk1oq91ypeVLUgvOmRU4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/M5PxicsCk1oq91ypeVLUgvOmRU4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-co-cc/~4/r5Do-bxQ9os" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.dharshin.com/feeds/364660752353231623/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.dharshin.com/2011/04/display-post-title-before-blog-title-in.html#comment-form" title="8 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/364660752353231623?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/364660752353231623?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dharshin-co-cc/~3/r5Do-bxQ9os/display-post-title-before-blog-title-in.html" title="Display Post Title Before Blog Title in Blogger for SEO" /><author><name>Mr D.</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>8</thr:total><feedburner:origLink>http://www.dharshin.com/2011/04/display-post-title-before-blog-title-in.html</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/dharshin-com-posts/~3/NsCVnx4dl2g/display-post-title-before-blog-title-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEUARHw7eyp7ImA9WhZQF0k.&quot;"><id>tag:blogger.com,1999:blog-4499014581537297254.post-5597252367045576523</id><published>2011-04-25T20:07:00.000+05:30</published><updated>2011-04-25T20:07:25.203+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-25T20:07:25.203+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="updates" /><title>Updated My Blog</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/UW-USJFX9xk9HreJjdaXhpAkcrU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UW-USJFX9xk9HreJjdaXhpAkcrU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/UW-USJFX9xk9HreJjdaXhpAkcrU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UW-USJFX9xk9HreJjdaXhpAkcrU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;If you have been to my blog before, you can see that most of the things have been changed. Got a new domain name, moved to blogger from self hosted Wordpress blog, got a new theme, but the same old content :).&lt;br /&gt;
&lt;br /&gt;
Most of the stuff written to date in this blog are from my old blog. Most of these articles are about 2-3 years old - they still get hits.&lt;br /&gt;
&lt;br /&gt;
Why did I move to blogger from a self hosted WordPress blog?&lt;br /&gt;
&lt;br /&gt;
First of all, I love WordPress, there's nothing wrong with it. But maintaining a self hosted blog is a lot of work. Updates, plugin updates, moderating comments and what not. Blogger is easy, you can focus&amp;nbsp; your entire energy on writing posts.&lt;br /&gt;
&lt;br /&gt;
My previous blog dharshin.co.cc was hosted on Freehostia.com's free hosting package. For a completely free package it was awesome. The loading speed is good, availability is a also really great. I really love them.Go check them out (&lt;a href="http://www.freehostia.com/"&gt;http://www.freehostia.com&lt;/a&gt;: not a reference or affiliation link :)) if you are planing to host any web site.&lt;br /&gt;
&lt;br /&gt;
Speaking of web hosting, I really had very band experience with web hosting providers. That's also probably why I moved to Blogger (plus it's free). Web hosting is another topic. I'll exposed about web hosting scams in the future.&lt;br /&gt;
&lt;br /&gt;
That's it for now. Enjoy my new blog!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4499014581537297254-5597252367045576523?l=www.dharshin.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-com-posts/~4/XA6oKl63Duw" height="1" width="1"/&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/bJON0MdbMCeCMHiof98b5yiuOPo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/bJON0MdbMCeCMHiof98b5yiuOPo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/bJON0MdbMCeCMHiof98b5yiuOPo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/bJON0MdbMCeCMHiof98b5yiuOPo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-co-cc/~4/D9qv7pJDnnA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.dharshin.com/feeds/5597252367045576523/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.dharshin.com/2011/04/updated-my-blog.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/5597252367045576523?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/5597252367045576523?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dharshin-co-cc/~3/D9qv7pJDnnA/updated-my-blog.html" title="Updated My Blog" /><author><name>Mr D.</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><feedburner:origLink>http://www.dharshin.com/2011/04/updated-my-blog.html</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/dharshin-com-posts/~3/XA6oKl63Duw/updated-my-blog.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEUAR308fip7ImA9WhZQF08.&quot;"><id>tag:blogger.com,1999:blog-4499014581537297254.post-3664212371522121417</id><published>2011-04-25T15:34:00.002+05:30</published><updated>2011-04-25T15:40:46.376+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-25T15:40:46.376+05:30</app:edited><title>How to Customize Google Country Redirect in Firefox</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/QHZ20XDW54nD46FSndAOepmCl5Y/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/QHZ20XDW54nD46FSndAOepmCl5Y/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/QHZ20XDW54nD46FSndAOepmCl5Y/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/QHZ20XDW54nD46FSndAOepmCl5Y/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;This article discusses about how to change Google country redirect to whatever your want from firefox&amp;nbsp;permanently.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;The Problem&lt;/span&gt;&lt;br /&gt;
&lt;b&gt; &lt;/b&gt;&lt;b&gt;&lt;/b&gt;Google automatically redirects to the Google's country domain depending on your IP address. If you are using Google search through a proxy or if you are traveling, you might have experienced this. &lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;b&gt;&lt;/b&gt; Solution 1: Always get results from Google.com&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
One way to stop Google country redirect is to visit this link: &lt;a href="http://www.google.com/ncr"&gt;http://www.google.com/ncr&lt;/a&gt;. This sets a cookie in your browser announcing Google not to redirect.  Now you are getting results from google.com. But this solution fails if  you remove cookies in Firefox. And the other problem is that you’ll not  get &lt;a href="http://www.google.com/support/bin/answer.py?answer=873&amp;amp;topic=8995"&gt;country-specific search features&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;Solution 2: Get results from your favorite Google country domain&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Firefox’s default search bar gets its configuration options (what  search engine to use, what parameters to pass, etc) from XML files  located in ’searchplugins’ directory in Firefox’s default directory. If  you are on a Windows system this most probably be ‘&lt;i&gt;C:\Program  Files\Mozilla Firefox\searchplugins&lt;/i&gt;’. There’s an XML file for Google  called ‘google.xml’. Following is the content of that file.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush:xml"&gt;&lt;searchplugin xmlns="http://www.mozilla.org/2006/browser/search/"&gt;
&lt;shortname&gt;Google&lt;/shortname&gt;
&lt;description&gt;Google Search&lt;/description&gt;
&lt;inputencoding&gt;UTF-8&lt;/inputencoding&gt;
&lt;image height="16" width="16"&gt;&lt;!--content removed --&gt;&lt;/image&gt;
&lt;url method="GET" template="http://suggestqueries.google.com/complete/search?output=firefox&amp;amp;client=firefox&amp;amp;hl={moz:locale}&amp;amp;q={searchTerms}" type="application/x-suggestions+json"&gt;
&lt;url method="GET" template="http://www.google.com/search" type="text/html"&gt;
  &lt;param name="q" value="{searchTerms}" /&gt;&lt;param name="ie" value="utf-8" /&gt;&lt;param name="oe" value="utf-8" /&gt;&lt;param name="aq" value="t" /&gt;&lt;param name="rls" value="{moz:distributionID}:{moz:locale}:{moz:official}" /&gt;&lt;mozparam condition="defaultEngine" falsevalue="firefox" name="client" truevalue="firefox-a"&gt;
&lt;/mozparam&gt;&lt;/url&gt;
&lt;searchform&gt;http://www.google.com/&lt;/searchform&gt;
&lt;/url&gt;&lt;/searchplugin&gt;&amp;nbsp;&lt;/pre&gt;XML tags hare are self-explanatory. First copy google.xml and make a  new one. Lets’ call it ‘google.lk.xml’ for examples. Then Edit  ‘ShortName’, tag and rename it to something else. Let’s call is  “Google.lk”. Then there are two ‘Url’ tags. Leave the first ‘Url’ tag as  it is since it’s used to get search suggestions. In the second tag  change template attribute to template="http://www.google.lk/search".&lt;br /&gt;
&lt;br /&gt;
Change http://www.google.com/ to http://www.google.lk within '&amp;lt;SearchForm&amp;gt;' tags. This  specifies the page to display if you click on the magnifying glass icon,  at the left hand corner of the search bar, without any search terms.&lt;br /&gt;
&lt;br /&gt;
After these changes are made, new google.lk.xml file should look like follows.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush:xml"&gt;&lt;searchplugin xmlns="http://www.mozilla.org/2006/browser/search/"&gt;
&lt;shortname&gt;Google LK&lt;/ShortName&gt;
&lt;description&gt;Google Search&lt;/Description&gt;
&lt;inputencoding&gt;UTF-8&lt;/InputEncoding&gt;
&lt;image width="16" height="16"&gt;&lt;!--content removed --&gt;&lt;/Image&gt;
&lt;url type="application/x-suggestions+json" method="GET" template="http://suggestqueries.google.com/complete/search?output=firefox&amp;amp;client=firefox&amp;amp;hl={moz:locale}&amp;amp;q={searchTerms}"/&gt;
&lt;url type="text/html" method="GET" template="http://www.google.lk/search"&gt;
  &lt;param name="q" value="{searchTerms}"/&gt;&lt;param name="ie" value="utf-8"/&gt;&lt;param name="oe" value="utf-8"/&gt;&lt;param name="aq" value="t"/&gt;&lt;!-- Dynamic parameters --&gt;
  &lt;param name="rls" value="{moz:distributionID}:{moz:locale}:{moz:official}"/&gt;&lt;mozparam name="client" condition="defaultEngine" trueValue="firefox-a" falseValue="firefox"/&gt;
&lt;/Url&gt;
&lt;searchform&gt;http://www.google.lk/&lt;/SearchForm&gt;
&lt;/SearchPlugin&gt;&lt;/pre&gt;If you are in a different country than Sri Lanka, use your country’s Google domain instead of google.lk.&lt;br /&gt;
Finally, you have to select “Google.lk” from the search engine list  in Firefox's search bar (Click on the small traigle next to search engine logo)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4499014581537297254-3664212371522121417?l=www.dharshin.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-com-posts/~4/WuCS3vMziTM" height="1" width="1"/&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/UrZ90iDqtyQQD75UniKPdH_Ive4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UrZ90iDqtyQQD75UniKPdH_Ive4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/UrZ90iDqtyQQD75UniKPdH_Ive4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UrZ90iDqtyQQD75UniKPdH_Ive4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-co-cc/~4/qOwPuMM3QNI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.dharshin.com/feeds/3664212371522121417/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.dharshin.com/2011/04/how-to-customize-google-country.html#comment-form" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/3664212371522121417?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/3664212371522121417?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dharshin-co-cc/~3/qOwPuMM3QNI/how-to-customize-google-country.html" title="How to Customize Google Country Redirect in Firefox" /><author><name>Mr D.</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>3</thr:total><feedburner:origLink>http://www.dharshin.com/2011/04/how-to-customize-google-country.html</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/dharshin-com-posts/~3/WuCS3vMziTM/how-to-customize-google-country.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0IERn84eCp7ImA9WhdUFk8.&quot;"><id>tag:blogger.com,1999:blog-4499014581537297254.post-4725073493734875307</id><published>2011-04-25T00:47:00.002+05:30</published><updated>2011-10-03T13:41:47.130+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-03T13:41:47.130+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Samsung" /><category scheme="http://www.blogger.com/atom/ns#" term="Kies" /><category scheme="http://www.blogger.com/atom/ns#" term="Galaxy S" /><category scheme="http://www.blogger.com/atom/ns#" term="Android" /><title>Solutions for Kies Not Recognizing Samsung Galaxy S Problem</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/8Ms1r3wqcsz-WYHNjxS8ip9WeAc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8Ms1r3wqcsz-WYHNjxS8ip9WeAc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/8Ms1r3wqcsz-WYHNjxS8ip9WeAc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8Ms1r3wqcsz-WYHNjxS8ip9WeAc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span style="font-size: large;"&gt;Problem&lt;/span&gt;&lt;br /&gt;
Samsung Kies does not recognize Galaxy S (with Android 2.1) even though the phone is properly connected to the PC. If your Android crashes while connecting, then this might not be a solution for you. If not here are some troubleshooting steps.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;What Could Go Wrong?&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Your phone is not in "kies mode"&lt;/li&gt;
&lt;li&gt;Windows drive for your phone is not properly installed&lt;/li&gt;
&lt;li&gt;You are not running TWlauncher&lt;/li&gt;
&lt;li&gt;Kies errors/OS errors and what not&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;Solutions&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;/span&gt;&lt;br /&gt;
First check if you phone is in "Kies mode" when you connect it to the PC via USB.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Go to Settings &amp;gt; About Phone &amp;gt; USB Settings&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt; Check if you have selected Kies or Ask every time option &lt;/li&gt;
&lt;/ul&gt;
If the above setting are in place, then check if you have installed the driver properly on your PC. You can reinstall the driver via Kies by going to Tools &amp;gt; Install driver. &lt;br /&gt;
&lt;br /&gt;
The third reason could be that you are using some other launcher application than Samsung's stock laucher - TWlauncher. For me this was the problem. I was running &lt;a href="https://market.android.com/details?id=com.gau.go.launcherex"&gt;Go Launcher Ex&lt;/a&gt; (it's a really cool app by the way) instead of the TWlauncher and Kies do not recognize the phone - no warnings, no error messages. After uninstalling Go Launcher Ex :(, everything is working perfectly now. If you know a way to keep Go Launcher Ex and connect to Kies, please let me know.&lt;br /&gt;
&lt;br /&gt;
Finally if nothing works first try restarting Galaxy S and PC. If that also fail, try reinstalling kies&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4499014581537297254-4725073493734875307?l=www.dharshin.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-com-posts/~4/qrS2AL6YGuc" height="1" width="1"/&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RnvplhWwUQ696Menb0iheXBYB80/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RnvplhWwUQ696Menb0iheXBYB80/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RnvplhWwUQ696Menb0iheXBYB80/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RnvplhWwUQ696Menb0iheXBYB80/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-co-cc/~4/lcK5TFFoJhY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.dharshin.com/feeds/4725073493734875307/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.dharshin.com/2011/04/solutions-for-kies-not-recognizing.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/4725073493734875307?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/4725073493734875307?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dharshin-co-cc/~3/lcK5TFFoJhY/solutions-for-kies-not-recognizing.html" title="Solutions for Kies Not Recognizing Samsung Galaxy S Problem" /><author><name>Mr D.</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>4</thr:total><feedburner:origLink>http://www.dharshin.com/2011/04/solutions-for-kies-not-recognizing.html</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/dharshin-com-posts/~3/qrS2AL6YGuc/solutions-for-kies-not-recognizing.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkQDRHoyfip7ImA9WhZQEkU.&quot;"><id>tag:blogger.com,1999:blog-4499014581537297254.post-5051315497236920320</id><published>2011-04-18T16:09:00.001+05:30</published><updated>2011-04-20T14:02:55.496+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-20T14:02:55.496+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Loggin" /><category scheme="http://www.blogger.com/atom/ns#" term="Terminal" /><category scheme="http://www.blogger.com/atom/ns#" term="Cisco" /><title>Configuring Cisco Terminal Logging: Minimize Interruptions to the terminal</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/PtYPdy7DnQNw88nWci2XreVpgEw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PtYPdy7DnQNw88nWci2XreVpgEw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/PtYPdy7DnQNw88nWci2XreVpgEw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PtYPdy7DnQNw88nWci2XreVpgEw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;You might have experienced that while you are typing a command on a terminal, some stuff get thrown to the terminal by the router or the switch making it a mess. This stuff can be useful specially when you are configuring a routing protocol or changing setting on an interface. However messages like the following, is quite disturbing when you are doing some task.&lt;br&gt;
&lt;pre class="brush:shell"&gt;Router(config)#
Router#show
*Mar  1 00:07:23.487: %SYS-5-CONFIG_I: Configured from console by
consolerun
Building configuration...

Current configuration : 694 bytes
!
version 12.3&lt;/pre&gt;Above terminal output is a good example. A message has been thrown in between me “show run” command. The router understood the command perfectly, but it we cat read it clearly. The reason for this is logging. Routers and switches use console ports to log messages. You can three options to stop or minimize the logging disturbances on terminals.&lt;br&gt;
&lt;br&gt;
&lt;a href="http://www.dharshin.com/2011/04/configuring-cisco-terminal-logging.html#more"&gt;Read more »&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4499014581537297254-5051315497236920320?l=www.dharshin.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-com-posts/~4/IZJ_QETTwT8" height="1" width="1"/&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Q_WCZ7q3GIyBBh6eVJBQR_35xNc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Q_WCZ7q3GIyBBh6eVJBQR_35xNc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Q_WCZ7q3GIyBBh6eVJBQR_35xNc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Q_WCZ7q3GIyBBh6eVJBQR_35xNc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-co-cc/~4/Mjm-Tvy_P-4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.dharshin.com/feeds/5051315497236920320/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.dharshin.com/2011/04/configuring-cisco-terminal-logging.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/5051315497236920320?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/5051315497236920320?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dharshin-co-cc/~3/Mjm-Tvy_P-4/configuring-cisco-terminal-logging.html" title="Configuring Cisco Terminal Logging: Minimize Interruptions to the terminal" /><author><name>Mr D.</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.dharshin.com/2011/04/configuring-cisco-terminal-logging.html</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/dharshin-com-posts/~3/IZJ_QETTwT8/configuring-cisco-terminal-logging.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkMGRXk7cSp7ImA9WhZQEkU.&quot;"><id>tag:blogger.com,1999:blog-4499014581537297254.post-965691249400282641</id><published>2011-04-18T16:02:00.001+05:30</published><updated>2011-04-20T14:03:44.709+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-20T14:03:44.709+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="IOS" /><category scheme="http://www.blogger.com/atom/ns#" term="Command Line" /><category scheme="http://www.blogger.com/atom/ns#" term="Cisco" /><title>Configuring Cisco ISO Command Line Aliases</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4IZOjQ31wmpTrsEXyJ7fNyPmMKk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4IZOjQ31wmpTrsEXyJ7fNyPmMKk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4IZOjQ31wmpTrsEXyJ7fNyPmMKk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4IZOjQ31wmpTrsEXyJ7fNyPmMKk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;How many times do you type &lt;em&gt;show ip interface brief&lt;/em&gt;, &lt;em&gt;copy run start&lt;/em&gt;, &lt;em&gt;configure terminal&lt;/em&gt;, &lt;em&gt;show running-config&lt;/em&gt;, etc. But isn’t there a way to make thing easier? Yes there is, that’s command aliases feature provided in Cisco IOS.&lt;br&gt;
&lt;br&gt;
Aliases are configured within a mode; &lt;em&gt;exec: #&lt;/em&gt;, &lt;em&gt;global configuration: (config)#&lt;/em&gt;, &lt;em&gt;interface configuration: (config-if)#&lt;/em&gt;, &lt;em&gt;router configuration: (config-router)#&lt;/em&gt;, etc. you can issue a show aliases ? command to see how many modes are there. But practically you’ll mostly need exec mode aliases.&lt;br&gt;
&lt;br&gt;
A filtered output of the &lt;em&gt;show aliases ?&lt;/em&gt; command is shown bellow.&lt;br&gt;
&lt;pre class="brush:shell"&gt;Router#show aliases ?
--- output omitted ---
  configure                  Global configuration mode
...
  exec                       Exec mode
...
  interface                  Interface configuration mode
...
  router                     Router configuration mode
...&lt;/pre&gt;&lt;a href="http://www.dharshin.com/2011/04/configuring-cisco-iso-command-line.html#more"&gt;Read more »&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4499014581537297254-965691249400282641?l=www.dharshin.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-com-posts/~4/SPj1SAjsK8I" height="1" width="1"/&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vYoCPsQFyjIbRpUOC0QYg05p77Y/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vYoCPsQFyjIbRpUOC0QYg05p77Y/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/vYoCPsQFyjIbRpUOC0QYg05p77Y/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vYoCPsQFyjIbRpUOC0QYg05p77Y/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-co-cc/~4/6PtiGi_REpk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.dharshin.com/feeds/965691249400282641/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.dharshin.com/2011/04/configuring-cisco-iso-command-line.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/965691249400282641?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/965691249400282641?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dharshin-co-cc/~3/6PtiGi_REpk/configuring-cisco-iso-command-line.html" title="Configuring Cisco ISO Command Line Aliases" /><author><name>Mr D.</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.dharshin.com/2011/04/configuring-cisco-iso-command-line.html</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/dharshin-com-posts/~3/SPj1SAjsK8I/configuring-cisco-iso-command-line.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYDRH08eCp7ImA9WhZQEU8.&quot;"><id>tag:blogger.com,1999:blog-4499014581537297254.post-1423889661506712647</id><published>2011-04-18T15:19:00.000+05:30</published><updated>2011-04-18T15:52:55.370+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-18T15:52:55.370+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="DNS" /><category scheme="http://www.blogger.com/atom/ns#" term="Cisco" /><title>Disable DNS Lookup on Cisco Routers and Switches</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KrX5NS0xxq22Rp7fKanXaTLb4N8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KrX5NS0xxq22Rp7fKanXaTLb4N8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KrX5NS0xxq22Rp7fKanXaTLb4N8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KrX5NS0xxq22Rp7fKanXaTLb4N8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;This article discusses how you can disable DNS lookup on Cisco routers and switches and effect when DNS lookup is enabled.&lt;br&gt;
&lt;br&gt;
&lt;span style="font-size: large;"&gt;Problem &lt;/span&gt;&lt;br&gt;
In privilege EXEC mode, if you type in something other than a Cisco IOS command, the router assumes that you typed a domain name and it tries to resolve what ever you type.&lt;br&gt;
&lt;br&gt;
Although this feature is can be useful in some situations, for most of the time, this is a pain, especially if you do not have DNS server configured. The router becomes irresponsive for about 5-6 seconds trying to resolve the name.&lt;br&gt;
&lt;br&gt;
The following is an example.&lt;br&gt;
&lt;pre class="brush:shell"&gt;R4#wrong-command
Translating &amp;quot;wrong-command&amp;quot;...domain server (255.255.255.255)
 (255.255.255.255)
Translating &amp;quot;wrong-command&amp;quot;...domain server (255.255.255.255)

% Unknown command or computer name, or unable to find computer
address
R4#&lt;/pre&gt;&lt;br&gt;
&lt;a href="http://www.dharshin.com/2011/04/disable-dns-lookup-in-cisco-routers-and.html#more"&gt;Read more »&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4499014581537297254-1423889661506712647?l=www.dharshin.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-com-posts/~4/eWs-yawOHEg" height="1" width="1"/&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/bD7xIG4fCNbY-pI0DrfmiCaM8jE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/bD7xIG4fCNbY-pI0DrfmiCaM8jE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/bD7xIG4fCNbY-pI0DrfmiCaM8jE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/bD7xIG4fCNbY-pI0DrfmiCaM8jE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-co-cc/~4/kPwTHXHKCYk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.dharshin.com/feeds/1423889661506712647/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.dharshin.com/2011/04/disable-dns-lookup-in-cisco-routers-and.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/1423889661506712647?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/1423889661506712647?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dharshin-co-cc/~3/kPwTHXHKCYk/disable-dns-lookup-in-cisco-routers-and.html" title="Disable DNS Lookup on Cisco Routers and Switches" /><author><name>Mr D.</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><feedburner:origLink>http://www.dharshin.com/2011/04/disable-dns-lookup-in-cisco-routers-and.html</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/dharshin-com-posts/~3/eWs-yawOHEg/disable-dns-lookup-in-cisco-routers-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0IERXczeCp7ImA9WhZaF0s.&quot;"><id>tag:blogger.com,1999:blog-4499014581537297254.post-906181888896297000</id><published>2010-07-04T11:32:00.002+05:30</published><updated>2011-07-04T12:08:24.980+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-04T12:08:24.980+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SCP" /><category scheme="http://www.blogger.com/atom/ns#" term="SSH" /><category scheme="http://www.blogger.com/atom/ns#" term="Backtrack" /><title>Enable SSH Server on BackTrack</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ibCpF5OXp0Zg8r8hEPbGDt-ZvNA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ibCpF5OXp0Zg8r8hEPbGDt-ZvNA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ibCpF5OXp0Zg8r8hEPbGDt-ZvNA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ibCpF5OXp0Zg8r8hEPbGDt-ZvNA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;If you need to SSH or SCP to BackTrack box, you need to start the SSH server that comes with Backtrack.&lt;br&gt;
&lt;br&gt;
First you need to generate keys. As root, type in the following line&lt;br&gt;
&lt;pre class="brush:bash"&gt;root@bt:~# sshd-generate 
Generating public/private rsa1 key pair.
&amp;lt;--- snip --- &amp;gt;
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
&amp;lt;--- snip --- &amp;gt;
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
&amp;lt;--- snip --- &amp;gt;
&lt;/pre&gt;&lt;br&gt;
&lt;a href="http://www.dharshin.com/2010/07/enable-ssh-server-on-backtrack.html#more"&gt;Read more »&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4499014581537297254-906181888896297000?l=www.dharshin.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-com-posts/~4/D0IwSR3HzRU" height="1" width="1"/&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9LRk5srq6xyVWk606KcbhAJVRdA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9LRk5srq6xyVWk606KcbhAJVRdA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9LRk5srq6xyVWk606KcbhAJVRdA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9LRk5srq6xyVWk606KcbhAJVRdA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-co-cc/~4/pjvCWnTHV1E" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.dharshin.com/feeds/906181888896297000/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.dharshin.com/2010/07/enable-ssh-server-on-backtrack.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/906181888896297000?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/906181888896297000?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dharshin-co-cc/~3/pjvCWnTHV1E/enable-ssh-server-on-backtrack.html" title="Enable SSH Server on BackTrack" /><author><name>Mr D.</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.dharshin.com/2010/07/enable-ssh-server-on-backtrack.html</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/dharshin-com-posts/~3/D0IwSR3HzRU/enable-ssh-server-on-backtrack.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkcNSHc_cSp7ImA9WhZWEEk.&quot;"><id>tag:blogger.com,1999:blog-4499014581537297254.post-8881609282512420613</id><published>2008-05-10T21:43:00.001+05:30</published><updated>2011-05-10T21:44:59.949+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-10T21:44:59.949+05:30</app:edited><title>PHP File Upload</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JYCRlswqPlne4spv89i8o5H2VS0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JYCRlswqPlne4spv89i8o5H2VS0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JYCRlswqPlne4spv89i8o5H2VS0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JYCRlswqPlne4spv89i8o5H2VS0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;I'm going to show you how you can allow users to upload file into your web server. &lt;b&gt;Although I'm not concerning security related issues here, there is a big risk in allowing users to upload files.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The first reason is that people can upload scripts into you server and execute them there. The second easiest thing to do is write a script that upload hundreds of thousands of files into your server, eventually making it run out of disk space. Hopefully in the future I'm going to write some security articles as well.&lt;br /&gt;
&lt;br /&gt;
By default in PHP versions 5.x, file uploading is enables in php.ini. If you are in windows, php.ini file resides in the folder where you installed PHP. In Linux this file may exist in &lt;i&gt;/usr/local/lib/php.ini&lt;/i&gt; path, if you went with the default settings.&lt;br /&gt;
&lt;br /&gt;
Under the File upload section, there are some important &lt;i&gt;directivesfile_uploads = On&lt;/i&gt;. This directive indicate that file upload is on. The next directive is 'upload_tmp_dir'. When user uploads a file, the file is temporally stored in the directory specified by this directive. One important thing you should keep in ming is that This temporally created file only exist until the PHP file ends. So you must move the file to the appropriate directory of your choice. I'll show you how to do it later. Then you have another directive called upload_max_filesize'. This specifies the maximum size of the file allowed to upload.First step is designing a form that user can use to select his/her file. Here is a simple form.&lt;br /&gt;
&lt;pre class="brush:php"&gt;&lt;form action="file_upload.php" enctype="multipart/form-data" method="post"&gt;File: &lt;input name="upload_file1" type="file" /&gt; 

&lt;input type="submit" value="Upload" /&gt;

&lt;/form&gt;&lt;/pre&gt;If you want to upload a file enctype="multipart/form-data" attribute must be in the form tag, otherwise the browser will not send the file to the server. As usual, there is an input field, but with the type equals to 'file'. This gives the user a browse button with a text field to select the file. I'm sending the information to a php file called file_upload.php here.Now lets look at how does file_upload.php looks like.&lt;br /&gt;
&lt;pre class="brush:php"&gt;/* file_upload.php */
&amp;lt; ?php
$file_path="C:/www/uploads/";
$file_name=$file_path.$_FILES['upload_file1']['name'];
move_uploaded_file($_FILES['upload_file1']['tmp_name'], $file_name); 
?&amp;gt;
&lt;/pre&gt;PHP has a super global array called &lt;i&gt;$_FILES&lt;/i&gt;. Then a file is uploaded to the server, php uses this array to keep information about the file. In the first pair of square brackets, you have the file name. The file name is taken from the form that you send the file. In this case it's “ upload_file1 “. Next, attributes associated with the file are in the next pair of square brackets. &lt;i&gt;$_FILES['upload_file1']['name']&lt;/i&gt; – Name of the original file that the user upload.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;$_FILES['upload_file1']['tmp_name']&lt;/i&gt;: I mentioned earlier that the file is copied to a temporary location, until the script ends. This has the name given to that temporally created file. By default. This file has a file name with “php” prefix and a randomly generated name. This has done to eliminate one file overwriting another file with the same name.&lt;br /&gt;
&lt;br /&gt;
There are some more attributes. You can refer to the PHP manual, if you want to have more control.Only thing you have do is, copy the temporally created file to a permanent location with the function move_uploaded_file(). This function copies the temp file to you ferment location. You should give the full path of the file. That is the path and the name.&lt;br /&gt;
&lt;br /&gt;
Also make sure that this directory exist and apache as permission to write the destination location. This example shows a Microsoft Windows path. If you are on linux file path can be something like /var/www/html/uplodes/ ($file_path="/var/www/html/uplodes/";). If your running apache user that user “apache”, you can change its ownership to apache.chown -R apache /var/www/html/uplodes/.&lt;br /&gt;
&lt;br /&gt;
Hope you got something out of it. Your comments are always welcome.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4499014581537297254-8881609282512420613?l=www.dharshin.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-com-posts/~4/dDyBoaWZmzE" height="1" width="1"/&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/THIGhXj0YbbJgyMSol5a03fm_6Y/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/THIGhXj0YbbJgyMSol5a03fm_6Y/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/THIGhXj0YbbJgyMSol5a03fm_6Y/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/THIGhXj0YbbJgyMSol5a03fm_6Y/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-co-cc/~4/OigxDnMwm1A" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.dharshin.com/feeds/8881609282512420613/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.dharshin.com/2011/05/php-file-upload.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/8881609282512420613?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/8881609282512420613?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dharshin-co-cc/~3/OigxDnMwm1A/php-file-upload.html" title="PHP File Upload" /><author><name>Mr D.</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.dharshin.com/2011/05/php-file-upload.html</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/dharshin-com-posts/~3/dDyBoaWZmzE/php-file-upload.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU4NRHg-fSp7ImA9WhZWFE4.&quot;"><id>tag:blogger.com,1999:blog-4499014581537297254.post-3044670592342136112</id><published>2007-10-25T11:06:00.000+05:30</published><updated>2011-05-15T11:09:55.655+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-15T11:09:55.655+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PHP" /><category scheme="http://www.blogger.com/atom/ns#" term="mysql" /><title>Paging Results with PHP and MYSQL – Part 2</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vz7xZCHvK7WgOOd69qz3cn6XnLU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vz7xZCHvK7WgOOd69qz3cn6XnLU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/vz7xZCHvK7WgOOd69qz3cn6XnLU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vz7xZCHvK7WgOOd69qz3cn6XnLU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Welcome to part 2, if you didn’t read &lt;a href="http://www.dharshin.com/2007/09/paging-results-with-php-and-mysql-part.html"&gt;part 1&lt;/a&gt;, please do, because this is a continuation of that. Now we want to go a step further and add “First” and “Last” links to our navigation.&lt;br&gt;
&lt;br&gt;
“First” should point to the first page of our result set and  last should point to the last page.&lt;br&gt;
&lt;br&gt;
If user is at the first page, “First” and “Previous” links should disabled and like wise  “Last” and “Next” should be disabled at the last page of the result set. It makes sense right?&lt;br&gt;
&lt;br&gt;
&lt;a href="http://www.dharshin.com/2007/10/paging-results-with-php-and-mysql-part.html#more"&gt;Read more »&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4499014581537297254-3044670592342136112?l=www.dharshin.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-com-posts/~4/bN_jAcf132U" height="1" width="1"/&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/M7WMoTy_zqrf1tg-nC-8KGtQJ_c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/M7WMoTy_zqrf1tg-nC-8KGtQJ_c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/M7WMoTy_zqrf1tg-nC-8KGtQJ_c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/M7WMoTy_zqrf1tg-nC-8KGtQJ_c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-co-cc/~4/VLWHaIvx2HY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.dharshin.com/feeds/3044670592342136112/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.dharshin.com/2007/10/paging-results-with-php-and-mysql-part.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/3044670592342136112?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/3044670592342136112?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dharshin-co-cc/~3/VLWHaIvx2HY/paging-results-with-php-and-mysql-part.html" title="Paging Results with PHP and MYSQL – Part 2" /><author><name>Mr D.</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.dharshin.com/2007/10/paging-results-with-php-and-mysql-part.html</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/dharshin-com-posts/~3/bN_jAcf132U/paging-results-with-php-and-mysql-part.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU4CQ3Y6fyp7ImA9WhZWFE4.&quot;"><id>tag:blogger.com,1999:blog-4499014581537297254.post-4935542676945508725</id><published>2007-09-15T11:07:00.000+05:30</published><updated>2011-05-15T11:09:22.817+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-15T11:09:22.817+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PHP" /><category scheme="http://www.blogger.com/atom/ns#" term="mysql" /><title>Paging Results With PHP and MYSQL - Part 1</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/mf0qUGrCUPgnEDDjJfjAvxdLRE0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mf0qUGrCUPgnEDDjJfjAvxdLRE0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/mf0qUGrCUPgnEDDjJfjAvxdLRE0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mf0qUGrCUPgnEDDjJfjAvxdLRE0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Lets say you got a site that prints out some result based on a search term or lists some items that has many rows that&amp;#39;s too much for a single page.I’m going to show you a way of dividing results into several pages and allow users to navigate through there results.&lt;br&gt;
&lt;br&gt;
For this example, I am using a mysql database called &amp;quot;temp&amp;quot; and a table called &amp;quot;links&amp;quot;.&lt;br&gt;
&lt;br&gt;
The following code is a set of SQL statements that I used to generate a sample database for this example. Database name is called &amp;#39;temp&amp;#39; and it has one table called &amp;#39;links&amp;#39; (see SQL statements bellow). Then I have added some data to that table.&lt;br&gt;
&lt;br&gt;
&lt;a href="http://www.dharshin.com/2007/09/paging-results-with-php-and-mysql-part.html#more"&gt;Read more »&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4499014581537297254-4935542676945508725?l=www.dharshin.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-com-posts/~4/xXzwiT4auxU" height="1" width="1"/&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vzKCeZ05tTSIbZosreuL9nnroIE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vzKCeZ05tTSIbZosreuL9nnroIE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/vzKCeZ05tTSIbZosreuL9nnroIE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vzKCeZ05tTSIbZosreuL9nnroIE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-co-cc/~4/BgktXQPM31I" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.dharshin.com/feeds/4935542676945508725/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.dharshin.com/2007/09/paging-results-with-php-and-mysql-part.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/4935542676945508725?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/4935542676945508725?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dharshin-co-cc/~3/BgktXQPM31I/paging-results-with-php-and-mysql-part.html" title="Paging Results With PHP and MYSQL - Part 1" /><author><name>Mr D.</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.dharshin.com/2007/09/paging-results-with-php-and-mysql-part.html</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/dharshin-com-posts/~3/xXzwiT4auxU/paging-results-with-php-and-mysql-part.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEIMSHYyfCp7ImA9WhZXEkg.&quot;"><id>tag:blogger.com,1999:blog-4499014581537297254.post-2503993167964367236</id><published>2006-05-01T18:56:00.001+05:30</published><updated>2011-05-01T18:59:49.894+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-01T18:59:49.894+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="mplayer" /><title>Insall MPlayer from Source</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/bNdTOP2VfeNBQCgSPDANhHtRfmU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/bNdTOP2VfeNBQCgSPDANhHtRfmU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/bNdTOP2VfeNBQCgSPDANhHtRfmU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/bNdTOP2VfeNBQCgSPDANhHtRfmU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;I have seen many people struggling to get the MPlayer working in  GNU/Linux and the following is a simplified guide for these people, it  worked for me. Follow this method in any disto, it should work, unless  of course if you don’t have the basic resources like make, gcc and etc.&lt;br /&gt;
Before you install MPlayer, it asks for either DivX or XVid codec  (not sure if they are available in you distro) else fetch it from &lt;a href="http://www.xvid.org/"&gt;http://www.xvid.org/&lt;/a&gt; and &lt;a href="http://download.divx.com/labs/%20divx611-20060201-gcc4.0.1.tar.gz"&gt;http://download.divx.com/labs/ divx611-20060201-gcc4.0.1.tar.gz&lt;/a&gt; &lt;b&gt;[update: this link is not updated. when you download make sure to get the current version of the codec]&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
Just install them both so you can use both of them. First install these  two, so mplayer can support these codecs as well. It’s not a big deal  to install these codecs.&lt;br /&gt;
&lt;img alt="" class="mceWPmore mceItemNoResize" src="http://dharshin.co.cc/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" title="More..." /&gt;&lt;br /&gt;
DivX has a shell script called install.sh just run it using &lt;i&gt;./install.sh&lt;/i&gt;  command. By the way, to extract a tar.gx or a tgx file, use the  following command tar –xzvf file_name.tar.gx To extract a tar.bx2 file  or a tbz file use the following command.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush:bash"&gt;tar –xjvf file_name_here.tar.bz2&lt;/pre&gt;&lt;br /&gt;
for xvid codec uncompress it and go to that directory and in that, go to build/generic&lt;br /&gt;
and then do the following&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush:bash"&gt;./configure
make
make install
&lt;/pre&gt;&lt;br /&gt;
Then download MPlay from the following link http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre8.tar.bz2.&lt;br /&gt;
Then start installing MPlayer.  uncompress it using this command.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush:bash"&gt;tar -xjzf MPlayer-1.0pre8.tar.bz2&lt;/pre&gt;&lt;br /&gt;
Go into that directory that it creates and execute the following command. &lt;br /&gt;
Note: If you don’t use –enable-gui option it will not compile it to enable the GUI skin, so make sure to include this option.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush:bash"&gt;./configure –enable-gui&lt;/pre&gt;&lt;br /&gt;
Now execute the following two commands.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush:bash"&gt;make
make install&lt;/pre&gt;&lt;br /&gt;
Then install a font Copy a *.ttf file form any ware to the /user/local/share/mplayer/ directory and rename it to subfont.ttf.&lt;br /&gt;
&lt;br /&gt;
Then install a skin. Download any skin from &lt;a href="http://www.mplayerhq.hu/MPlayer/Skin/" title="http://www.mplayerhq.hu/MPlayer/Skin/"&gt;http://www.mplayerhq.hu/MPlayer/Skin/&lt;/a&gt;  and then make a director inside /user/local/share/mplayer/ calles  skins. Copy the skin (.tar.bz2 file) into the newly created directory  and uncompress it. Then rename the skin (the name of the directory which  was created by uncompress process) that you want to appear as the  default skin for Mplayer, to default. Then you can play music and  movies. Use gmplayer file_name.mp3 in a terminal or you can set file  association and then use it like any other player you are already  familiar with.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4499014581537297254-2503993167964367236?l=www.dharshin.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-com-posts/~4/PN0z8kZcx48" height="1" width="1"/&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AVHwvI4A39rPqTXRzBgXvYUFais/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AVHwvI4A39rPqTXRzBgXvYUFais/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AVHwvI4A39rPqTXRzBgXvYUFais/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AVHwvI4A39rPqTXRzBgXvYUFais/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/dharshin-co-cc/~4/uqyk2xSmlNA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.dharshin.com/feeds/2503993167964367236/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.dharshin.com/2011/05/insall-mplayer-from-source.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/2503993167964367236?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4499014581537297254/posts/default/2503993167964367236?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dharshin-co-cc/~3/uqyk2xSmlNA/insall-mplayer-from-source.html" title="Insall MPlayer from Source" /><author><name>Mr D.</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.dharshin.com/2011/05/insall-mplayer-from-source.html</feedburner:origLink><feedburner:origLink>http://feedproxy.google.com/~r/dharshin-com-posts/~3/PN0z8kZcx48/insall-mplayer-from-source.html</feedburner:origLink></entry></feed>

