2021-12-09 08:53:55 -05:00
|
|
|
# CfDomains
|
2021-12-10 05:18:26 -05:00
|
|
|
|
2022-09-17 05:30:11 -04:00
|
|
|
`CfDomains` is a simple CLI tool to:
|
2021-12-09 08:58:07 -05:00
|
|
|
|
2022-09-17 05:30:11 -04:00
|
|
|
- Look up Cloudflare domain list, offline or online
|
|
|
|
- Replace CF links in your writings (text, HTML and Markdown)
|
|
|
|
- Categorise the domain list
|
2024-02-22 17:50:36 -05:00
|
|
|
- Join as warrior to help our mission (CfDomains Warrior)
|
2021-12-09 08:58:07 -05:00
|
|
|
|
2022-09-17 05:30:11 -04:00
|
|
|
|
|
|
|
### What is CfDomains Warrior?
|
|
|
|
|
|
|
|
You can run the `CfDomains Warrior` (`cfdomains --warrior`) mode to help with the Crimeflare domain verification efforts.
|
|
|
|
It will download some domains from us, do some simple test and report back to us - it is really easy to use!
|
|
|
|
|
|
|
|
There is no security risk to your computer because it just do DNS lookup test.
|
|
|
|
The warrior will only use your DNS server, so no CPU nor memory will be used.
|
|
|
|
It will get tasks from Karma and report the result back to Karma.
|
|
|
|
|
2023-05-25 19:05:07 -04:00
|
|
|
The Warrior runs on Windows, macOS and Linux. You can run it on anything like virtual machiene as
|
2022-09-17 05:30:11 -04:00
|
|
|
long as it can use _clean_ DNS.
|
|
|
|
|
|
|
|
|
|
|
|
### Installing and Uninstalling
|
|
|
|
|
|
|
|
- Linux: Installing
|
2022-07-30 22:10:24 -04:00
|
|
|
```
|
2023-08-03 02:19:34 -04:00
|
|
|
wget https://0xacab.org/dCF/deCloudflare/-/raw/master/tool/cfdomains/cfdomains.linux \
|
2022-08-02 20:05:36 -04:00
|
|
|
-O /usr/local/bin/cfdomains
|
|
|
|
chmod +x /usr/local/bin/cfdomains
|
2022-07-30 22:09:55 -04:00
|
|
|
cfdomains
|
|
|
|
```
|
2022-07-30 22:11:01 -04:00
|
|
|
|
2022-09-17 05:30:11 -04:00
|
|
|
- Linux: Uninstalling
|
|
|
|
```
|
|
|
|
rm -f /usr/local/bin/cfdomains
|
|
|
|
rm -r .cfdomains_conf
|
|
|
|
```
|
|
|
|
|
|
|
|
- Windows
|
|
|
|
- Install: Just run the executable, this is portable.
|
|
|
|
- Uninstall: Just delete the file and `.cfdomains_conf`(configuration) file.
|
|
|
|
|
|
|
|
|
2024-02-22 17:50:36 -05:00
|
|
|
### Download (cfdomains)
|
2023-09-12 00:30:49 -04:00
|
|
|
Current Version: **1.0.5**
|
2022-09-17 05:30:11 -04:00
|
|
|
|
2023-08-03 02:19:34 -04:00
|
|
|
- [Windows](https://0xacab.org/dCF/deCloudflare/-/raw/master/tool/cfdomains/cfdomains.exe?inline=false)
|
|
|
|
- [Mac OS](https://0xacab.org/dCF/deCloudflare/-/raw/master/tool/cfdomains/cfdomains.app?inline=false)
|
|
|
|
- [Linux](https://0xacab.org/dCF/deCloudflare/-/raw/master/tool/cfdomains/cfdomains.linux?inline=false)
|
2022-07-11 19:45:35 -04:00
|
|
|
- Source
|
|
|
|
- [source.js](source.js)
|
2023-05-25 19:05:07 -04:00
|
|
|
- e.g. `# apt install npm nodejs; npm i node-libcurl --save; nodejs source.js`
|
2021-12-09 08:53:55 -05:00
|
|
|
|
|
|
|
----
|
|
|
|
|
2022-07-30 06:59:12 -04:00
|
|
|
|
2021-12-09 08:53:55 -05:00
|
|
|
```
|
2023-05-29 03:14:25 -04:00
|
|
|
CfDomains
|
2022-07-11 01:52:20 -04:00
|
|
|
|
2021-12-09 08:53:55 -05:00
|
|
|
Usage:
|
2022-07-11 01:52:20 -04:00
|
|
|
cfdomains [| --online ]www.example.com
|
2021-12-09 23:21:55 -05:00
|
|
|
cfdomains --dir
|
2022-02-18 20:58:35 -05:00
|
|
|
cfdomains --proxy
|
2023-05-29 03:14:25 -04:00
|
|
|
cfdomains --dnsip
|
2022-07-11 01:52:20 -04:00
|
|
|
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
|
2022-07-30 06:59:12 -04:00
|
|
|
cfdomains --warrior
|
2021-12-09 08:53:55 -05:00
|
|
|
|
|
|
|
Details:
|
2022-07-11 01:52:20 -04:00
|
|
|
cfdomains (Base Domain or FQDN)
|
2021-12-09 08:53:55 -05:00
|
|
|
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)
|
|
|
|
|
2022-07-11 01:52:20 -04:00
|
|
|
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
|
|
|
|
|
2021-12-09 08:53:55 -05:00
|
|
|
cfdomains --dir
|
|
|
|
Change list directory
|
|
|
|
Current directory: ./cfdomains_Data/
|
|
|
|
|
2022-02-18 20:58:35 -05:00
|
|
|
cfdomains --proxy
|
|
|
|
Set or Unset SOCKS proxy
|
2023-05-29 03:14:25 -04:00
|
|
|
Current SOCKS proxy:
|
|
|
|
|
|
|
|
cfdomains --dnsip
|
|
|
|
Set or Unset DNS Server
|
|
|
|
Current DNS Server:
|
2022-02-18 20:58:35 -05:00
|
|
|
|
2022-07-11 01:52:20 -04:00
|
|
|
cfdomains --dl
|
|
|
|
cfdomains --dl a,b,c
|
|
|
|
dl: 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
|
|
|
|
2022-07-11 01:52:20 -04:00
|
|
|
cfdomains --report|delist www.example.com
|
2022-02-18 20:58:35 -05:00
|
|
|
Submit domain to #Karma for automated analysis
|
2021-12-09 08:53:55 -05:00
|
|
|
Only the domain will be submitted. We NEVER record anything else.
|
2022-02-18 20:58:35 -05:00
|
|
|
report: Report not-yet-listed domain (New Cloudflare)
|
2021-12-09 23:21:55 -05:00
|
|
|
delist: Report currently-listed domain (Left Cloudflare)
|
2022-07-11 01:52:20 -04:00
|
|
|
|
|
|
|
cfdomains --categorise[|online]|categorize[|online] (List file; URL or FQDNs) (Output file)
|
|
|
|
Export Listed/NotListed status in CSV format
|
2022-07-30 06:59:12 -04:00
|
|
|
With online: Use Online API / Without: Use Offline files
|
2022-07-11 01:52:20 -04:00
|
|
|
e.g. cfdomains --categoriseonline dirtyUrls.txt /tmp/washing.csv
|
|
|
|
|
|
|
|
cfdomains --cleanlink[|online] (Document; Text, HTML, Markdown) (Output file)
|
|
|
|
Replace infected links in document
|
2022-07-30 06:59:12 -04:00
|
|
|
With online: Use Online API / Without: Use Offline files
|
2022-07-11 01:52:20 -04:00
|
|
|
e.g. cfdomains --cleanlinkonline sunny.md /tmp/sunnyCleaned.md
|
2022-07-30 06:59:12 -04:00
|
|
|
|
|
|
|
cfdomains --warrior
|
|
|
|
Run this to help with the #Karma domain verification efforts.
|
|
|
|
This will download some domain from #Karma and report changes.
|
2021-12-09 08:53:55 -05:00
|
|
|
```
|
2022-07-30 06:59:12 -04:00
|
|
|
|
2024-02-22 17:50:36 -05:00
|
|
|
|
|
|
|
### Download (cfdomains warrior ONLY)
|
|
|
|
|
|
|
|
- If you have "cfdomains" you do not need this. For people who wants only "cfdomains --warrior."
|
|
|
|
- Source
|
|
|
|
- [cfdomain_warrior.php](cfdomain_warrior.php)
|
|
|
|
- e.g. Edit the file then run `php -f cfdomain_warrior.php`
|
2024-02-23 20:03:23 -05:00
|
|
|
- [How to run it with GLRunner](rename_me_to-.gitlab-ci.yml-.txt)
|
2024-02-22 17:50:36 -05:00
|
|
|
|
|
|
|
|
|
|
|
### Leaderboard
|
|
|
|
|
2024-02-22 18:53:50 -05:00
|
|
|
- Thank you for your contribution! _We need warriors to assist our hunters :)_
|
2024-02-22 19:09:37 -05:00
|
|
|
- How to find yourself: CRC32 your WarriorID.
|
|
|
|
- Your WarriorID will be deleted from our server after 7 days of inactivity.
|
2024-02-22 17:50:36 -05:00
|
|
|
|
2024-02-22 20:15:07 -05:00
|
|
|
Top 10
|
2024-02-22 17:53:48 -05:00
|
|
|
|
|
|
|
| User | Score |
|
|
|
|
| -- | -- |
|
2024-04-25 15:28:55 -04:00
|
|
|
| _f5cd3f1b_ | 50,830 |
|
2024-04-25 17:30:57 -04:00
|
|
|
| _13c075a2_ | 50,620 |
|
2024-04-25 18:31:14 -04:00
|
|
|
| _b2e5020c_ | 49,818 |
|
2024-04-25 12:10:47 -04:00
|
|
|
| _43f35922_ | 49,648 |
|
2024-04-26 10:34:19 -04:00
|
|
|
| _704d1f8d_ | 49,565 |
|
2024-04-25 14:25:05 -04:00
|
|
|
| _f5118cd9_ | 49,539 |
|
2024-04-26 10:34:19 -04:00
|
|
|
| _ff7fb3c9_ | 48,999 |
|
2024-04-25 13:29:13 -04:00
|
|
|
| _360c83e4_ | 48,867 |
|
2024-04-26 03:37:09 -04:00
|
|
|
| _718807d4_ | 48,725 |
|
2024-04-25 19:23:10 -04:00
|
|
|
| _c25a80cd_ | 48,677 |
|
2024-02-22 19:06:21 -05:00
|
|
|
|
2024-04-26 10:34:19 -04:00
|
|
|
- Total Score: 2,824,134
|
2024-02-22 19:06:21 -05:00
|
|
|
|
|
|
|
![](../../image/what_are_you_hunting_cloudflare.png)
|