mirror of
https://github.com/ivre/masscanned.git
synced 2025-10-02 06:38:21 +00:00
Cargo Format
This commit is contained in:
parent
fe2fd6ca5b
commit
4152f19fe2
2 changed files with 2 additions and 2 deletions
|
@ -21,11 +21,11 @@ use lazy_static::lazy_static;
|
|||
use std::str;
|
||||
|
||||
use crate::client::ClientInfo;
|
||||
use crate::proto::TCPControlBlock;
|
||||
use crate::smack::{
|
||||
Smack, SmackFlags, BASE_STATE, NO_MATCH, SMACK_CASE_INSENSITIVE, UNANCHORED_STATE,
|
||||
};
|
||||
use crate::Masscanned;
|
||||
use crate::proto::{TCPControlBlock};
|
||||
|
||||
pub const HTTP_VERBS: [&str; 9] = [
|
||||
"GET", "PUT", "POST", "HEAD", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH",
|
||||
|
|
|
@ -26,7 +26,7 @@ pub const SSH_PATTERN_CLIENT_PROTOCOL: &[u8; 7] = b"SSH-2.0";
|
|||
|
||||
pub fn repl<'a>(
|
||||
data: &'a [u8],
|
||||
_masscanned: &Masscanned,
|
||||
_masscanned: &Masscanned,
|
||||
mut _client_info: &mut ClientInfo,
|
||||
_tcb: Option<&mut TCPControlBlock>,
|
||||
) -> Option<Vec<u8>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue