fix: imports changed due to crate renaming

This commit is contained in:
əlemi 2023-03-31 20:12:19 +02:00
parent 8c72af16c4
commit cb0fd707b9

View file

@ -5,13 +5,13 @@ use tracing::{metadata::LevelFilter, info, error};
use nix::{sys::{ptrace, wait::waitpid}, unistd::Pid}; use nix::{sys::{ptrace, wait::waitpid}, unistd::Pid};
use clap::Parser; use clap::Parser;
use rustyneedle::{rc::{ use pox::locators::{procmaps::map_addr_path, exec::offset_in_elf};
use pox::rc::{
injector::RemoteOperation, executors::RemoteShellcode, injector::RemoteOperation, executors::RemoteShellcode,
senders::RemoteString, syscalls::RemoteExit, senders::RemoteString, syscalls::RemoteExit,
explorers::step_to_syscall, explorers::step_to_syscall,
}, locators::{procmaps::map_addr_path, exec::offset_in_elf}}; };
use pox::monitor::listen_logs;
mod monitor;
#[derive(Parser, Debug)] #[derive(Parser, Debug)]
#[command(author, version, about, long_about = None)] #[command(author, version, about, long_about = None)]
@ -147,8 +147,5 @@ fn main() {
return; return;
} }
if monitor { if monitor { listen_logs() } // blocks here showing injector logs
monitor::listen_logs();
}
} }