A regression was introduced by commit db150b6eb135f00e3109d55c1975f62bad8afa32.
Yasuo fails to test any https web service which would be normally detected as "ssl/http" by Nmap.
Yasuo would skip testing the open port because it would probe the web service over HTTP instead of HTTPS, thus failing detection.
This is because #{port.service} can never equal to "https" or "ssl" (with ruby-nmap 0.8.0 at least) even if the web service was detected over ssl, #{port.service} would still equal to "http", therefore #{port.service.ssl?} should be used instead.
This bug was fixed before by commit 65ca7f9ab03b581635b5131a9c0561a10cf81729.
A regression was introduced by commit db150b6eb135f00e3109d55c1975f62bad8afa32.
Yasuo fails to test any https web service which would be normally detected as "ssl/http" by Nmap.
Yasuo would skip testing the open port because it would probe the web service over HTTP instead of HTTPS, thus failing detection.
This is because
#{port.service}
can never equal to "https" or "ssl" (with ruby-nmap 0.8.0 at least) even if the web service was detected over ssl,#{port.service}
would still equal to "http", therefore#{port.service.ssl?}
should be used instead.This bug was fixed before by commit 65ca7f9ab03b581635b5131a9c0561a10cf81729.