H T E x p l o i t

HTExploit (HiperText access Exploit) is an open-source tool written in Python that exploits a weakness in the way that .htaccess files can be configured to protect a web directory with an authentication process.

Download
HTExploit !
DOCUMENTATION

Content

1 - HTExploit
1.1 - Features
1.2 - Requirements
2 - Supported operating systems
2.1 - Windows 7 / Vista / XP
2.2 - BackTrack 5
3 - Usage
4 - Licensing
5 - Change log
6 - Interesting links

HTExploit (HiperText access Exploit)

HTExploit (HiperText access Exploit) is an open-source tool written in Python that exploits a weakness in the way that .htaccess files can be configured to protect a web directory with an authentication process. By using this tool anyone would be able to list the contents of a directory protected this way, bypassing the authentication process.
The tool provides modularity, by allowing the tester to fully perform an analysis on the protected website of the following attacks: SQL Injection, Local File Inclusion, Remote File Inclusion and others.
The main characteristic of this tool is that all of the analyses performed are done inside the protected directory, not from the publicly accessible site.

Features

x Multiples modules to execute.
x Save the output to an specify directory.
x HTML Reporting.
x Use multiples wordlist to probe against htaccess bypassing.
x Mode verbose for a full detailed information.
x Recursive crawling engine.

Requirements


x Python

Supported operating systems

HTExploit is written in Python and should run on many different operating systems.

Windows 7 / Vista / XP
x Downlad Python
x Unzip the tar.gz
x Run HTExploit:

python htexploit

BackTrack 5
x Install Python: apt-get install python
x Unzip the tar.gz
x Run HTExploit:

$python htexploit

Usage

After executed HTExploit, you will see something like:

 |   |  __ __|   ____|                   |          _)   |
 |   |     |     __|    \ \  /   __ \    |    _ \    |   __|
 ___ |     |     |       `  <    |   |   |   (   |   |   |  
_|  _|    _|    _____|   _/\_\   .__/   _|  \___/   _|  \__|
                                _|      v0.77

Usage: htexploit -u [URL] [options]

Options:
  -h, --help            show this help message and exit
  -u URL, --url=URL     **REQUIRED** - Specify the URL to scan
  -o OUTPUT, --output=OUTPUT
                        Specify the output directory (Default: Random)
  -w WORDLIST, --wordlist=WORDLIST
                        Specify the wordlist to use (Default: 'res/FullList')
  -v, --verbose         Verbosity level (Default: 0)
			

Example:

python htexploit -u 10.10.10.10 -w FullList -o FolderPATH

Licensing

HTExploit is licensed under the GNU General Public License Version 2.

Change Log

View the complete CHANGELOG.

x Apache Tutorial: .htaccess files
x Common Configuration Problems: Issue #81 (090597)
x HTTP Authentication: Basic and Digest Access Authentication
x Authentication, Authorization and Access Control
x Apache Module mod_allowmethods
x Password Formats