Showing posts with label metagoofil. Show all posts
Showing posts with label metagoofil. Show all posts

Monday, November 26, 2012

Metagoofil Fix (Intelligence Gathering)

Metagoofil is a useful tool to use for the passive reconnaissance in the intelligence gathering phrase of penetration testing.
Metagoofil is available for download at http://code.google.com/p/metagoofil
It allows you to extract useful metadata from public documents belong to a target company from search engine.
You can learn about using Metagoofil at Irongeek’s site  http://www.irongeek.com/i.php?page=videos/using-metagoofil-to-extract-metadata-from-public-documents-found-via-google
I was trying to use metagoofil today.  The results show that there are 7 files found but they are actually invalid links.

How to apply the patch?
You can download the patch from http://pastebin.com/prHBxqfK
Save the file from pastebin as parser.patch in the metagoofil-read-only folder.
To apply the patch, type “patch -i parser.patch” as shown in the below screenshot.

You should see the below lines in your updated parser.py file in your metagoofil-read-only folder.

Thank you for reading this post and enjoy having fun with using Metagoofil as much as I do

Speed Improvement for Metagoofil (Intelligence Gathering)

I made some speed bumps to the source code for metagoofil by adding in some threading code to speed up the downloading process.
The below tests were done on a vmware guest with 4GB of ram with 1 processor (2 cores).
Results might varies on your machine.
For the below test, I ran metagoofil against microsoft.com for 100 pdfs.
Results show that you can get quite a significant speed improvement if you are downloading a lot of documents for analysis with metagoofil.


Download Links
If you adventurous enough to try the patch, you can download the patch or the updated metagoofil.py file from the below links
Patch: http://pastebin.com/J3d7yUkJ
Updated Metagoofil.py File: http://pastebin.com/AfpaUgQv
Let me know if you face any issues.