deCloudflare/tool/cfdomains
2022-07-31 02:09:55 +00:00
..
cfdomains.app commit 2022-07-30 10:51:13 +00:00
cfdomains.exe commit 2022-07-30 10:55:29 +00:00
cfdomains.linux commit 2022-07-31 02:04:49 +00:00
README.md commit 2022-07-31 02:09:55 +00:00
source.js commit 2022-07-30 10:49:22 +00:00

CfDomains

v1.0.4

CLI tool to look up Cloudflare domain list

wget https://git.disroot.org/dCF/deCloudflare/raw/branch/master/tool/cfdomains/cfdomains.linux mv cfdomains.linux /bin/cfdomains chmod +x /bin/cfdomains cfdomains

  - [Windows](https://git.disroot.org/dCF/deCloudflare/raw/branch/master/tool/cfdomains/cfdomains.exe?inline=false)
  - [Mac OS](https://git.disroot.org/dCF/deCloudflare/raw/branch/master/tool/cfdomains/cfdomains.app?inline=false)
- Source
  - [source.js](source.js)
  - e.g. `# apt install npm nodejs; npm i node-libcurl --save; nodejs source.js`

----


    CfDomains  v1.0.4

Usage: cfdomains [| --online ]www.example.com cfdomains --dir cfdomains --proxy 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 cfdomains --warrior

Details: 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/

    cfdomains --proxy
            Set or Unset SOCKS proxy
            Current SOCKS proxy:

    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 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: 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: Use Offline files
            e.g. cfdomains --cleanlinkonline sunny.md /tmp/sunnyCleaned.md

    cfdomains --warrior
            Run this to help with the #Karma domain verification efforts.
            This will download some domain from #Karma and report changes.

_We need warriors to assist our hunters :)_

![](../../image/what_are_you_hunting_cloudflare.png)