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: u32,
pub size: String,
pub entropy: f32,
pub vt: Option<VirusTotalSummary>,
}Expand description
All the data for a sample known to MalwareDB
Fields§
§md5: StringMD5 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: u32Sample 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>VirusTotal 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)