This commit is contained in:
CF 2022-07-11 05:52:20 +00:00 committed by #deCloudflare
parent 2e44cd3a00
commit 35dd0cb3b9
1 changed files with 29 additions and 10 deletions

View File

@ -1,5 +1,5 @@
# CfDomains
### v1.0.2.3
### v1.0.3
CLI tool to look up Cloudflare domain list
@ -17,20 +17,30 @@ $ ./cfdomains
----
```
CfDomains v1.0.3
Usage:
cfdomains example.com
cfdomains [| --online ]www.example.com
cfdomains --dir
cfdomains --proxy
cfdomains [--dl|--dl2][ |0,1,...,a,b,...z]
cfdomains [--report|--delist] example.com
cfdomains --dl[| 0,1,...,a,b,...z]
cfdomains [--report|--delist] www.example.com
cfdomains [--categorise[|online]|--categorize[|online]] input.txt export.csv
cfdomains --cleanlink[|online] story.html story_publish.html
Details:
cfdomains example.com
cfdomains (Base Domain or FQDN)
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 --online (Base Domain or FQDN)
return "y", "n", or "e"
y: Domain is on the list
n: Domain is not listed
e: Internet Connection Error
cfdomains --dir
Change list directory
Current directory: ./cfdomains_Data/
@ -39,15 +49,24 @@ Details:
Set or Unset SOCKS proxy
Current SOCKS proxy:
cfdomains --dl|dl2
cfdomains --dl|dl2 a,b,c
dl: Download list files from Archive.org
dl2: Download list files from deCloudflare git
cfdomains --dl
cfdomains --dl a,b,c
dl: Download list files from deCloudflare git
a,b,c: Download only these files (comma-separated)
cfdomains --report|delist example.com
cfdomains --report|delist www.example.com
Submit domain to #Karma for automated analysis
Only the domain will be submitted. We NEVER record anything else.
report: Report not-yet-listed domain (New Cloudflare)
delist: Report currently-listed domain (Left Cloudflare)
cfdomains --categorise[|online]|categorize[|online] (List file; URL or FQDNs) (Output file)
Export Listed/NotListed status in CSV format
With online: Use Online API / Without it: Use Offline files
e.g. cfdomains --categoriseonline dirtyUrls.txt /tmp/washing.csv
cfdomains --cleanlink[|online] (Document; Text, HTML, Markdown) (Output file)
Replace infected links in document
With online: Use Online API / Without it: Use Offline files
e.g. cfdomains --cleanlinkonline sunny.md /tmp/sunnyCleaned.md
```