{"id":20259756,"url":"https://github.com/andpalmier/gocatchphish","last_synced_at":"2026-02-25T09:31:29.402Z","repository":{"id":57588778,"uuid":"305123215","full_name":"andpalmier/gocatchphish","owner":"andpalmier","description":"Catch phishing sites using certstream API","archived":false,"fork":false,"pushed_at":"2021-12-17T15:54:46.000Z","size":28,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T01:40:18.939Z","etag":null,"topics":["certstream","phishing"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andpalmier.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}},"created_at":"2020-10-18T14:41:25.000Z","updated_at":"2024-05-05T02:24:27.000Z","dependencies_parsed_at":"2022-09-15T17:40:29.875Z","dependency_job_id":null,"html_url":"https://github.com/andpalmier/gocatchphish","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andpalmier/gocatchphish","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andpalmier%2Fgocatchphish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andpalmier%2Fgocatchphish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andpalmier%2Fgocatchphish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andpalmier%2Fgocatchphish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andpalmier","download_url":"https://codeload.github.com/andpalmier/gocatchphish/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andpalmier%2Fgocatchphish/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29816017,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T05:36:42.804Z","status":"ssl_error","status_checked_at":"2026-02-25T05:36:31.934Z","response_time":61,"last_error":"SSL_read: 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":["certstream","phishing"],"created_at":"2024-11-14T11:16:30.849Z","updated_at":"2026-02-25T09:31:29.389Z","avatar_url":"https://github.com/andpalmier.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoCatchPhish\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"gocatchphish.png\" src=\"https://github.com/ashleymcnamara/gophers/blob/master/GOPHER_SAILOR_STRIPE.png\" width=\"350\"/\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/andpalmier/gocatchphish/blob/master/LICENSE\"\u003e\u003cimg alt=\"Software License\" src=\"https://img.shields.io/badge/license-GPL3-brightgreen.svg?style=flat-square\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://goreportcard.com/report/github.com/andpalmier/gocatchphish\"\u003e\u003cimg alt=\"Go Report Card\" src=\"https://goreportcard.com/badge/github.com/andpalmier/gocatchphish?style=flat-square\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://twitter.com/intent/follow?screen_name=andpalmier\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/andpalmier?style=social\u0026logo=twitter\" alt=\"follow on Twitter\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\nThe image above is taken from: [ashleymcnamara/gophers](https://github.com/ashleymcnamara/gophers) and this project is heavily inspired by [x0rz/phishing_catcher](https://github.com/x0rz/phishing_catcher).\n\nThe main purpose of `gocatchphish` is to try to detect possible phishing domains by looking for suspicious keywords in the [Certificate Transparency Log](https://www.certificate-transparency.org/) using the [CertStream API](https://certstream.calidog.io/).\n\nThe resulting domains will be considered more suspicious based on:\n\n- suspicious keywords in the domain (eg. `paypal.sec-login.com`). [Levenshein distance](https://en.wikipedia.org/wiki/Levenshtein_distance) from some keywords is also taken into account (eg. `paypa1.sec-login.com`)\n- suspicious TLDs\n\nIf the sum of these elements result in a *suspiciousness level* beyond a certain threshold (default is 50, but can be specified in config file), the domains will be printed in stdout.\n\n## Usage\n\nBuild the executable with `go build gocphish.go`. Then:\n\n```\n$ gocphish -c config.json\n\n-c: path to config file (json format)\n```\n\n## Config.json\n\n\nAn example of config file is provided in `config.json`; you can create your own config and specify the path with `-c`.\n\nThe config file allows to specify:\n\n- `suspiciusthreshold`: an integer representing the value of the suspiciousness required to return a domain.\n- `toremove`: common strings added in many newly registered domains, such as `cpanel` and `webmail`. The strings in this list are going to be removed when analyzing the domains to avoid duplicate cases.\n- `keywords`: containing a list of pairs of strings and integers, where the string is the suspicious keyword and the integer is the corresponding suspiciousness value.\n- `suspicioustldsval`: value of suspiciousness to add in case the domain is using one of the suspicious TLDs in `suspicioustlds`.\n- `suspicioustlds`: list of the suspicious TLDs, if used, the suspiciousness value of the domain will increase according to the value specified in `suspicioustldsval`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandpalmier%2Fgocatchphish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandpalmier%2Fgocatchphish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandpalmier%2Fgocatchphish/lists"}