deCloudflare/tool/cfdomains/README.md

63 lines
1.8 KiB
Markdown
Raw Normal View History

2021-12-09 08:53:55 -05:00
# CfDomains
2021-12-09 08:58:07 -05:00
CLI tool to look up CF domain list
2021-12-09 08:53:55 -05:00
- Linux
```
2021-12-09 08:58:07 -05:00
$ wget https://git.disroot.org/dCF/deCloudflare/raw/branch/master/tool/cfdomains/cfdomains.linux -O cfdomains
2021-12-09 08:53:55 -05:00
$ chmod +x cfdomains
2021-12-09 08:58:07 -05:00
$ cfdomains --dl
$ cfdomains disroot.org
n
2021-12-09 08:53:55 -05:00
```
2021-12-09 08:58:07 -05:00
- [Windows](https://git.disroot.org/dCF/deCloudflare/raw/branch/master/tool/cfdomains/cfdomains.exe)
- [Mac OS](https://git.disroot.org/dCF/deCloudflare/raw/branch/master/tool/cfdomains/cfdomains.macos)
2021-12-09 08:53:55 -05:00
2021-12-09 23:21:55 -05:00
### Version & Hash
| Name | Value |
| -- | -- |
| Version | v1.0.1 |
| Linux | sha256 098c2bb8e17d84a8e05971a5b9b1eb730264caa4cbf3c65aba2974d129a3c59e |
| Windows | sha256 c3fb19fa4def2543a7133f41ac3ffc3c80e4028f82e21da1688cfc9ce8f3e72e |
2021-12-09 23:25:30 -05:00
| Mac OS | sha256 fae21f5876df8812c06fec4f764e875812679e062d4eacc01c5f6273e7a7b519 |
2021-12-09 23:21:55 -05:00
2021-12-09 08:53:55 -05:00
----
```
Usage:
cfdomains example.com
2021-12-09 23:21:55 -05:00
cfdomains --dir
cfdomains [--dl|--dl2][ |0,1,...,a,b,...z]
cfdomains [--report|--delist] example.com
2021-12-09 08:53:55 -05:00
Details:
cfdomains example.com
return "y", "n", or "e"
y: Domain is on the list
n: Domain is not listed
e: List data not found (fix it by running --dl)
cfdomains --dir
Change list directory
Current directory: ./cfdomains_Data/
cfdomains --dl|dl2
2021-12-09 23:21:55 -05:00
cfdomains --dl|dl2 a,b,c
2021-12-09 08:53:55 -05:00
dl: Download list files from Archive.org
dl2: Download list files from deCloudflare git
2021-12-09 23:21:55 -05:00
a,b,c: Download only these files (comma-separated)
2021-12-09 08:53:55 -05:00
2021-12-09 23:21:55 -05:00
cfdomains --report|delist example.com
Submit domain to #Karma for analysis
2021-12-09 08:53:55 -05:00
Only the domain will be submitted. We NEVER record anything else.
2021-12-09 23:21:55 -05:00
report: Report not-yet-listed domain (Cloudflared)
delist: Report currently-listed domain (Left Cloudflare)
2021-12-09 08:53:55 -05:00
```