took the tcp-test code and made a C2 server/beacon

This commit is contained in:
Andrew Rioux
2023-12-05 09:33:06 -05:00
parent 8c0ae083fe
commit 56f39ad64c
12 changed files with 1350 additions and 110 deletions

View File

@@ -390,7 +390,7 @@ async fn main() -> anyhow::Result<()> {
let srcip: Ipv4Addr = srcip.into();
dbg!(srcip, src_mac, dst_mac);
let dst_mac = [0x00, 0x16, 0x3e, 0xde, 0xa9, 0x93];
// let dst_mac = [0x00, 0x16, 0x3e, 0xde, 0xa9, 0x93];
interface.set_buffer_size(8192)?;
interface.set_non_blocking(true)?;