{"id":19273181,"url":"https://github.com/exfil0/collectjuices","last_synced_at":"2026-06-23T10:31:14.290Z","repository":{"id":254584969,"uuid":"846978016","full_name":"exfil0/collectjuices","owner":"exfil0","description":"CollectJuices is a powerful tool designed to automate the process of fetching, analyzing, and recursively processing JavaScript files to discover URLs and secrets. Leveraging the capabilities of the JSluice tool and advanced Python libraries, CollectJuices is an essential tool for cybersecurity professionals.","archived":false,"fork":false,"pushed_at":"2024-08-24T14:14:39.000Z","size":6,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-23T20:41:58.805Z","etag":null,"topics":["attack","attack-surface","cybersecurity","fuzzing","information-gathering","intelligence","python","secrets","url"],"latest_commit_sha":null,"homepage":"https://github.com/exfil0/collectjuices","language":"Python","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/exfil0.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-24T13:55:51.000Z","updated_at":"2025-02-03T23:59:05.000Z","dependencies_parsed_at":"2024-08-24T15:14:26.565Z","dependency_job_id":null,"html_url":"https://github.com/exfil0/collectjuices","commit_stats":null,"previous_names":["exfil0/collectjuices"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/exfil0/collectjuices","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exfil0%2Fcollectjuices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exfil0%2Fcollectjuices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exfil0%2Fcollectjuices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exfil0%2Fcollectjuices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exfil0","download_url":"https://codeload.github.com/exfil0/collectjuices/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exfil0%2Fcollectjuices/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34686725,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["attack","attack-surface","cybersecurity","fuzzing","information-gathering","intelligence","python","secrets","url"],"created_at":"2024-11-09T20:41:20.009Z","updated_at":"2026-06-23T10:31:14.267Z","avatar_url":"https://github.com/exfil0.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# CollectJuices - The Ultimate URL and Secrets Extraction Tool\n\n## Introduction\n\n**CollectJuices** is a powerful tool designed to automate the process of fetching, analyzing, and recursively processing JavaScript files to discover URLs and secrets. Leveraging the capabilities of the JSluice tool and advanced Python libraries, CollectJuices is an essential tool for cybersecurity professionals.\n\n## Prerequisites\n\nBefore using CollectJuices, ensure you have the following:\n\n1. **Operating System**: Linux, macOS, or Windows (with minor adjustments).\n2. **Python 3.x**: Required for running the script.\n3. **JSluice Tool**: Required for analyzing JavaScript files.\n\n## Installation\n\n### Installing Python 3.x\n\n1. **Linux**:\n   ```bash\n   sudo apt-get update\n   sudo apt-get install python3 python3-pip\n   ```\n2. **macOS**:\n   ```bash\n   brew install python3\n   ```\n3. **Windows**: Download and install Python from the [official website](https://www.python.org/downloads/).\n\n### Installing Python Packages\n\nInstall the necessary Python packages:\n```bash\npip3 install aiohttp argparse\n```\n\n### Installing JSluice\n\n1. Clone the JSluice repository:\n   ```bash\n   git clone https://github.com/exfil0/collectjuices.git\n   ```\n2. Navigate to the JSluice directory and follow the installation instructions provided in the repository.\n\n## Usage Instructions\n\n### Basic Usage\n\n1. **Run the Script**:\n   ```bash\n   echo \"https://example.com/script.js\" | python3 CollectJuices.py\n   ```\n   This command processes the specified URL, runs CollectJuices, and outputs the results.\n\n2. **Modes of Operation**:\n   - To analyze URLs only:\n     ```bash\n     echo \"https://example.com/script.js\" | python3 CollectJuices.py -m endpoints\n     ```\n   - To analyze secrets only:\n     ```bash\n     echo \"https://example.com/script.js\" | python3 CollectJuices.py -m secrets\n     ```\n   - To analyze both URLs and secrets (default):\n     ```bash\n     echo \"https://example.com/script.js\" | python3 CollectJuices.py -m both\n     ```\n\n3. **Verbose Mode**:\n   Enable verbose output for detailed processing information:\n   ```bash\n   echo \"https://example.com/script.js\" | python3 CollectJuices.py -v\n   ```\n\n### Processing Multiple URLs\n\n1. **Using a File**:\n   You can process multiple URLs by providing a file containing the URLs:\n\n   ```bash\n   cat urls.txt | python3 CollectJuices.py\n   ```\n\n2. **Manual Input**:\n   You can manually input URLs by echoing them into the script:\n\n   ```bash\n   echo -e \"https://example.com/script1.js https://example.com/script2.js\" | python3 CollectJuices.py\n   ```\n\n## Output Interpretation\n\n1. **URLs**:\n   - The script outputs a sorted list of discovered URLs when run in `endpoints` or `both` mode.\n\n2. **Secrets**:\n   - The script outputs discovered secrets when run in `secrets` or `both` mode. Secrets are sorted by severity and uniqueness.\n\n## Legal and Ethical Considerations\n\nUsing this script responsibly is critical. Unauthorized access or interception of data may violate legal regulations. Always obtain proper authorization before conducting any form of scanning or data analysis on external systems.\n\n## Conclusion\n\nThis manual provides a comprehensive guide for installing, configuring, and using the CollectJuices script. By following these instructions, you can efficiently analyze JavaScript files for URLs and secrets, making this tool a valuable asset in your cybersecurity toolkit.\n\nFor further assistance or advanced configurations, refer to the documentation of each tool or seek help from the cybersecurity community.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexfil0%2Fcollectjuices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexfil0%2Fcollectjuices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexfil0%2Fcollectjuices/lists"}