Seems like this plugin is incorrectly identifying services as
HDDTEMP. This regex looks bad to me:
if (r0 =~ "^(\\|/dev/[a-z0-9/-]+\\|[^|]*\\|[^|]*\\|[^|]\\|)+$")
{
report_service(port: port, svc: 'hddtemp');
exit(0);
}
Looks like some pipes are not being escaped and are getting
interpreted as OR. Any thoughts?
Best regards,
Erik
HDDTEMP. This regex looks bad to me:
if (r0 =~ "^(\\|/dev/[a-z0-9/-]+\\|[^|]*\\|[^|]*\\|[^|]\\|)+$")
{
report_service(port: port, svc: 'hddtemp');
exit(0);
}
Looks like some pipes are not being escaped and are getting
interpreted as OR. Any thoughts?
Best regards,
Erik