modified: src/client.rs
Some checks failed
gitea/Frida-android-native/pipeline/head There was a failure building this commit

This commit is contained in:
Michael Wain 2024-10-07 19:28:46 +03:00
parent 4a0e9f9535
commit 163dca53f2

View File

@ -93,7 +93,7 @@ pub async fn client_mode(client_config: ClientConfiguration, fd: i32, env: &JNIE
let nonce = Nonce::clone_from_slice(&wrapped_packet.nonce); let nonce = Nonce::clone_from_slice(&wrapped_packet.nonce);
match aes.decrypt(&nonce, &wrapped_packet.data[..]) { match aes.decrypt(&nonce, &wrapped_packet.data[..]) {
Ok(decrypted) => { let _ = tx.send(decrypted); }, Ok(decrypted) => { let _ = tx.send(decrypted); },
Err(error) => FridaLib::traceFromNative(env, format!("Decryption error! {:?}", error)) Err(error) => { FridaLib::traceFromNative(env, format!("Decryption error! {:?}", error)); }
} }
} else { } else {
FridaLib::traceFromNative(env, "There is no static_secret".to_string()); FridaLib::traceFromNative(env, "There is no static_secret".to_string());