{"id":13432548,"url":"https://github.com/lc/subjs","last_synced_at":"2026-01-29T00:09:04.513Z","repository":{"id":45607425,"uuid":"169142498","full_name":"lc/subjs","owner":"lc","description":"Fetches javascript file from a list of URLS or subdomains.","archived":false,"fork":false,"pushed_at":"2025-07-22T01:28:28.000Z","size":33,"stargazers_count":825,"open_issues_count":7,"forks_count":101,"subscribers_count":12,"default_branch":"master","last_synced_at":"2026-01-14T17:10:57.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/lc.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-02-04T20:16:20.000Z","updated_at":"2026-01-11T20:12:36.000Z","dependencies_parsed_at":"2024-01-15T03:59:38.117Z","dependency_job_id":"07b1b80b-d6d0-4c38-887a-ee4b03428e1e","html_url":"https://github.com/lc/subjs","commit_stats":null,"previous_names":["c0rb3n/subjs"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/lc/subjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lc%2Fsubjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lc%2Fsubjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lc%2Fsubjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lc%2Fsubjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lc","download_url":"https://codeload.github.com/lc/subjs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lc%2Fsubjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28857044,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"ssl_error","status_checked_at":"2026-01-28T22:56:00.861Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-07-31T02:01:13.206Z","updated_at":"2026-01-29T00:09:04.497Z","avatar_url":"https://github.com/lc.png","language":"Go","funding_links":[],"categories":["Go","Content Discovery","Weapons"],"sub_categories":["Inspecting JS Files","Tools"],"readme":"# subjs\r\n[![License](https://img.shields.io/badge/license-MIT-_red.svg)](https://opensource.org/licenses/MIT)\r\n[![Go ReportCard](https://goreportcard.com/badge/github.com/lc/gau)](https://goreportcard.com/report/github.com/lc/subjs)\r\n\r\nsubjs fetches javascript files from a list of URLS or subdomains. Analyzing javascript files can help you find undocumented endpoints, secrets, and more.\r\n\r\nIt's recommended to pair this with [gau](https://github.com/lc/gau) and then [https://github.com/GerbenJavado/LinkFinder](https://github.com/GerbenJavado/LinkFinder)\r\n\r\n# Resources\r\n- [Usage](#usage)\r\n- [Installation](#installation)\r\n\r\n## Usage:\r\nExamples:\r\n```bash\r\n$ cat urls.txt | subjs \r\n$ subjs -i urls.txt\r\n$ cat hosts.txt | gau | subjs\r\n```\r\n\r\nTo display the help for the tool use the `-h` flag:\r\n\r\n```bash\r\n$ subjs -h\r\n```\r\n\r\n| Flag | Description | Example |\r\n|------|-------------|---------|\r\n| `-c` | Number of concurrent workers | `subjs -c 40` |\r\n| `-i` | Input file containing URLS | `subjs -i urls.txt` |\r\n| `-t` | Timeout (in seconds) for http client (default 15) | `subjs -t 20` |\r\n| `-ua` | User-Agent to send in requests | `subjs -ua \"Chrome...\"` |\r\n| `-version` | Show version number | `subjs -version\"` |\r\n\r\n\r\n## Installation\r\n### From Source:\r\n\r\n```\r\n$ GO111MODULE=on go get -u -v github.com/lc/subjs@latest\r\n```\r\n\r\n### From Binary\r\nYou can download the pre-built [binaries](https://github.com/lc/subjs/releases/) from the releases page and then move them into your $PATH.\r\n\r\n```\r\n$ tar xvf subjs_1.0.0_linux_amd64.tar.gz\r\n$ mv subjs /usr/bin/subjs\r\n```\r\n\r\n## Useful?\r\n\r\n\u003ca href=\"http://buymeacoff.ee/cdl\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\" \u003e\u003c/a\u003e\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flc%2Fsubjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flc%2Fsubjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flc%2Fsubjs/lists"}