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

<channel>
	<title>Hothacking &#62;&#62; The Ultimate Hacking Machine</title>
	<atom:link href="http://hothacking.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://hothacking.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Mon, 24 Mar 2008 09:19:26 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='hothacking.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/2815ec05c4730c6e004d85d89586f18b?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Hothacking &#62;&#62; The Ultimate Hacking Machine</title>
		<link>http://hothacking.wordpress.com</link>
	</image>
			<item>
		<title></title>
		<link>http://hothacking.wordpress.com/2008/03/24/5/</link>
		<comments>http://hothacking.wordpress.com/2008/03/24/5/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 09:19:26 +0000</pubDate>
		<dc:creator>hothacking</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hothacking.wordpress.com/2008/03/24/5/</guid>
		<description><![CDATA[       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hothacking.wordpress.com&blog=3115100&post=5&subd=hothacking&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hothacking.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hothacking.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hothacking.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hothacking.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hothacking.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hothacking.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hothacking.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hothacking.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hothacking.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hothacking.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hothacking.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hothacking.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hothacking.wordpress.com&blog=3115100&post=5&subd=hothacking&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://hothacking.wordpress.com/2008/03/24/5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/321bcf1658f62e0421b1482edb306d5c?s=96&#38;d=identicon" medium="image">
			<media:title type="html">hothacking</media:title>
		</media:content>
	</item>
		<item>
		<title>C++ Function Templates</title>
		<link>http://hothacking.wordpress.com/2008/03/10/c-function-templates/</link>
		<comments>http://hothacking.wordpress.com/2008/03/10/c-function-templates/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 12:25:07 +0000</pubDate>
		<dc:creator>hothacking</dc:creator>
				<category><![CDATA[Labels]]></category>

		<guid isPermaLink="false">http://hothacking.wordpress.com/2008/03/10/c-function-templates/</guid>
		<description><![CDATA[C++ Function templates are those functions which can handle different data types without separate code for each of them. For a similar operation on several kinds of data types, a programmer need not write different versions by overloading a function. It is enough if he writes a C++ template based function. This will take care [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hothacking.wordpress.com&blog=3115100&post=4&subd=hothacking&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>C++ Function templates are those functions which can handle different data types without separate code for each of them. For a similar operation on several kinds of data types, a programmer need not write different versions by overloading a function. It is enough if he writes a C++ template based function. This will take care of all the data types.There are two types of templates in C++, viz., function templates and class templates. This article deals with only the function templates.</p>
<p>There are lot of occasions, where we might need to write the same functions<br />
for different data types. A favorite example can be addition of two variables.<br />
The variable can be integer, float or double. The requirement will be to return<br />
the corresponding return type based on the input type. If we start writing one<br />
function for each of the data type, then we will end up with 4 to 5 different<br />
functions, which can be a night mare for maintenance.</p>
<p>C++ templates come to our rescue in such situations. When we use C++ function templates, only one function signature needs to be created. The C++ compiler will automatically generate the required functions for handling the individual data types. This is how a programmer&#8217;s life is made a lot easier.</p>
<p>C++ Template functions &#8211; Details:</p>
<p>Let us assume a small example for Add function. If the requirement is to use this Add function for both integer and float, then two functions are to be created for each of the data type (overloading).</p>
<p>int Add(int a,int b) { return a+b;} // function Without C++ template<br />
float Add(float a, float b) { return a+b;} // function Without C++ template</p>
<p>If there are some more data types to be handled, more functions should be<br />
added.<br />
But if we use a c++ function template, the whole process is reduced to a single<br />
c++ function template. The following will be the code fragment for Add<br />
function.</p>
<p>template<br />
T Add(T a, T b) //C++ function template sample<br />
{<br />
return a+b;<br />
}</p>
<p>This c++ function template definition will be enough. Now when the integer version of the function, the compiler generates an Add function compatible for integer data type and if float is called it generates float type and so on.Here T is the typename. This is dynamically determined by the compiler according to the parameter passed. The keyword class means, the parameter can be of any type. It can even be a class.</p>
<p>C++ Template functions &#8211; Applicability:</p>
<p>C++ function templates can be used wherever the same functionality has to be performed with a number of data types. Though very useful, lots of care should be taken to test the C++ template functions during development. A well written c++ template will go a long way in saving time for programmers.<br />
About The Author Muthukumar</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hothacking.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hothacking.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hothacking.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hothacking.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hothacking.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hothacking.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hothacking.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hothacking.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hothacking.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hothacking.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hothacking.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hothacking.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hothacking.wordpress.com&blog=3115100&post=4&subd=hothacking&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://hothacking.wordpress.com/2008/03/10/c-function-templates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/321bcf1658f62e0421b1482edb306d5c?s=96&#38;d=identicon" medium="image">
			<media:title type="html">hothacking</media:title>
		</media:content>
	</item>
		<item>
		<title>Google Hacks</title>
		<link>http://hothacking.wordpress.com/2008/03/10/google-hacks/</link>
		<comments>http://hothacking.wordpress.com/2008/03/10/google-hacks/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 12:23:52 +0000</pubDate>
		<dc:creator>hothacking</dc:creator>
				<category><![CDATA[Labels]]></category>

		<guid isPermaLink="false">http://hothacking.wordpress.com/2008/03/10/google-hacks/</guid>
		<description><![CDATA[Well, the Google’s query syntaxes discussed above can really help people to precise their search and get what they are exactly looking for.
Now Google being so intelligent search engine, hackers don’t mind exploiting its ability to dig much confidential and secret information from the net which they are not supposed to know. Now I shall [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hothacking.wordpress.com&blog=3115100&post=3&subd=hothacking&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Well, the Google’s query syntaxes discussed above can really help people to precise their search and get what they are exactly looking for.</p>
<p>Now Google being so intelligent search engine, hackers don’t mind exploiting its ability to dig much confidential and secret information from the net which they are not supposed to know. Now I shall discuss those techniques in details how hackers dig information from the net using Google and how that information can be used to break into remote servers.</p>
<p>Index Of</p>
<p><u>Using “Index of ” syntax to find sites enabled with Index browsing</u>.</p>
<p>A webserver with Index browsing enabled means anyone can browse the webserver directories like ordinary local directories. The use of “index of” syntax to get a list links to webserver which has got directory browsing enabled will be discussd below. This becomes an easy source for information gathering for a hacker. Imagine if the get hold of password files or others sensitive files which are not normally visible to the internet. Below given are few examples using which one can get access to many sensitive information much easily.</p>
<p>Index of /admin<br />
Index of /passwd<br />
Index of /password<br />
Index of /mail</p>
<p>&#8220;Index of /&#8221; +passwd<br />
&#8220;Index of /&#8221; +password.txt<br />
&#8220;Index of /&#8221; +.htaccess</p>
<p>&#8220;Index of /secret&#8221;<br />
&#8220;Index of /confidential&#8221;<br />
&#8220;Index of /root&#8221;<br />
&#8220;Index of /cgi-bin&#8221;<br />
&#8220;Index of /credit-card&#8221;<br />
&#8220;Index of /logs&#8221;<br />
&#8220;Index of /config&#8221;</p>
<p><b><u>Looking for vulnerable sites or servers using “inurl:” or “allinurl:”</u></b>.</p>
<p>a. Using “allinurl:winnt/system32/” (without quotes) will list down all the links to the server which gives access to restricted directories like “system32” through web. If you are lucky enough then you might get access to the cmd.exe in the “system32” directory. Once you have the access to “cmd.exe” and is able to execute it.</p>
<p>b. Using “allinurl:wwwboard/passwd.txt”(without quotes) in the Google search will list down all the links to the server which are vulnerable to “WWWBoard Password vulnerability”. To know more about this vulnerability you can have a look at the following link:</p>
<p>http://www.securiteam.com/exploits/2BUQ4S0SAW.html</p>
<p>c. Using “inurl:.bash_history” (without quotes) will list down all the links to the server which gives access to “.bash_history” file through web. This is a command history file. This file includes the list of command executed by the administrator, and sometimes includes sensitive information such as password typed in by the administrator. If this file is compromised and if contains the encrypted unix (or *nix) password then it can be easily cracked using “John The Ripper”.</p>
<p>d. Using “inurl:config.txt” (without quotes) will list down all the links to the servers which gives access to “config.txt” file through web. This file contains sensitive information, including the hash value of the administrative password and database authentication credentials.</p>
<p>For Example: Ingenium Learning Management System is a Web-based application for Windows based systems developed by Click2learn, Inc. Ingenium Learning Management System versions 5.1 and 6.1 stores sensitive information insecurely in the config.txt file. For more information refer the following<br />
links: http://www.securiteam.com/securitynews/6M00H2K5PG.html</p>
<p>Other similar search using “inurl:” or “allinurl:” combined with other syntax</p>
<p><b>inurl:admin filetype:txt<br />
inurl:admin filetype:db<br />
inurl:admin filetype:cfg<br />
inurl:mysql filetype:cfg<br />
inurl:passwd filetype:txt<br />
inurl:iisadmin<br />
inurl:auth_user_file.txt<br />
inurl:orders.txt<br />
inurl:&#8221;wwwroot/*.&#8221;<br />
inurl:adpassword.txt<br />
inurl:webeditor.php<br />
inurl:file_upload.php</b></p>
<p><b>inurl:gov filetype:xls &#8220;restricted&#8221;<br />
index of ftp +.mdb allinurl:/cgi-bin/ +mailto</b></p>
<p>Looking for vulnerable sites or servers using “intitle:” or “allintitle:”</p>
<p>a. Using [allintitle: "index of /root”] (without brackets) will list down the links to the web server which gives access to restricted directories like “root” through web. This directory sometimes contains sensitive information which can be easily retrieved through simple web requests.</p>
<p>b. Using [allintitle: "index of /admin”] (without brackets) will list down the links to the websites which has got index browsing enabled for restricted directories like “admin” through web. Most of the web application sometimes uses names like “admin” to store admin credentials in it. This directory sometimes contains sensitive information which can be easily retrieved through simple web requests.</p>
<p>Other similar search using “intitle:” or “allintitle:” combined with other syntax</p>
<p><b>intitle:&#8221;Index of&#8221; .sh_history<br />
intitle:&#8221;Index of&#8221; .bash_history<br />
intitle:&#8221;index of&#8221; passwd<br />
intitle:&#8221;index of&#8221; people.lst<br />
intitle:&#8221;index of&#8221; pwd.db<br />
intitle:&#8221;index of&#8221; etc/shadow<br />
intitle:&#8221;index of&#8221; spwd<br />
intitle:&#8221;index of&#8221; master.passwd<br />
intitle:&#8221;index of&#8221; htpasswd<br />
intitle:&#8221;index of&#8221; members OR accounts<br />
intitle:&#8221;index of&#8221; user_carts OR user_cart</b></p>
<p><b>allintitle: sensitive filetype:doc<br />
allintitle: restricted filetype :mail<br />
allintitle: restricted filetype:doc site:gov</b></p>
<p><b>Other interesting Search Queries</b></p>
<p><b><b>To search for sites vulnerable to Cross-Sites Scripting (XSS) attacks:</b></b></p>
<p><b>allinurl:/scripts/cart32.exe<br />
allinurl:/CuteNews/show_archives.php<br />
allinurl:/phpinfo.php</b></p>
<p><b>To search for sites vulnerable to SQL Injection attacks:</b></p>
<p>allinurl:/privmsg.php<br />
allinurl:/privmsg.php</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hothacking.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hothacking.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hothacking.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hothacking.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hothacking.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hothacking.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hothacking.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hothacking.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hothacking.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hothacking.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hothacking.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hothacking.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hothacking.wordpress.com&blog=3115100&post=3&subd=hothacking&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://hothacking.wordpress.com/2008/03/10/google-hacks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/321bcf1658f62e0421b1482edb306d5c?s=96&#38;d=identicon" medium="image">
			<media:title type="html">hothacking</media:title>
		</media:content>
	</item>
	</channel>
</rss>