build: made it easier to build bind-shell
This commit is contained in:
@@ -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"
|
||||
@@ -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<()> {
|
||||
|
||||
Reference in New Issue
Block a user