mirror of
https://github.com/edu4rdshl/fhc.git
synced 2026-07-17 23:24:50 +00:00
Add additional fields.
Signed-off-by: Edu4rdSHL <edu4rdshl@protonmail.com>
This commit is contained in:
parent
5e3f73731e
commit
b10ee89775
1 changed files with 3 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ pub struct HTTPFilters {
|
||||||
pub bad_lines_numbers: Vec<String>,
|
pub bad_lines_numbers: Vec<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Default)]
|
#[derive(Clone, Debug, Eq, PartialEq, Hash, Default)]
|
||||||
pub struct HttpData {
|
pub struct HttpData {
|
||||||
pub http_status: String,
|
pub http_status: String,
|
||||||
pub status_code: u16,
|
pub status_code: u16,
|
||||||
|
|
@ -21,4 +21,6 @@ pub struct HttpData {
|
||||||
pub words_count: usize,
|
pub words_count: usize,
|
||||||
pub lines: usize,
|
pub lines: usize,
|
||||||
pub bad_data: HTTPFilters,
|
pub bad_data: HTTPFilters,
|
||||||
|
pub html_file_path: String,
|
||||||
|
pub screenshot_data: Vec<u8>,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue