39 lines
1.2 KiB
TOML
39 lines
1.2 KiB
TOML
[package]
|
|
name = "pox"
|
|
version = "0.2.0"
|
|
edition = "2021"
|
|
authors = [ "alemi <me@alemi.dev>" ]
|
|
description = "infection framework for processes"
|
|
license = "MIT"
|
|
keywords = ["ptrace", "dlopen", "injection", "security"]
|
|
repository = "https://git.alemi.dev/pox.git/"
|
|
readme = "README.md"
|
|
|
|
[lib]
|
|
name = "pox"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "vector"
|
|
path = "src/vector/main.rs"
|
|
required-features = ["vector"]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
tracing = "0.1"
|
|
libloading = { version = "0.8", optional = true }
|
|
elf = { version = "0.7", optional = true }
|
|
retour = { version = "0.3", optional = true } # plain detour doesn't work on latest nightly? idk
|
|
proc-maps = { version = "0.3", optional = true }
|
|
nix = { version = "0.27", features = ["process", "ptrace"], optional = true }
|
|
tracing-subscriber = { version = "0.3", optional = true }
|
|
clap = { version = "4.4", features = ["derive"], optional = true }
|
|
|
|
[features]
|
|
default = ["locator", "rc", "monitor", "vector", "gadget"]
|
|
locator = ["dep:elf", "dep:proc-maps", "dep:retour", "dep:libloading"]
|
|
monitor = ["dep:tracing-subscriber"]
|
|
rc = ["dep:nix"]
|
|
vector = ["locator", "rc", "monitor", "dep:clap"]
|
|
gadget = ["dep:clap"]
|