METAGOOFIL: SEARCH A DOMAIN YOU OPERATE FOR PUBLIC DOCUMENTS, THEN HAND THE FILES TO EXIFTOOL
A small search for files a search engine already listed on a domain you operate, an optional download you can explain, and an ExifTool read of tags the file actually stored.
TIME: 25 MIN READ · 40 MIN HANDS-ON
PHASES: 5
Ticks last until you refresh. This page does not keep a score.
The job is a short list of public files, then a separate read
A price list goes on a website. The page is prices. The file can still carry an author, a program name, a template name, and a folder path with a username in it. The job here is smaller than a staff chart. You ask which documents a search engine has already listed for a domain you operate, you download only the ones you meant to fetch, and you write the sentence you are willing to repeat. That sentence is about a file. A name inside the file is a string until the ExifTool lesson, and your own notes, say otherwise.
Two projects share the Metagoofil name, and they do not do the same work. The README on laramies/metagoofil, master, is headed Metagoofil 2.2, coded by Christian Martorella. It describes a tool for extracting metadata of public documents, naming pdf, doc, xls, ppt, and the rest, from target websites. It says the tool first queries Google for those file types, then downloads the documents, then extracts metadata with libraries for the different types. It names Hachoir and Pdfminer. It says version 2.2 also extracts email addresses from the content of PDF and Word documents, which is the body of the file, not only the tag block. The same README says the usernames and people names could be useful later for bruteforce password attacks against VPN, FTP, and web apps. This course does not attack logins. A username in a document is a string in a document. The 2.2 changelog says the Google parser, the email regexp, leading spaces in results, and local analysis were fixed. It prints no switches. If your help text offers a local-analysis mode, you are on a tree this page cannot describe flag by flag. Read that help text, and still hand the file to ExifTool for the read you will brief.
The fork this lesson read is opsdisk/metagoofil, master, on 29 November 2026. The introduction says metagoofil searches Google for specific types of files publicly hosted on a website and optionally downloads them. The query it prints, as the example of that search, is site:example.com filetype:pdf. It says the project is a maintained fork of the original and is currently installed by default on Kali, and it links the Kali package. The next paragraph is the one that matches this course. A design decision was made not to do metadata analysis, and to defer to other tools like exiftool. The command printed there runs exiftool -r *.doc, keeps lines matching Author, Creator, Email, Producer, or Template, and sorts the unique lines.
Those sentences sit under a banner, and the banner wins. It says the repository was archived on 28 November 2026 and is no longer maintained. It says that in July and August 2026 Google changed how search results are returned, that the googlesearch library the project uses was archived on 13 February 2026, and that the library's issue tracker documents search results no longer appearing. "Maintained" and "currently installed" are still in the introduction. Nobody went back and changed the tense. You do not brief this fork as a living product because an old paragraph still sounds confident. An empty search, after that change, can be the tool. Write the banner down before you write "this domain publishes no documents."
The LICENSE file on that archived master is the GNU General Public License, version 3, or any later version, with the usual no-warranty paragraph. Running the program for this exercise is ordinary use of that licence. The archive banner does not repeal it. A distro package can be this tree, the 2.2 tree, or a snapshot from somewhere between them. metagoofil -h is how you find out which one you actually have. Try --help as well. If one of them prints the switches, that printout is the one you follow. If neither does, stop and treat the program as unread.
Flags are where a copied cheatsheet starts lying. The opsdisk README has no glossary. The Docker example passes -d github.com -f -n 10 -r 4 -t pdf -w. A later example is python metagoofil.py -d https://github.com -f -t pdf,doc,xls. The only switch the README names in a sentence is -e, which it calls the delay time, and it names that delay in the section about getting past a block. In both examples -d is followed by a site, and -t is followed by pdf or by pdf,doc,xls. That is a pattern in two samples. It is not a specification. Your help text is the specification. If -h uses different letters, or refuses a letter this page mentioned, the help text is right and this page is stale. Do not keep a blog's table "because Metagoofil has always worked that way." It has not always been the same program.
Install, if you are going to run it, from the README's own lanes, and expect rot. The clone lane is a virtualenv, pip install pip setuptools -U, then pip install -r requirements.txt. The Docker lane builds an image tagged metagoofil and mounts a host ./data directory. The README's comment on that mount is that the files land in ./data on the host. An archived Python project with a pinned search library is allowed to fail on install. A failure is a fact about the install. It is not a fact about anybody's website. If the install fails, you still have the manual query below, and you still have ExifTool for a file you already hold. You do not go hunting a random fork because the first clone was honest about being dead.
The useful line is a URL you fetched on purpose, the version of the tool that fetched it, and the tags ExifTool actually printed. A name in an author field is how a file list starts pretending to be a directory of people.