mirror of
https://github.com/ivre/masscanned.git
synced 2025-10-02 06:38:21 +00:00
Run cargo fmt
This commit is contained in:
parent
7cf67e01b3
commit
ed464181bc
2 changed files with 4 additions and 2 deletions
|
@ -29,7 +29,7 @@ mod stun;
|
||||||
use stun::{STUN_PATTERN_CHANGE_REQUEST, STUN_PATTERN_EMPTY, STUN_PATTERN_MAGIC};
|
use stun::{STUN_PATTERN_CHANGE_REQUEST, STUN_PATTERN_EMPTY, STUN_PATTERN_MAGIC};
|
||||||
|
|
||||||
mod ssh;
|
mod ssh;
|
||||||
use ssh::{SSH_PATTERN_CLIENT_PROTOCOL_2, SSH_PATTERN_CLIENT_PROTOCOL_1};
|
use ssh::{SSH_PATTERN_CLIENT_PROTOCOL_1, SSH_PATTERN_CLIENT_PROTOCOL_2};
|
||||||
|
|
||||||
mod ghost;
|
mod ghost;
|
||||||
use ghost::GHOST_PATTERN_SIGNATURE;
|
use ghost::GHOST_PATTERN_SIGNATURE;
|
||||||
|
|
|
@ -178,7 +178,9 @@ pub fn repl<'a>(
|
||||||
debug!("sending SSH answer");
|
debug!("sending SSH answer");
|
||||||
warn!(
|
warn!(
|
||||||
"SSH server banner to {}",
|
"SSH server banner to {}",
|
||||||
std::str::from_utf8(&pstate.ssh_software).unwrap().trim_end()
|
std::str::from_utf8(&pstate.ssh_software)
|
||||||
|
.unwrap()
|
||||||
|
.trim_end()
|
||||||
);
|
);
|
||||||
Some(repl_data)
|
Some(repl_data)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue