mirror of
https://github.com/Noratrieb/cluelessh.git
synced 2026-01-15 08:55:06 +01:00
improvements
This commit is contained in:
parent
bfcf1120e1
commit
46f73c2de4
4 changed files with 15 additions and 9 deletions
|
|
@ -111,12 +111,14 @@ pub mod auth {
|
|||
let service_name = auth_req.utf8_string()?;
|
||||
let method_name = auth_req.utf8_string()?;
|
||||
|
||||
info!(
|
||||
%username,
|
||||
%service_name,
|
||||
%method_name,
|
||||
"User trying to authenticate"
|
||||
);
|
||||
if method_name != "none" {
|
||||
info!(
|
||||
%username,
|
||||
%service_name,
|
||||
%method_name,
|
||||
"User trying to authenticate"
|
||||
);
|
||||
}
|
||||
|
||||
if service_name != "ssh-connection" {
|
||||
return Err(client_error!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue