Skip to content

Docker version generates an error when run.. #3

Description

@ArthurMcTool

After successfully installing the docker image and then running the command line, the following is generated:

sudo docker run --rm phoca www.attacker.com:

Traceback (most recent call last):
  File "./phoca", line 233, in <module>
    detector.crawl(domains)
  File "./phoca", line 50, in crawl
    for result in self.tqdm_parallel_map(executor, self.testSite, domains):
  File "./phoca", line 168, in tqdm_parallel_map
    yield f.result()
  File "/usr/local/lib/python3.7/concurrent/futures/_base.py", line 428, in result
    return self.__get_result()
  File "/usr/local/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "./phoca", line 65, in testSite
    result['data'] = self.probeSite(site)
  File "./phoca", line 95, in probeSite
    featureProbeThreads.append(executor.submit(probe(site, self.http_port, self.https_port).test))
  File "./probes/featureProbes.py", line 23, in __init__
    self.fullDomain, self.primaryDomain, self.port, self.path = FeatureProbe.parseURL(self.site)
  File "./probes/featureProbes.py", line 35, in parseURL
    tsd, td, tsu = extract(fullDomain)
ValueError: too many values to unpack (expected 3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions