3P Techies Forum

Tech Support & Sciences => Design & Development => Topic started by: ebenzunlimited on May 24, 2012, 10:08:57 PM

Title: Apache Log Extractor Tool for Pen Testers
Post by: ebenzunlimited on May 24, 2012, 10:08:57 PM
We know that Apache Server is Famous Web server.  Let us see what is Apache log extractor tool .
What is Apache Log Extractor Tool?
Apache Log Extractor is a quick script to export URL information from Apache access logs. The thought behind this script was to provide a list of known URL’s on a remote server by analysing the logs. This list could then be used as the input for further testing tools e.g Burp Suite – Intruder.

The script accepts an Apache access file as the input and creates an output file containing one URL per line. The list is unique and should only contain the URL without parameters (incomplete directory names are not extracted). It also takes these URLs and creates a wordlist output of all valid directoy names for use with brute-forcing tools. Apache Log Extractor can be used as fingerprinting tool can reduse the realm of password cracking.

Get Apache Log Extractor From here:
Download Apache Log Extractor

How to use Apache Log Extractor Tool?

./apache_log_extractor.py access.log.1
Output of Apache Log Extractor

[ ] Extracting URLs from logfile : access.log.1

[ ] Extracted URL : /
[ ] Extracted URL : /Signed_Update.jar
[ ] Extracted URL : /ajax/bottomnavinfo.ashx
[ ] Extracted URL : /MetaAdServer/MAS.aspx?cp=seite1&ct=contentview_ressort&f=0
[ ] Extracted URL : /favicon.ico
[ ] Extracted URL : /EB3YKJjcJ5YvJ
[ ] Extracted URL : /MetaAdServer/MAS.aspx?cp=seite1&ct=contentview_ressort&f=1
[ ] Extracted URL : /AdServer/SponsorButtonC.aspx?ids=16965
[ ] Extracted URL : /Mail
[ ] Extracted URL : /css/layout.css

[ ] Extracting directory names from logfile

[ ] Extracted Word : ajax
[ ] Extracted Word : MetaAdServer
[ ] Extracted Word : AdServer
[ ] Extracted Word : css
[ ] Extracted Word : mail

As Apache Log Extractor is a python script it is os independent and fast.
SimplePortal 2.3.7 © 2008-2021, SimplePortal