2023-10-29 23:10:11 +05:30
|
|
|
# adnix-rs [![Version info](https://img.shields.io/crates/v/adnix.svg)](https://crates.io/crates/adnix) [![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/) [![Built with Garnix](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgarnix.io%2Fapi%2Fbadges%2Fmsfjarvis%2Fadnix-rs%3Fbranch%3Dmain)](https://garnix.io)
|
2019-10-08 00:05:28 +05:30
|
|
|
|
2019-09-28 13:33:16 +05:30
|
|
|
Rust reimplementation of [sniner/adnix](https://github.com/sniner/adnix) for educational purposes.
|
2019-10-12 17:14:54 +05:30
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
2019-10-12 17:22:18 +05:30
|
|
|
adnix is available on [crates.io](https://crates.io/crates/adnix) and you can install it through cargo.
|
2019-10-12 17:14:54 +05:30
|
|
|
|
|
|
|
```shell
|
2019-10-12 17:22:18 +05:30
|
|
|
cargo install adnix
|
2019-10-12 17:14:54 +05:30
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```shell
|
|
|
|
USAGE:
|
|
|
|
adnix [OPTIONS]
|
|
|
|
|
|
|
|
FLAGS:
|
|
|
|
-h, --help Prints help information
|
|
|
|
-V, --version Prints version information
|
|
|
|
|
|
|
|
OPTIONS:
|
|
|
|
-f, --formatter <STRING> Formatter [default: dnsmasq] [possible values: dnsmasq, dnsmasq-server, unbound]
|
|
|
|
--address <ADDRESS> IPv4 address [default: 127.0.0.1]
|
|
|
|
--v6address <ADDRESS> IPv6 address [default: ::1]
|
|
|
|
-o, --output <OUTPUT> Output file
|
|
|
|
-s, --sources_file <STRING> File to read "name|source url" mappings from
|
|
|
|
```
|
|
|
|
|
|
|
|
Sample sources file for use with adnix.
|
|
|
|
|
2023-11-03 02:03:08 +05:30
|
|
|
```
|
2019-10-12 17:14:54 +05:30
|
|
|
Yoyo|http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext
|
|
|
|
Malware Domain List|http://www.malwaredomainlist.com/hostslist/hosts.txt
|
|
|
|
```
|