diff --git a/.gitignore b/.gitignore index 25cffb8..2af1994 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ target .vscode -.cargo \ No newline at end of file +.cargo +wintun.dll \ No newline at end of file diff --git a/frida_core/src/mac_tun.rs b/frida_core/src/mac_tun.rs index fc3e727..d09fa72 100644 --- a/frida_core/src/mac_tun.rs +++ b/frida_core/src/mac_tun.rs @@ -16,7 +16,7 @@ fn cmd(cmd: &str, args: &[&str]) { } pub fn create(cfg: AbstractDevice) -> (DeviceReader, DeviceWriter) { - let iface = Iface::new("tun%d", Mode::Tun).unwrap(); + let iface = Iface::new("utun10", Mode::Tun).unwrap(); let mut address = cfg.address.unwrap().to_string(); address.push_str("/24");