mirror of
https://github.com/Noratrieb/cluelessh.git
synced 2026-01-16 01:15:04 +01:00
better logs and stuff
This commit is contained in:
parent
9c923e4aa9
commit
843dd3bfed
5 changed files with 32 additions and 34 deletions
|
|
@ -231,10 +231,8 @@ impl Session {
|
|||
algorithm: alg_c2s,
|
||||
state: {
|
||||
let mut state = derive_key(k, h, "C", session_id, alg_c2s.key_size);
|
||||
eprintln!("k={state:x?}");
|
||||
let iv = derive_key(k, h, "A", session_id, alg_c2s.iv_size);
|
||||
state.extend_from_slice(&iv);
|
||||
eprintln!("n={iv:x?}");
|
||||
state
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue