StevenBlack/rhosts
Trên GitHub, StevenBlack/rhosts đã đạt 16 sao, ngôn ngữ Rust. 🔒📈 Host file tools written in rust.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Snapshot
Cộng tác viên hàng đầu
Xem cộng tác viên hàng đầu
rhosts (rh)
Host file tools written in Rust conceived while stuck at home during a pandemic.
[!NOTE]
This is all very preliminary. This is not presently fit for general consumption.
[!NOTE]
External non-rust dependency:openssl-dev
Calling rh
This is the output from $ rh -h.
$ rh -h
Tools to mess with hosts files.
Usage: rh [OPTIONS] [COMMAND]
Commands:
build Build hosts files
cache Application cache initialize, prime, clear, or report
init Initialize cache and templates
info Display additional information about the application
help Print this message or the help of the given subcommand(s)
Options:
-m, --main <MAINHOSTS> The main hosts file, the basis for comparison.
A shortcut code, full URL, or a path to a local file.
Use the -c option to specify a comparison list.
Use the -clip option to use what is on the system clipboard
SHORTCUT CODES
==============
The following shortcut codes can be used to select among preset lists.
Amalgamated list shortcuts:
-m b or -m base // use Steven Black's base amalgamated list.
-m f // use alternates/fakenews/hosts
-m fg // use alternates/fakenews-gambling/hosts
-m fgp // use alternates/fakenews-gambling-porn/hosts
-m fgps // use alternates/fakenews-gambling-porn-social/hosts
-m fgs // use alternates/fakenews-gambling-social/hosts
-m fp // use alternates/fakenews-porn/hosts
-m fps // use alternates/fakenews-porn-social/hosts
-m fs // use alternates/fakenews-social/hosts
-m g // use alternates/gambling/hosts
-m gp // use alternates/gambling-porn/hosts
-m gps // use alternates/gambling-porn-social/hosts
-m gs // use alternates/gambling-social/hosts
-m p // use alternates/porn/hosts
-m ps // use alternates/porn-social/hosts
-m s // use alternates/social/hosts
Source list shortcuts:
-m adaway // adaway.github.io
-m add2o7net // FadeMind add.2o7Net hosts
-m adddead // FadeMind add.Dead hosts
-m addrisk // FadeMind add.Risk hosts
-m addspam // FadeMind add.Spam hosts
-m adguard // AdguardTeam cname-trackers
-m baddboyz // mitchellkrogza Badd-Boyz-Hosts
-m clefspear // Clefspeare13 pornhosts
-m digitalside // davidonzo Threat-Intel
-m fakenews // marktron/fakenews
-m hostsvn // bigdargon hostsVN
-m kadhosts // PolishFiltersTeam
-m metamask // MetaMask eth-phishing hosts
-m mvps // winhelp2002.mvps.or
-m orca // orca.pet notonmyshift hosts
-m shady // hreyasminocha shady hosts
-m sinfonietta-gambling
-m sinfonietta-porn
-m sinfonietta-snuff
-m sinfonietta-social
-m someonewhocares // Sam Pollock someonewhocares.org
-m stevenblack // Steven Black ad-hoc list
-m tiuxo-porn
-m tiuxo-social
-m tiuxo // tiuxo list.
-m uncheckyads // FadeMind UncheckyAds
-m urlhaus // urlhaus.abuse.ch
-m yoyo // Peter Lowe yoyo.org
[default: base]
-c, --compare <COMPAREHOSTS> The hosts file to compare to the main hosts file
A shortcut code, full URL, or a path to a local file.
Use the -m option for the main comparison list.
Use the -clip option to use what is on the system clipboard.
See the documentation for the -m flag for a list of shortcut codes
--isolate <ISOLATE> The hosts list to isolate and compare to mainhosts
A shortcut code, full URL, or a path to a local file.
See the documentation for the -m flag for a list of shortcut codes
--ip <IPLOCALHOST> The ip address to use when listing hosts [default: 0.0.0.0]
-d, --default_hosts Add default hosts for when listing hosts. The default hosts will be placed at the top of hosts lists
-s, --sort Sort the domains. The sort order is domain, tdl, subdomain1, subdomain2, etc
-o, --output <OUTPUT> The output file. By default, output is to std out
-p, --plain Plain listing - domains only, without addresses, when listing domains
-q, --quiet Quiet, terse output mode. Outputs the number of domains only
--stats <STATS> Print statistics about the domains [possible values: true, false]
-i, --intersection Print the intersection of mainhosts and comparehosts
-r, --rootdomains List of root domains and their tally
--subdomains List of subdomains (3+ characters) and their tally
--chunking <CHUNKING> Character chunking size for tallying within subdomains
-t, --tld Print a tally of top level domains found in the list
-l, --limit <LIMIT> Limit for listing TLD and root domains, 0 = unlimited [default: 30]
--skipheaders Omit the file comment headers in output
--showduplicates List duplicates when reporting on a hosts list
--invalid List invalid domains when reporting on a hosts list
--clip Use the contents of the system clipboard as compare hosts
-u, --unique List the unique domain names
-v, --verbose Verbose output, useful for development
--skipcache Do not use cache
-h, --help Print help information
-V, --version Print version information
Vision for this project
This is to be a full-featured swiss-knife for assessing and working with amalgamated hosts files.

Mission for development
Ultimately this will
- replace the python-based hosts build tools
- replace ghosts, the set of ancillary tools, written in Go, to assess various hosts lists,
Goals of this project
Here is the list of tangible goals for the project.
- Extensible architecture so development can progress cleanly on many fronts.
- Collect and maintain historical statistics about amalgamated lists oriduced, and of the component lists that make up the amalgamated hosts.
- Ability to asses the impact of each list in the composition of amalgamated hosts.
- Ability to asses the impact of proposed additions to the amalgamated hosts.
Related repositories
- StevenBlack/hosts is my amalgamated hosts file, with custom variants, from various curated sources.
- StevenBlack/ghosts is a cli tool written in Go.
Repo liên quan
Master programming by recreating your favorite technologies from scratch.
A curated meta-list of curated lists organized by technology domain. The repository acts as a directory pointing to hundreds of specialized awesome lists covering programming languages, platforms, frameworks, and tooling. All content is community-contributed under the CC0 public domain dedication.
Public APIs is a community-curated GitHub repository listing free, publicly accessible APIs across a wide range of categories, with auth type, HTTPS, and CORS noted for each entry. It's a browsable reference, not a library to install.
freeCodeCamp is a free, self-paced curriculum for learning to code, published as open source at freeCodeCamp/freeCodeCamp. It's a 501(c)(3) nonprofit funded by donor support, structured around six certifications in its Full-Stack Developer Curriculum, each gated by required projects instead of open-book quizzes. The repository also carries beta language certifications for developers, interview-prep resources, and the code that runs the live freecodecamp.org platform.
Trả lời nhanh
Đọc thêm về StevenBlack/rhosts ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/StevenBlack/rhosts là nguồn chính thức.
StevenBlack/rhosts có phải mã nguồn mở không?
Có — StevenBlack/rhosts phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/StevenBlack/rhosts.
StevenBlack/rhosts là gì?
StevenBlack/rhosts (StevenBlack/rhosts) là dự án Rust trên GitHub. Theo mô tả gốc: 🔒📈 Host file tools written in rust.
Đọc đầy đủ README ở tab phía trên.
rhosts có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về rhosts.