{"id":13845894,"url":"https://github.com/m8sec/pymeta","last_synced_at":"2025-05-16T13:08:22.273Z","repository":{"id":31449226,"uuid":"127919035","full_name":"m8sec/pymeta","owner":"m8sec","description":"Utility to download and extract document metadata from an organization. This technique can be used to identify: domains, usernames, software/version numbers and naming conventions.","archived":false,"fork":false,"pushed_at":"2024-06-19T14:27:59.000Z","size":165,"stargazers_count":488,"open_issues_count":2,"forks_count":86,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-05-16T13:08:19.875Z","etag":null,"topics":["extract-metadata","information-disclosure","metadata","metadata-extraction","pentest","pentest-tool","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m8sec.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2018-04-03T14:14:58.000Z","updated_at":"2025-05-08T12:01:19.000Z","dependencies_parsed_at":"2024-01-14T10:20:39.633Z","dependency_job_id":"89f80dc5-ae2c-44a1-b4e6-1bdcf5721e59","html_url":"https://github.com/m8sec/pymeta","commit_stats":{"total_commits":40,"total_committers":6,"mean_commits":6.666666666666667,"dds":0.6,"last_synced_commit":"723fea650a59f8a6ce3042532bad9cd84537a109"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m8sec%2Fpymeta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m8sec%2Fpymeta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m8sec%2Fpymeta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m8sec%2Fpymeta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m8sec","download_url":"https://codeload.github.com/m8sec/pymeta/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254535828,"owners_count":22087399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["extract-metadata","information-disclosure","metadata","metadata-extraction","pentest","pentest-tool","python3"],"created_at":"2024-08-04T17:03:39.883Z","updated_at":"2025-05-16T13:08:22.252Z","avatar_url":"https://github.com/m8sec.png","language":"Python","readme":"# PyMeta\n\u003cp align=\"left\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/License-GPL%203.0-green.svg\"/\u003e\u0026nbsp;\n  \u003ca href=\"https://www.twitter.com/m8sec\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Twitter-@m8sec-gray?logo=twitter\"/\u003e\n    \u003c/a\u003e\u0026nbsp;\n    \u003cimg src=\"https://img.shields.io/badge/python-3.6%20|%203.7%20|%203.8%20|%203.9%20-blue.svg\"/\u003e\u0026nbsp;\n \u003c/p\u003e\n\nPyMeta is a Python3 rewrite of the tool [PowerMeta](https://github.com/dafthack/PowerMeta), created by [dafthack](https://twitter.com/dafthack) in PowerShell. It uses specially crafted search queries to identify and download the following file types (**pdf, xls, xlsx, csv, doc, docx, ppt, pptx**) from a given domain using Google and Bing scraping.\n\nOnce downloaded, metadata is extracted from these files using Phil Harvey's [exiftool](https://sno.phy.queensu.ca/~phil/exiftool/) and added to a ```.csv``` report.  Alternatively, Pymeta can be pointed at a directory to extract metadata from files manually downloaded using the ```-dir``` command line argument. See the [Usage](#Usage), or [All Options](#All-Options) section for more information.\n\n#### Why?\nMetadata is a common place for penetration testers and red teamers to find: domains, user accounts, naming conventions, software/version numbers, and more!\n\n\n# Getting Started\n### Prerequisites\n[Exiftool](https://sno.phy.queensu.ca/~phil/exiftool/) is required and can be installed with:\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;**Ubuntu/Kali** - ```apt-get install exiftool -y```\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;**Mac OS** - ```brew install exiftool```\n\n### Install:\nInstall the last stable release from PyPi:\n```commandline\npip3 install pymetasec\n```\n\nOr, install the most recent code from GitHub:\n```\ngit clone https://github.com/m8sec/pymeta\ncd pymeta\npython3 setup.py install\n```\n\n## Usage\n* Search Google and Bing for files within example.com and extract metadata to a csv report:\u003cbr\u003e\n```pymeta -d example.com```\n\n* Extract metadata from files within the given directory and create csv report:\u003cbr\u003e\n```pymeta -dir Downloads/```\n\n\n## All Options\n```\noptions:\n  -h, --help            show this help message and exit\n  -T MAX_THREADS        Max threads for file download (Default=5)\n  -t TIMEOUT            Max timeout per search (Default=8)\n  -j JITTER             Jitter between requests (Default=1)\n\nSearch Options:\n  -s ENGINE, --search ENGINE    Search Engine (Default='google,bing')\n  --file-type FILE_TYPE         File types to search (default=pdf,xls,xlsx,csv,doc,docx,ppt,pptx)\n  -m MAX_RESULTS                Max results per type search\n\nProxy Options:\n  --proxy PROXY         Proxy requests (IP:Port)\n  --proxy-file PROXY    Load proxies from file for rotation\n\nOutput Options:\n  -o DWNLD_DIR          Path to create downloads directory (Default: ./)\n  -f REPORT_FILE        Custom report name (\"pymeta_report.csv\")\n\nTarget Options:\n  -d DOMAIN             Target domain\n  -dir FILE_DIR         Pre-existing directory of file\n```\n    \n## Credit\n- Beau Bullock [(@dafthack)](https://twitter.com/dafthack) - [https://github.com/dafthack/PowerMeta](https://github.com/dafthack/PowerMeta)\n- Phil Harvey - [https://exiftool.org/](https://exiftool.org/)\n","funding_links":[],"categories":["[](#table-of-contents) Table of contents","Python"],"sub_categories":["[](#exif-analyze-and-editing)Exif Analyze and editing"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm8sec%2Fpymeta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm8sec%2Fpymeta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm8sec%2Fpymeta/lists"}