Skip to content

Error upon being given link, tried on Linux and macOS #30

@aidan-gibson

Description

@aidan-gibson
docker run -it -p 7070:7070 opensecurity/cmsscan:latest
[2024-08-18 23:26:26 +0000] [1] [INFO] Starting gunicorn 20.1.0
[2024-08-18 23:26:26 +0000] [1] [INFO] Listening at: http://0.0.0.0:7070 (1)
[2024-08-18 23:26:26 +0000] [1] [INFO] Using worker: sync
[2024-08-18 23:26:26 +0000] [7] [INFO] Booting worker with pid: 7
[INFO] Updating WPScan

I give web UI a link, and:

Error occurred during loading data. Trying to use cache server https://fake-useragent.herokuapp.com/browsers/0.1.11
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/fake_useragent/utils.py", line 154, in load
    for item in get_browsers(verify_ssl=verify_ssl):
  File "/usr/local/lib/python3.9/site-packages/fake_useragent/utils.py", line 99, in get_browsers
    html = html.split('<table class="w3-table-all notranslate">')[1]
IndexError: list index out of range

macOS and Linux, same error

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