modified: src/client.rs
All checks were successful
gitea/Frida-android-native/pipeline/head This commit looks good
All checks were successful
gitea/Frida-android-native/pipeline/head This commit looks good
This commit is contained in:
parent
9b417a1686
commit
5a48a7f34c
@ -61,6 +61,7 @@ pub async fn client_mode(client_config: ClientConfiguration, fd: i32, env: &JNIE
|
|||||||
llltx.send("Read from tun.".as_bytes().to_vec());
|
llltx.send("Read from tun.".as_bytes().to_vec());
|
||||||
dx.send(buf[..n].to_vec()).unwrap();
|
dx.send(buf[..n].to_vec()).unwrap();
|
||||||
}
|
}
|
||||||
|
llltx.send("Read from tun has ended.".as_bytes().to_vec());
|
||||||
});
|
});
|
||||||
|
|
||||||
let priv_key = BASE64_STANDARD.decode(client_config.client.private_key).unwrap();
|
let priv_key = BASE64_STANDARD.decode(client_config.client.private_key).unwrap();
|
||||||
@ -148,6 +149,7 @@ pub async fn client_mode(client_config: ClientConfiguration, fd: i32, env: &JNIE
|
|||||||
ltx.send("There is no shared_secret in main loop".as_bytes().to_vec());
|
ltx.send("There is no shared_secret in main loop".as_bytes().to_vec());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
ltx.send("We've got there!".as_bytes().to_vec());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user