Closed Benji377 closed 2 months ago
Ideally what I want from the backend is some sort of key-value pair dictionary. Where the key is the path of the file and the value is its signature. That way on the frontend I can add a button to send the signature to VirusTotal (#792)
Will be implemented after i am done with my exams
Use the following struct to while sending the result to the frontend so that I can easily parse it:
#[derive(Serialize, Deserialize, Debug)]
pub struct VirusFile {
pub path: String,
pub signature: String,
}
Path can be the full path, just the name of the file or the relative path from the scanning root
alright will be done when i get back to work
This is no longer relevant due to our migration to Yara-X, see #815
Describe the bug The frontend displays the found malware at the end of a scan and it does that by serializing the received result into a vector of strings. But the backend only returns the name of the file instead of the whole path.
To Reproduce Steps to reproduce the behavior:
Expected behavior It should return the entire path to the file so that each file is uniquely identified