async def detect(self):
    self.logger.info('{} Trying to detect WAF presence in {}'.format(COLORED_COMBOS.INFO, self.host))
    if self.cnames:
        self._detect_by_cname()
    try:
        self.web_server_validator.validate_target_webserver(self.host)
        (await self._detect_by_application())
        if (not self.waf_present):
            self.logger.info('{} Did not detect WAF presence in target'.format(COLORED_COMBOS.GOOD))
    except WebServerValidatorException:
        self.logger.info('{} Target does not seem to have an active web server on port {}. No WAF could be detected on an application level.'.format(COLORED_COMBOS.NOTIFY, self.host.port))
async def detect(self):
    self.logger.info('{} Trying to detect WAF presence in {}'.format(COLORED_COMBOS.INFO, self.host))
    if self.cnames:
        self._detect_by_cname()
    try:
        self.web_server_validator.validate_target_webserver(self.host)
        (await self._detect_by_application())
        if (not self.waf_present):
            self.logger.info('{} Did not detect WAF presence in target'.format(COLORED_COMBOS.GOOD))
    except WebServerValidatorException:
        self.logger.info('{} Target does not seem to have an active web server on port {}. No WAF could be detected on an application level.'.format(COLORED_COMBOS.NOTIFY, self.host.port))