{"id":24200207,"url":"https://github.com/vulnpire/ssl-hunter","last_synced_at":"2025-03-03T09:25:47.124Z","repository":{"id":223518290,"uuid":"717646574","full_name":"Vulnpire/SSL-Hunter","owner":"Vulnpire","description":"Python script for storing and querying SSL scan results and cloud IP ranges in MongoDB. Utilizes Flask for flexible API endpoints.","archived":false,"fork":false,"pushed_at":"2024-03-12T18:53:43.000Z","size":33,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T20:43:31.159Z","etag":null,"topics":["bugbounty","cloud","ethical-hacking","penetration-testing","ssl-certificates"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Vulnpire.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}},"created_at":"2023-11-12T05:10:18.000Z","updated_at":"2024-11-07T08:29:06.000Z","dependencies_parsed_at":"2024-03-12T19:59:04.558Z","dependency_job_id":"58debbe0-e33b-4124-af43-e7729f24856b","html_url":"https://github.com/Vulnpire/SSL-Hunter","commit_stats":null,"previous_names":["byt3scr1b3/ssl-hunter","vulnpire/ssl-hunter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vulnpire%2FSSL-Hunter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vulnpire%2FSSL-Hunter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vulnpire%2FSSL-Hunter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vulnpire%2FSSL-Hunter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vulnpire","download_url":"https://codeload.github.com/Vulnpire/SSL-Hunter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241638916,"owners_count":19995286,"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":["bugbounty","cloud","ethical-hacking","penetration-testing","ssl-certificates"],"created_at":"2025-01-13T20:41:36.026Z","updated_at":"2025-03-03T09:25:47.100Z","avatar_url":"https://github.com/Vulnpire.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SSL Hunter\n\nSSL Hunter is a powerful Python script designed for Bug Bounty Hunters and cybersecurity professionals. It facilitates efficient network reconnaissance by combining Masscan for rapid port scanning and SSL certificate retrieval. With SSL Hunter, users can swiftly identify potential vulnerabilities, extract critical SSL certificate details, and bolster their security defenses with actionable insights.\n\n## Key Features\n\n- Rapid Port Scanning: Leverages Masscan for high-speed port scanning, enabling swift identification of accessible hosts.\n- SSL Certificate Extraction: Retrieves SSL certificates from discovered hosts, extracting vital domain information for analysis.\n- Asynchronous Processing: Implements asynchronous processing for enhanced performance, ensuring efficient handling of large-scale scans.\n- Customizable Scans: Offers flexibility with customizable port selection, allowing users to tailor scans based on specific requirements.\n\n\n## Usage:\n\n- Clone the Repository:\n`\ngit clone https://github.com/Vulnpire/ssl-hunter.git\n`\n\n- Navigate to the Project Directory:\n\n`\ncd ./ssl-hunter\n`\n\n- IPs to scan:\n\n`\necho $IPs \u003e ips.txt\n`\n\n- Execute the Script:\n\n`\n./ssl-hunter\n`\n## Requirements:\n\n```\nmasscan\nFlask\npymongo\nbson\nMongoDB\ngunicorn\naiohttp\njson\n```\n\n- Example:\n\n```\nEnter custom ports to scan (comma-separated): 22,80,443,502,1337,5000,7000,8000,8080,9001\nStarting masscan 1.3.2 (http://bit.ly/14GZzcT) at 2024-02-20 15:48:32 GMT\nInitiating SYN Stealth Scan\nScanning 136896 hosts [1 port/host]\n\n--SNIP--\nError for: http://3.1.69.179:22 , \nTitle: Eyeglasses | Glasses Frames | Optical Shop Hong Kong - Swisscoat , http://3.1.237.181:80\nError for: http://3.1.13.116:80 , \nError for: http://3.1.151.204:80 ,\nTitle: Welcome to your Strapi app , http://3.0.86.14:1337 ,\nError for: http://3.1.39.226:7000 , \nTitle: 400 The plain HTTP request was sent to HTTPS port , http://3.1.228.168:443\nTitle: Apache2 Ubuntu Default Page: It works , http://3.0.221.21:80\nTitle:  , http://3.0.132.64:80\nTitle:  , http://3.0.247.35:80\nError for: http://3.0.254.61:80 , [Errno 104] Connection reset by peer\nTitle:  , http://3.0.6.92:80\nTitle: suntec-office-backend , http://3.1.94.13:80\nTitle: TinyCP , http://3.1.118.253:8080\n--SNIP--\n****************Results inserted successfully**************\n{\n  \"message\": \"Inserted\"\n}\n```\n\n## Customization\n\nSSL Hunter offers extensive customization options, allowing users to tailor scans according to their specific preferences. Modify parameters such as SSL port, custom ports, and scanning rates to optimize the scanning process for your unique requirements.\n\n# Database\n\nPython script for interacting with a database to store SSL scan results obtained by SSL Hunter. It connects to a database server, creates tables for storing scan data, and inserts scan results into the database.\n\n## Key Features\n\n- Database Integration: Establishes connections to MongoDB databases, ensuring reliable storage and retrieval of scan results.\n- Automated Setup: Streamlines the setup of MongoDB databases and table creation, eliminating manual configuration complexities.\n- Efficient Data Insertion: Simplifies the insertion of scan results into databases, promoting efficient data management practices.\n- Versatile Compatibility: Designed to work seamlessly with MongoDB databases, with potential for compatibility with other systems.\n\n## Navigation\n\n    /insert: Endpoint for inserting scan results into the database.\n    /bytitle: Endpoint for querying scan results by title.\n        Parameters:\n            title: Title to search for.\n            from: Starting index for pagination.\n            to: Ending index for pagination.\n    /bydomain: Endpoint for querying scan results by domain.\n        Parameters:\n            domain: Domain to search for.\n    /byip: Endpoint for querying scan results by IP address.\n        Parameters:\n            ip: IP address to search for.\n    /byport: Endpoint for querying scan results by port.\n        Parameters:\n            port: Port number to search for.\n            from: Starting index for pagination.\n            to: Ending index for pagination.\n    /byhtml: Endpoint for querying scan results by HTML content.\n        Parameters:\n            html: HTML content to search for.\n            from: Starting index for pagination.\n            to: Ending index for pagination.\n    /byhresponse: Endpoint for querying scan results by response headers content.\n        Parameters:\n            hresponse: Response header content to search for.\n            from: Starting index for pagination.\n            to: Ending index for pagination.\n    /byhkeyresponse: Endpoint for querying scan results by response header keys.\n        Parameters:\n            hkeyresponse: Response header key to search for.\n            from: Starting index for pagination.\n            to: Ending index for pagination.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvulnpire%2Fssl-hunter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvulnpire%2Fssl-hunter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvulnpire%2Fssl-hunter/lists"}