{"id":19199785,"url":"https://github.com/gwen001/extract-endpoints","last_synced_at":"2026-03-09T08:01:53.931Z","repository":{"id":96950055,"uuid":"563411566","full_name":"gwen001/extract-endpoints","owner":"gwen001","description":"Extract endpoints from source files.","archived":false,"fork":false,"pushed_at":"2023-03-28T15:47:26.000Z","size":195,"stargazers_count":22,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-09T01:37:30.912Z","etag":null,"topics":["bugbounty","endpoints","pentesting","php","security-tools","urls"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/gwen001.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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":["gwen001"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2022-11-08T14:59:56.000Z","updated_at":"2025-03-11T10:44:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"e84f500e-7105-41d6-b690-00fcf29fed1a","html_url":"https://github.com/gwen001/extract-endpoints","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gwen001/extract-endpoints","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwen001%2Fextract-endpoints","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwen001%2Fextract-endpoints/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwen001%2Fextract-endpoints/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwen001%2Fextract-endpoints/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gwen001","download_url":"https://codeload.github.com/gwen001/extract-endpoints/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwen001%2Fextract-endpoints/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30287446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bugbounty","endpoints","pentesting","php","security-tools","urls"],"created_at":"2024-11-09T12:28:57.265Z","updated_at":"2026-03-09T08:01:53.903Z","avatar_url":"https://github.com/gwen001.png","language":"PHP","funding_links":["https://github.com/sponsors/gwen001"],"categories":["PHP"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eextract-endpoints\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eExtract endpoints from source files.\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/php-%3E=5.5-blue\" alt=\"php badge\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-green\" alt=\"MIT license badge\"\u003e\n    \u003ca href=\"https://twitter.com/intent/tweet?text=https%3a%2f%2fgithub.com%2fgwen001%2fextract-endpoints%2f\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/twitter/url?style=social\u0026url=https%3A%2F%2Fgithub.com%2Fgwen001%2Fextract-endpoints\" alt=\"twitter badge\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003c!-- \u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/gwen001/extract-endpoints?style=social\" alt=\"github stars badge\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/watchers/gwen001/extract-endpoints?style=social\" alt=\"github watchers badge\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/forks/gwen001/extract-endpoints?style=social\" alt=\"github forks badge\"\u003e\n\u003c/p\u003e --\u003e\n\n---\n\n## Description\n\nThis PHP tool appplies regexps on files or recursively on directories in order to extract endpoints. This is quite useful to find API urls from JavaScript files. But all types of source file can be parsed (HTML, PHP, Javascript, Java...).\n\n## Install\n\n```\ngit clone https://github.com/gwen001/extract-endpoints\n```\n\n## Usage\n\n```\nUsage: php extract-endpoints.php -f/-d \u003csource file/directory\u003e [OPTIONS]\n\nOptions:\n\t-b\tbeautify javascript files before parsing (requires js-beautify)\n\t--bb\tbeautify and update source file (requires js-beautify)\n\t-c\tsearch for comments instead of urls\n\t-d\tset source directory (required or use -f)\n\t-e\tfile to load (example: js,php,asp) (default: js)\n\t-f\tset source file (required or use -d)\n\t-g\tset regexp source file\n\t--gg\tset regexp\n\t-h\tforce host if none\n\t-i\textensions we don't want to display separated by a comma (example: gif,jpg,png)\n\t-k\tsearch for keywords instead of urls\n\t-l\tfollow location\n\t-n\textensions file we don't want to parse separated by a comma (example: gif,jpg,png)\n\t-r\talso scan subdirectories\n\t-s\tforce https if no scheme\n\t-t\ttest the urls found\n\t-u\tremove duplicates (at your own risk!)\n\t-v\tverbose mode: 0=all, 1=findings, 2=remove extra text\n```\n\n---\n\n\u003cimg src=\"https://raw.githubusercontent.com/gwen001/extract-endpoints/main/preview.png\" /\u003e\n\n---\n\nFeel free to [open an issue](/../../issues/) if you have any problem with the script.  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgwen001%2Fextract-endpoints","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgwen001%2Fextract-endpoints","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgwen001%2Fextract-endpoints/lists"}