linux-malware-detect
linux-malware-detect copied to clipboard
maldet --monitor doesn't recognise file path if newline is missing
With the latest master using monitor with a file path maldet is no longer recognizing a path if it doesn't contain a newline character at the end. Eg. maldet --monitor /usr/local/maldetect/monitor_paths
The response maldet(30196): {mon} no paths specified in /usr/local/maldetect/monitor_paths, aborting.
Contents of /usr/local/maldetect/monitor_paths /var/www/vhosts
Maldet should recognize a single path even though the newline is missing.