{"id":22296759,"url":"https://github.com/webklex/juck","last_synced_at":"2025-03-25T22:41:05.369Z","repository":{"id":58953362,"uuid":"533090567","full_name":"Webklex/juck","owner":"Webklex","description":"This program attempts to harvest as much information as possible from javascript source maps. Works with both, local files and urls.","archived":false,"fork":false,"pushed_at":"2022-09-10T18:44:38.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T19:55:48.187Z","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/Webklex.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-05T23:25:24.000Z","updated_at":"2022-09-10T02:45:42.000Z","dependencies_parsed_at":"2022-09-09T20:31:19.548Z","dependency_job_id":null,"html_url":"https://github.com/Webklex/juck","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Webklex%2Fjuck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Webklex%2Fjuck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Webklex%2Fjuck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Webklex%2Fjuck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Webklex","download_url":"https://codeload.github.com/Webklex/juck/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245556961,"owners_count":20634888,"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":[],"created_at":"2024-12-03T17:47:30.027Z","updated_at":"2025-03-25T22:41:05.347Z","avatar_url":"https://github.com/Webklex.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JS Unpacker\nThis program attempts to harvest as much information as possible from javascript and css source maps.\nWorks with both, local files and urls. See [output](#output) for additional detail. \n\n```bash\ngo install github.com/webklex/juck\n```\n\n\n## Usage\n```bash\nUsage of juck:\n  --file      string    Target sourcemap file path\n  --file-list string    File path of a file containing a list of target source map file paths\n  --url       string    Target sourcemap url\n  --url-list  string    File path of a file containing a list of target source map urls\n  --force               Force to download and overwrite local sourcemap\n  --delay     duration  Delay between two requests. Only applies if --url-list is used\n  --output    string    Directory to output from sourcemap to (default \"./output\")\n  --log       integer   Set the log mode (0 = all, 1 = success, 2 = warning, 3 = statistic, 4 = error) (default \"0\")\n  --combined            Combine all source files into one\n  --disable-ssl         Don't verify the site's SSL certificate\n  --no-color            Disable color output\n  --version             Show version and exit\n  --dangerously-write-paths  Write full paths. WARNING: Be careful here, you are pulling directories from an untrusted source\n```\n\nAnalyze a single local file:\n```bash\njuck --file ./source.js.map\n```\n\nAnalyze a single url:\n```bash\njuck --url https://example.com/assets/some_file.js\n```\n\u003e Note: you don't have to apply a .map - it gets added automatically if it is missing.\n\nAnalyze a file containing many urls and delay each request by 3 seconds:\n```bash\ncat ./url_list.txt\nhttps://example.com/assets/js/some_file.js\nhttps://example.com/some_other_file.js\n...\n\n```bash\njuck --url-list ./url_list.txt --delay 3s\n```\n\nAnalyze piped stdin:\n```bash\necho \"https://example.com/assets/js/some_file.js\" | juck\n```\n..or:\n```bash\necho \"./source.js.map\" | juck\n```\n\nExample pipeline to search for old forgotten maps:\n```bash\ngau example.com --subs | juck\n```\n\n\n## Output\nBy default, the output is stored in a folder called `output` placed within your current working directory.\nThe output folder contains the following folders and files after the program has run:\n- `combined` - all combined files (only if `--combined` is active)\n- `sourcemaps` - all downloaded source maps\n- `sources` - all recovered sources\n- `node_modules.txt` - a list of all directly discovered node modules\n- `dependencies.txt` - a list of all additional dependencies based on the latest version registered on [www.npmjs.com](https://www.npmjs.com/)\n\n\n## Build\n```bash\ngit clone https://github.com/webklex/juck\ncd juck\ngo build\n```\n..or:\n```bash\ngit clone https://github.com/webklex/juck\ncd juck\n./build.sh\n```\n\n\n## Security\nIf you discover any security related issues, please email github@webklex.com instead of using the issue tracker.\n\n\n## Credits\n- [Webklex][link-author]\n- [rarecoil/unwebpack-sourcemap](https://github.com/rarecoil/unwebpack-sourcemap)\n- [All Contributors][link-contributors]\n\n\n## License\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n\n[link-author]: https://github.com/webklex\n[link-contributors]: https://github.com/webklex/juck/graphs/contributors","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebklex%2Fjuck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebklex%2Fjuck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebklex%2Fjuck/lists"}