pub struct Report {Show 14 fields
pub md5: String,
pub sha1: String,
pub sha256: String,
pub sha384: String,
pub sha512: String,
pub lzjd: Option<String>,
pub tlsh: Option<String>,
pub ssdeep: Option<String>,
pub humanhash: Option<String>,
pub filecommand: Option<String>,
pub bytes: u64,
pub size: String,
pub entropy: f32,
pub vt: Option<VirusTotalSummary>,
}Expand description
Information for an individual sample
Fields§
§md5: StringMD-5 hash
sha1: StringSHA-1 hash
sha256: StringSHA-256 hash
sha384: StringSHA-384 hash
sha512: StringSHA-512 hash
lzjd: Option<String>LZJD similarity hash, if available https://github.com/EdwardRaff/LZJD
tlsh: Option<String>TLSH similarity hash, if available https://github.com/trendmicro/tlsh
ssdeep: Option<String>SSDeep similarity hash, if available
https://ssdeep-project.github.io/ssdeep/index.html
humanhash: Option<String>Human hash https://github.com/zacharyvoase/humanhash
filecommand: Option<String>The output from libmagic, aka the file command
https://man7.org/linux/man-pages/man3/libmagic.3.html
bytes: u64Sample size in bytes
size: StringSample size in human-readable size (2048 becomes 2 kb, for example)
entropy: f32Entropy of the file, values over 6.5 may indicate compression or encryption
vt: Option<VirusTotalSummary>Virus Total summary data, if enabled on the server https://www.virustotal.com
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Report
impl<'de> Deserialize<'de> for Report
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnwindSafe for Report
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more