protected function startScan($domain)
    {
        $result = $this->eye->api()->sslStart($domain);

        if (isset($result['multiple_ips']) && isset($result['token'])) {
            $result = $this->eye->api()->sslStart($domain, $result['multiple_ips'], $result['token']);
        }

        if (isset($result['error'])) {
            return $this->eye->logger()->error('SSL API scan error', $result['error'], $domain);
        }

        if (($result['status_id'] == "1") && (isset($result['job_id']))) {
            Cache::put('eyewitness_ssl_job_id_'.$domain, $result['job_id'], 50);
        } else {
            $this->eye->logger()->error('SSL API invalid result', print_r($result, true), $domain);
        }
    }
protected function startScan($domain)
    {
        $result = $this->eye->api()->sslStart($domain);

        if (isset($result['multiple_ips']) && isset($result['token'])) {
            $result = $this->eye->api()->sslStart($domain, $result['multiple_ips'], $result['token']);
        }

        if (isset($result['error'])) {
            return $this->eye->logger()->error('SSL API scan error', $result['error'], $domain);
        }

        if (($result['status_id'] == "1") && (isset($result['job_id']))) {
            Cache::put('eyewitness_ssl_job_id_'.$domain, $result['job_id'], 50);
        } else {
            $this->eye->logger()->error('SSL API invalid result', print_r($result, true), $domain);
        }
    }
protected function startScan ( $ domain ) { $ result = $ this -> eye -> api ( ) -> sslStart ( $ domain ) ; if ( isset ( $ result [ 'multiple_ips' ] ) && isset ( $ result [ 'token' ] ) ) { $ result = $ this -> eye -> api ( ) -> sslStart ( $ domain , $ result [ 'multiple_ips' ] , $ result [ 'token' ] ) ; } if ( isset ( $ result [ 'error' ] ) ) { return $ this -> eye -> logger ( ) -> error ( 'SSL API scan error' , $ result [ 'error' ] , $ domain ) ; } if ( ( $ result [ 'status_id' ] == "1" ) && ( isset ( $ result [ 'job_id' ] ) ) ) { Cache :: put ( 'eyewitness_ssl_job_id_' . $ domain , $ result [ 'job_id' ] , 50 ) ; } else { $ this -> eye -> logger ( ) -> error ( 'SSL API invalid result' , print_r ( $ result , true ) , $ domain ) ; } }
Start the scan for a given domain for a valid SSL certificate against the API.

@param  string  $domain
@return void
Start the scan for a given domain for a valid SSL certificate against the API .