{"id":13454356,"url":"https://github.com/guelfoweb/knock","last_synced_at":"2025-05-12T13:28:01.323Z","repository":{"id":14031253,"uuid":"16733466","full_name":"guelfoweb/knock","owner":"guelfoweb","description":"Knock Subdomain Scan","archived":false,"fork":false,"pushed_at":"2024-11-17T21:48:02.000Z","size":519,"stargazers_count":3971,"open_issues_count":65,"forks_count":868,"subscribers_count":134,"default_branch":"master","last_synced_at":"2025-04-23T17:06:24.363Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guelfoweb.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}},"created_at":"2014-02-11T14:36:13.000Z","updated_at":"2025-04-22T08:12:01.000Z","dependencies_parsed_at":"2024-01-13T19:17:23.041Z","dependency_job_id":"2509926e-6dfe-467f-9d27-db5b3e4b2dcb","html_url":"https://github.com/guelfoweb/knock","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guelfoweb%2Fknock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guelfoweb%2Fknock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guelfoweb%2Fknock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guelfoweb%2Fknock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guelfoweb","download_url":"https://codeload.github.com/guelfoweb/knock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253747256,"owners_count":21957728,"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-07-31T08:00:53.346Z","updated_at":"2025-05-12T13:28:01.302Z","avatar_url":"https://github.com/guelfoweb.png","language":"Python","funding_links":[],"categories":["Tools","Subdomain-enum","Python","Recon","Weapons","\u003ca id=\"170048b7d8668c50681c0ab1e92c679a\"\u003e\u003c/a\u003e工具","\u003ca id=\"609214b7c4d2f9bb574e2099313533a2\"\u003e\u003c/a\u003ewordlist","Web","ابزارهای امنیتی","BUG BOUNTY / SECURITY RESEARCH","Programming/Comp Sci/SE Things"],"sub_categories":["DNS","Subdomain Enumeration","Tools","\u003ca id=\"e945721056c78a53003e01c3d2f3b8fe\"\u003e\u003c/a\u003e子域名枚举\u0026\u0026爆破","\u003ca id=\"af1d71122d601229dc4aa9d08f4e3e15\"\u003e\u003c/a\u003e未分类-wordlist","Web Subdomains","کار با زمان و تقویم","Reconnaissance \u0026 Enumeration","Subdomain/DNS Stuff"],"readme":"# Knock Subdomain Scan v7\n\n:heavy_check_mark: Fast :heavy_check_mark: Easy :heavy_check_mark: Modular\n\n**Knockpy** is a portable and modular `python3` tool designed to quickly enumerate subdomains on a target domain through *passive reconnaissance* and *dictionary scan*.\n\n![knockpy7](https://github.com/guelfoweb/knock/assets/41558/b168f105-720f-4f21-aba1-5be5c0326957)\n\n## Install via pip\n\n```\npip install knock-subdomains\n```\n\n## Install via git\n\n```bash\ngit clone https://github.com/guelfoweb/knock.git\ncd knock\npip install .\n```\n\n## Usage\n\n```\nusage: KNOCKPY [-h] [-d DOMAIN] [-f FILE] [-v] [--dns DNS] [--useragent USERAGENT]\n               [--timeout TIMEOUT] [--threads THREADS] [--recon] [--bruteforce] \n               [--wordlist WORDLIST] [--json-output] [--list] [--report REPORT]\n\nknockpy v.7.0.1 - Subdomain Scan\nhttps://github.com/guelfoweb/knock\n\noptions:\n  -h, --help            show this help message and exit\n  -d DOMAIN, --domain DOMAIN\n                        domain to analyze\n  -f FILE, --file FILE  domain list from file path\n  -v, --version         show program's version number and exit\n  --dns DNS             custom dns\n  --useragent USERAGENT\n                        custom useragent\n  --timeout TIMEOUT     custom timeout\n  --threads THREADS     custom threads\n  --recon               subdomain reconnaissance\n  --bruteforce          subdomain bruteforce\n  --wordlist WORDLIST   wordlist file to import\n                        --bruteforce option required\n  --wildcard            test wildcard and exit\n  --json                shows output in json format\n  --save FOLDER         folder to save report\n  --report REPORT       shows saved report\n```\n\n### Example\n\n- Start scanning domain with `--recon` and `--bruteforce` options\n\n```bash\nknockpy -d domain.com --recon --bruteforce\n```\n\n- Set API KEY: VirusTotal and Shodan\n\n```bash\nexport API_KEY_VIRUSTOTAL=your-virustotal-api-key\nexport API_KEY_SHODAN=your-shodan-api-key\n```\n\n- Save the report in a folder\n\n```bash\nknockpy -d domain.com --recon --bruteforce --save report\n```\n\n- Shows saved report\n\n```bash\nknockpy --report domain.com_yyyy_aa_dd_hh_mm_ss.json\n```\n\n### Import as module\n\n```python\nfrom knock import KNOCKPY\n\ndomain = 'domain.com'\n\nresults = KNOCKPY(domain, dns=None, useragent=None, timeout=None, threads=None, recon=True, bruteforce=True, wordlist=None)\n\nprint (results)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguelfoweb%2Fknock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguelfoweb%2Fknock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguelfoweb%2Fknock/lists"}