{"id":13841814,"url":"https://github.com/trickest/mkpath","last_synced_at":"2025-12-24T23:29:24.335Z","repository":{"id":49763734,"uuid":"430782619","full_name":"trickest/mkpath","owner":"trickest","description":"Make URL path combinations using a wordlist","archived":false,"fork":false,"pushed_at":"2023-09-25T15:19:57.000Z","size":3223,"stargazers_count":170,"open_issues_count":0,"forks_count":27,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-05T17:29:09.596Z","etag":null,"topics":["bugbountytips","directory-bruteforce","enumeration","fuzzing","penetration-testing","penetration-testing-tools","pentesting","pentesting-tools","recon","reconnaissance","security","webappsecurity"],"latest_commit_sha":null,"homepage":"https://trickest.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trickest.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2021-11-22T16:26:21.000Z","updated_at":"2024-07-14T19:53:51.000Z","dependencies_parsed_at":"2024-06-20T17:31:34.822Z","dependency_job_id":"24f165dd-9b20-4c69-933f-4d728c2fac38","html_url":"https://github.com/trickest/mkpath","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trickest%2Fmkpath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trickest%2Fmkpath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trickest%2Fmkpath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trickest%2Fmkpath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trickest","download_url":"https://codeload.github.com/trickest/mkpath/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225729696,"owners_count":17515155,"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":["bugbountytips","directory-bruteforce","enumeration","fuzzing","penetration-testing","penetration-testing-tools","pentesting","pentesting-tools","recon","reconnaissance","security","webappsecurity"],"created_at":"2024-08-04T17:01:21.683Z","updated_at":"2025-12-24T23:29:24.309Z","avatar_url":"https://github.com/trickest.png","language":"Go","readme":"\u003ch1 align=\"center\"\u003emkpath \u003ca href=\"https://twitter.com/intent/tweet?text=mkpath%20-%20Make%20URL%20path%20combinations%20using%20a%20wordlist%20%40trick3st%0Ahttps%3A%2F%2Fgithub.com%2Ftrickest%2Fmkpath\u0026hashtags=bugbounty,bugbountytips,infosec\"\u003e\u003cimg src=\"https://img.shields.io/badge/Tweet--lightgrey?logo=twitter\u0026style=social\" alt=\"Tweet\" height=\"20\"/\u003e\u003c/a\u003e\u003c/h1\u003e\n\u003ch3 align=\"center\"\u003eMake URL path combinations using a wordlist\u003c/h3\u003e\n\n![mkpath](mkpath.png \"mkpath\")\n\nRead a wordlist file and generate path combinations for given domain or list of domains. Input from wordlist file is lowercased and unique words are processed. Additionally, wordlist can be filtered using regex. \n\nWhen you use mkpath's `-l` parameter, it will generate all path combinations up to the specified level, including all lower levels, using words from the wordlist. For instance, with `-l 2`, it will generate `len(permutation_list)^2 + len(permutation_list)` results, which is:\n- 30 combinations for a 5-word wordlist.\n- 10100 combinations for a 100-word wordlist. \n- 250500 combinations for a 500-word wordlist.\n\n\n# Installation\n## Binary\nBinaries are available in the [latest release](https://github.com/trickest/mkpath/releases/latest).\n\n## Docker\n```\ndocker run quay.io/trickest/mkpath\n```\n\n## From source\n```\ngo install github.com/trickest/mkpath@latest\n```\n\n# Usage\n```\n  -d string\n    \tInput domain\n  -df string\n    \tInput domain file, one domain per line\n  -l int\n    \tURL path depth to generate (default 1) (default 1)\n  -lower\n    \tConvert wordlist file content to lowercase (default false)\n  -o string\n    \tOutput file (optional)\n  -only-dirs\n    \tGenerate directories only, files are filtered out (default false)\n  -only-files\n    \tGenerate files only, file names are appended to given domains (default false)\n  -r string\n    \tRegex to filter words from wordlist file\n  -t int\n    \tNumber of threads for every path depth (default 100)\n  -w string\n    \tWordlist file\n```\n\n### Example\n##### wordlist.txt\n```\ndev\nprod/\nadmin.py\napp/login.html\n```\n\n```shell script\n$ mkpath -d example.com -l 2 -w wordlist.txt\nexample.com/dev\nexample.com/prod\nexample.com/dev/dev\nexample.com/prod/dev\nexample.com/dev/prod\nexample.com/prod/prod\nexample.com/dev/admin.py\nexample.com/dev/app/login.html\nexample.com/prod/admin.py\nexample.com/prod/app/login.html\nexample.com/dev/dev/admin.py\nexample.com/dev/dev/app/login.html\nexample.com/prod/dev/admin.py\nexample.com/prod/dev/app/login.html\nexample.com/dev/prod/admin.py\nexample.com/dev/prod/app/login.html\nexample.com/prod/prod/admin.py\nexample.com/prod/prod/app/login.html\n\n```\n\n# Report Bugs / Feedback\nWe look forward to any feedback you want to share with us or if you're stuck with a problem you can contact us at [support@trickest.com](mailto:support@trickest.com). You can also create an [Issue](https://github.com/trickest/mkpath/issues/new) or pull request on the Github repository.\n\n# Where does this fit in your methodology?\nMkpath is an integral part of many workflows in the Trickest store. Sign up on [trickest.com](https://trickest.com) to get access to these workflows or build your own from scratch!\n\n[\u003cimg src=\"./banner.png\" /\u003e](https://trickest.io/auth/register)\n","funding_links":[],"categories":["[](#table-of-contents) Table of contents","Go","扫描字典"],"sub_categories":["[](#wordlists-generators)Wordlists generators"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrickest%2Fmkpath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrickest%2Fmkpath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrickest%2Fmkpath/lists"}