{"id":37123076,"url":"https://github.com/mmpx12/xenv","last_synced_at":"2026-01-14T14:13:12.381Z","repository":{"id":64298014,"uuid":"565948943","full_name":"mmpx12/xenv","owner":"mmpx12","description":"Fast scanner for exposed env files","archived":false,"fork":false,"pushed_at":"2022-11-14T20:15:56.000Z","size":105,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T06:32:54.002Z","etag":null,"topics":["env","exposed","golang","leak","mass-scanner","pen","pentest","pentest-tool","recon","scanner","termux","termux-tool"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mmpx12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-14T16:57:55.000Z","updated_at":"2024-03-28T02:17:01.000Z","dependencies_parsed_at":"2023-01-15T09:01:40.856Z","dependency_job_id":null,"html_url":"https://github.com/mmpx12/xenv","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mmpx12/xenv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmpx12%2Fxenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmpx12%2Fxenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmpx12%2Fxenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmpx12%2Fxenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmpx12","download_url":"https://codeload.github.com/mmpx12/xenv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmpx12%2Fxenv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28422411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["env","exposed","golang","leak","mass-scanner","pen","pentest","pentest-tool","recon","scanner","termux","termux-tool"],"created_at":"2026-01-14T14:13:11.667Z","updated_at":"2026-01-14T14:13:12.368Z","avatar_url":"https://github.com/mmpx12.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# X-ENV\n\n![img](.github/screenshot/output.png)\n\nScan for exposed env file.\n\n## Usage:\n\n```\n-h, --help                   Show this help\n-t, --thread=NBR             Number of threads (default 50)\n-o, --output=FILE            Output file (default found_env.txt)\n-i, --input=FILE             Input file\n-e, --env-path=ENV           Env Path (comma separated)\n-k, --insecure               Ignore certificate errors\n-u, --user-agent=USR         Set user agent\n-p, --proxy=PROXY            Use proxy (proto://ip:port)\n-V, --version                Print version and exit\n```\n\n**[!] note:**  `-e|--env-path` souldn't have space and must start with `/`.\n\nBy default it only scan for \"/.env\", but most common path are:\n\n- /.env\n- /api/.env\n- /core/.env\n- /admin/.env\n- /local/.env\n- /docker/.env\n- etc...\n\n\n## Examples:\n\n```sh\n$ xenv -i top-alexa.txt\n$ xenv -i top-alexa.txt -k -e \"/.env,/api/.env,/core/.env\"\n$ xenv -p socks5://127.0.0.1:9050 -o good.txt -i top-alexa.txt -t 60\n```\n\n**Example of input file:**\n\n```\ngoogle.com\ngithub.com\ndomain.com/code\n```\n\n**note:** domain in list shouldn't have protocol in them:\n\n \n```go\nreq, err := http.NewRequest(\"GET\", \"https://\"+url+\"/.env/\", nil)\n```\n\n\n#### WARNING\n\nDo not use too much threads or you will DOS yourself.\n\n\n## Install:\n\nWith one liner if **$GOROOT/bin/** is in **$PATH**:\n\n```sh\ngo install github.com/mmpx12/xenv@latest\n```\n\nor from source with:\n\n```sh\ngit clone https://github.com/mmpx12/xenv.git\ncd xenv\nmake\nsudo make install\n# or \nsudo make all\n```\n\nfor **termux** you can do:\n\n```sh\ngit clone https://github.com/mmpx12/xenv.git\ncd xenv\nmake\nmake termux-install\n# or\nmake termux-all\n```\n\n\nThere is also prebuild binaries [here](https://github.com/mmpx12/xenv/releases/latest).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmpx12%2Fxenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmpx12%2Fxenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmpx12%2Fxenv/lists"}