[[bin]]
name = "dnsm-client"
path = "src/bin/dnsm_client.rs"
required-features = ["native-cli"]
[[bin]]
name = "dnsm-server"
path = "src/bin/dnsm_server/main.rs"
required-features = ["native-cli", "sqlite"]
[[bin]]
name = "dnsm-ws"
path = "src/bin/dnsm_ws.rs"
required-features = ["native-cli", "sqlite", "ws-server"]
[dependencies.base64]
optional = true
version = "0.22"
[dependencies.blake3]
version = "1.8.2"
[dependencies.clap]
features = ["derive", "wrap_help"]
optional = true
version = "4.5.48"
[dependencies.console]
optional = true
version = "0.16.1"
[dependencies.fastrand]
optional = true
version = "2"
[dependencies.futures]
default-features = false
optional = true
version = "0.3"
[dependencies.lzma-rust2]
version = "0.14.3"
[dependencies.rusqlite]
features = ["bundled"]
optional = true
version = "0.37.0"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0.228"
[dependencies.serde_json]
optional = true
version = "1.0.145"
[dependencies.tokio]
features = ["macros", "sync", "rt-multi-thread"]
optional = true
version = "1.48.0"
[dependencies.tokio-stream]
optional = true
version = "0.1.14"
[dependencies.warp]
features = ["websocket", "server"]
optional = true
version = "0.4.2"
[dev-dependencies.fastrand]
version = "2"
[dev-dependencies.rusqlite]
features = ["bundled"]
version = "0.37.0"
[features]
default = ["native-cli"]
native-cli = ["dep:clap", "dep:console", "dep:fastrand"]
sqlite = ["dep:rusqlite"]
ws-server = ["dep:tokio", "dep:tokio-stream", "dep:warp", "dep:futures", "dep:base64", "dep:serde_json", "dep:serde"]
[lib]
crate-type = ["rlib", "cdylib"]
name = "dnsm"
path = "src/lib.rs"
[package]
authors = ["Raphael Martin <kontor@dnsm.re>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Toolkit for covert data exfiltration using DNS"
edition = "2024"
homepage = "https://dnsm.re"
keywords = ["gdpr", "itsec", "security", "exfiltration", "telemetry"]
license = "MIT"
name = "dnsm"
readme = "README.md"
repository = "https://github.com/k-o-n-t-o-r/dnsm"
version = "0.1.2"
[profile.release]
codegen-units = 1
lto = "fat"
opt-level = 3
strip = true
[target.'cfg(target_arch = "wasm32")'.dependencies.blake3]
features = ["wasm32_simd"]
version = "1.8.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"
[[test]]
name = "dig_integration"
path = "tests/dig_integration.rs"
[[test]]
name = "dig_mailbox_tcp"
path = "tests/dig_mailbox_tcp.rs"
[[test]]
name = "dig_mailbox_txt"
path = "tests/dig_mailbox_txt.rs"
[[test]]
name = "tunnel_e2e"
path = "tests/tunnel_e2e.rs"
[[test]]
name = "wasm_compat"
path = "tests/wasm_compat.rs"