chore: add MIT license and cargo metadata
This commit is contained in:
parent
16d71ea76a
commit
bbb209c659
1 changed files with 18 additions and 11 deletions
29
Cargo.toml
29
Cargo.toml
|
@ -2,6 +2,12 @@
|
||||||
name = "pox"
|
name = "pox"
|
||||||
version = "0.2.0"
|
version = "0.2.0"
|
||||||
edition = "2021"
|
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]
|
[lib]
|
||||||
name = "pox"
|
name = "pox"
|
||||||
|
@ -10,23 +16,24 @@ path = "src/lib.rs"
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "vector"
|
name = "vector"
|
||||||
path = "src/vector/main.rs"
|
path = "src/vector/main.rs"
|
||||||
required-features = ["bin"]
|
required-features = ["vector"]
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tracing = "0.1.37"
|
tracing = "0.1"
|
||||||
libloading = { version = "0.7.4", optional = true }
|
libloading = { version = "0.8", optional = true }
|
||||||
elf = { version = "0.7.2", optional = true }
|
elf = { version = "0.7", optional = true }
|
||||||
retour = { version = "0.1", optional = true } # plain detour doesn't work on latest nightly? idk
|
retour = { version = "0.3", optional = true } # plain detour doesn't work on latest nightly? idk
|
||||||
proc-maps = { version = "0.3.0", optional = true }
|
proc-maps = { version = "0.3", optional = true }
|
||||||
nix = { version = "0.26.2", optional = true }
|
nix = { version = "0.27", features = ["process", "ptrace"], optional = true }
|
||||||
tracing-subscriber = { version = "0.3.16", optional = true }
|
tracing-subscriber = { version = "0.3", optional = true }
|
||||||
clap = { version = "4.1.13", features = ["derive"], optional = true }
|
clap = { version = "4.4", features = ["derive"], optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["locator"]
|
default = ["locator", "rc", "monitor", "vector", "gadget"]
|
||||||
locator = ["dep:elf", "dep:proc-maps", "dep:retour", "dep:libloading"]
|
locator = ["dep:elf", "dep:proc-maps", "dep:retour", "dep:libloading"]
|
||||||
monitor = ["dep:tracing-subscriber"]
|
monitor = ["dep:tracing-subscriber"]
|
||||||
rc = ["dep:nix"]
|
rc = ["dep:nix"]
|
||||||
bin = ["locator", "rc", "monitor", "dep:clap"]
|
vector = ["locator", "rc", "monitor", "dep:clap"]
|
||||||
|
gadget = ["dep:clap"]
|
||||||
|
|
Loading…
Reference in a new issue