linux-malware-detect
linux-malware-detect copied to clipboard
Update view_report()
Modified view_report() with following changes:
- added option 'newest' as alias to --report and --report "" to allow $ maldet --report newest [email protected]
- properly email most recent report when using $ maldet --report newest [email protected] or $ maldet --report "" [email protected]
- change from unnecessarily using editor to view reports, instead simply print to terminal
- improved logging
This was to address long standing issues discussed here: https://serverfault.com/questions/805158/how-to-get-an-email-report-of-whatever-the-most-recent-maldet-scan-is