2023-03-25 13:26:58 +01:00
|
|
|
[package]
|
2023-03-31 12:35:25 +02:00
|
|
|
name = "pox"
|
2023-03-30 05:43:30 +02:00
|
|
|
version = "0.2.0"
|
2023-03-25 13:26:58 +01:00
|
|
|
edition = "2021"
|
2024-03-16 06:26:46 +01:00
|
|
|
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"
|
2023-03-25 13:26:58 +01:00
|
|
|
|
|
|
|
[lib]
|
2023-03-31 12:35:25 +02:00
|
|
|
name = "pox"
|
2023-03-30 05:10:11 +02:00
|
|
|
path = "src/lib.rs"
|
2023-03-25 13:26:58 +01:00
|
|
|
|
|
|
|
[[bin]]
|
2023-03-31 12:35:25 +02:00
|
|
|
name = "vector"
|
|
|
|
path = "src/vector/main.rs"
|
2024-03-16 06:26:46 +01:00
|
|
|
required-features = ["vector"]
|
2023-03-25 13:26:58 +01:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2024-03-16 06:26:46 +01:00
|
|
|
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 }
|
2023-03-30 05:41:44 +02:00
|
|
|
|
|
|
|
[features]
|
2024-03-16 06:26:46 +01:00
|
|
|
default = ["locator", "rc", "monitor", "vector", "gadget"]
|
2023-03-31 20:12:34 +02:00
|
|
|
locator = ["dep:elf", "dep:proc-maps", "dep:retour", "dep:libloading"]
|
|
|
|
monitor = ["dep:tracing-subscriber"]
|
|
|
|
rc = ["dep:nix"]
|
2024-03-16 06:26:46 +01:00
|
|
|
vector = ["locator", "rc", "monitor", "dep:clap"]
|
|
|
|
gadget = ["dep:clap"]
|