galtimur's picture
Upload 78 files
8f0a8fd verified
raw
history blame contribute delete
No virus
130 kB
{"language": "Python", "id": 50, "repo_owner": "cowrie", "repo_name": "cowrie", "head_branch": "oracle_cloud_logs", "workflow_name": "Tox", "workflow_filename": "tox.yml", "workflow_path": ".github/workflows/tox.yml", "contributor": "mamorett", "sha_fail": "55f8e6684499eb6abe5b1c1dba01ca4c90d2c949", "sha_success": "75c7daecfd2471b4dc10ca5d402ac8aff2005b5b", "workflow": "---\nname: Tox\n\non: # yamllint disable-line rule:truthy\n push:\n\n pull_request:\n\n workflow_dispatch:\n inputs:\n logLevel:\n description: 'Log level'\n required: true\n default: 'warning'\n tags:\n description: 'Tox'\n\njobs:\n build:\n runs-on: ubuntu-latest\n strategy:\n matrix:\n python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"pypy-3.9\", \"pypy-3.10\"]\n steps:\n - uses: actions/checkout@v4\n - name: Set up Python ${{ matrix.python-version }}\n uses: actions/setup-python@v4\n with:\n python-version: ${{ matrix.python-version }}\n - name: Install dependencies\n run: |\n python -m pip install --upgrade pip setuptools wheel\n python -m pip install -r requirements.txt\n python -m pip install -r requirements-dev.txt\n pip install tox-gh-actions\n - name: Test with tox\n run: tox\n", "logs": [{"step_name": "build (3.10)/5_Test with tox.txt", "log": "##[group]Run tox\n\u001b[36;1mtox\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n pythonLocation: /opt/hostedtoolcache/Python/3.10.13/x64\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.10.13/x64/lib/pkgconfig\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.13/x64/lib\n##[endgroup]\nlint: install_deps> python -I -m pip install -r /home/runner/work/cowrie/cowrie/requirements.txt -r /home/runner/work/cowrie/cowrie/requirements-dev.txt\nlint: freeze> python -m pip freeze --all\nlint: alabaster==0.7.13,appdirs==1.4.4,astroid==3.0.1,attrs==23.1.0,Automat==22.10.0,Babel==2.13.1,bcrypt==4.0.1,build==1.0.3,cachetools==5.3.2,certifi==2023.7.22,cffi==1.16.0,cfgv==3.4.0,chardet==5.2.0,charset-normalizer==3.3.2,click==8.1.7,colorama==0.4.6,configparser==6.0.0,constantly==23.10.4,coverage==7.3.2,cryptography==41.0.4,dataclasses-json==0.6.2,dill==0.3.7,distlib==0.3.7,docutils==0.18.1,filelock==3.13.1,hyperlink==21.0.0,identify==2.5.31,idna==3.4,imagesize==1.4.1,importlab==0.8.1,incremental==22.10.0,intervaltree==3.1.0,isort==5.12.0,Jinja2==3.1.2,libcst==0.4.9,MarkupSafe==2.1.3,marshmallow==3.20.1,mccabe==0.7.0,mypy==1.4.1,mypy-extensions==1.0.0,mypy-zope==1.0.1,networkx==3.1,ninja==1.11.1.1,nodeenv==1.8.0,packaging==23.2,pathspec==0.11.2,pip==23.3.1,pipdeptree==2.13.0,platformdirs==3.11.0,pluggy==1.3.0,pre-commit==3.5.0,psutil==5.9.6,pyasn1==0.5.0,pyasn1-modules==0.3.0,pycparser==2.21,pydot==1.4.2,Pygments==2.16.1,pylint==3.0.2,pyOpenSSL==23.2.0,pyparsing==3.1.1,pyproject-api==1.6.1,pyproject_hooks==1.0.0,pyre-check==0.9.19,pyre-extensions==0.0.30,pyright==1.1.333,python-dateutil==2.8.2,pytype==2023.6.2,pyupgrade==3.15.0,PyYAML==6.0.1,readthedocs-sphinx-search==0.3.1,requests==2.31.0,ruff==0.1.3,service-identity==23.1.0,setuptools==68.2.2,six==1.16.0,snowballstemmer==2.2.0,sortedcontainers==2.4.0,Sphinx==7.2.6,sphinx-copybutton==0.5.2,sphinx-rtd-theme==1.3.0,sphinxcontrib-applehelp==1.0.7,sphinxcontrib-devhelp==1.0.5,sphinxcontrib-htmlhelp==2.0.4,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-qthelp==1.0.6,sphinxcontrib-serializinghtml==1.1.9,tabulate==0.9.0,TestSlide==2.7.1,tftpy==0.8.2,tokenize-rt==5.2.0,toml==0.10.2,tomli==2.0.1,tomlkit==0.12.2,tox==4.11.3,treq==22.2.0,Twisted==23.10.0,typeguard==2.13.3,types-pyOpenSSL==23.3.0.0,types-python-dateutil==2.8.19.14,types-redis==4.6.0.7,types-requests==2.31.0.10,typing-inspect==0.9.0,typing_extensions==4.8.0,urllib3==2.0.7,virtualenv==20.24.6,wheel==0.41.2,yamllint==1.32.0,zope.event==5.0,zope.interface==6.1,zope.schema==7.0.1\n##[group]tox: lint\nlint: commands[0]> ruff /home/runner/work/cowrie/cowrie/src\nsrc/cowrie/output/oraclecloud.py:3:26: F401 [*] `configparser.NoOptionError` imported but unused\nsrc/cowrie/output/oraclecloud.py:8:8: F811 Redefinition of unused `oci` from line 5\nsrc/cowrie/output/oraclecloud.py:9:17: F401 [*] `oci.auth` imported but unused\nsrc/cowrie/output/oraclecloud.py:24:25: Q000 [*] Single quotes found but double quotes preferred\nsrc/cowrie/output/oraclecloud.py:53:13: T201 `print` found\nsrc/cowrie/output/oraclecloud.py:58:13: T201 `print` found\nFound 6 errors.\n[*] 3 fixable with the `--fix` option.\nlint: exit 1 (0.10 seconds) /home/runner/work/cowrie/cowrie> ruff /home/runner/work/cowrie/cowrie/src pid=2034\n##[endgroup]\nlint: FAIL \u2716 in 36.55 seconds\ndocs: install_deps> python -I -m pip install -r /home/runner/work/cowrie/cowrie/requirements.txt -r /home/runner/work/cowrie/cowrie/requirements-dev.txt\ndocs: freeze> python -m pip freeze --all\ndocs: alabaster==0.7.13,appdirs==1.4.4,astroid==3.0.1,attrs==23.1.0,Automat==22.10.0,Babel==2.13.1,bcrypt==4.0.1,build==1.0.3,cachetools==5.3.2,certifi==2023.7.22,cffi==1.16.0,cfgv==3.4.0,chardet==5.2.0,charset-normalizer==3.3.2,click==8.1.7,colorama==0.4.6,configparser==6.0.0,constantly==23.10.4,coverage==7.3.2,cryptography==41.0.4,dataclasses-json==0.6.2,dill==0.3.7,distlib==0.3.7,docutils==0.18.1,filelock==3.13.1,hyperlink==21.0.0,identify==2.5.31,idna==3.4,imagesize==1.4.1,importlab==0.8.1,incremental==22.10.0,intervaltree==3.1.0,isort==5.12.0,Jinja2==3.1.2,libcst==0.4.9,MarkupSafe==2.1.3,marshmallow==3.20.1,mccabe==0.7.0,mypy==1.4.1,mypy-extensions==1.0.0,mypy-zope==1.0.1,networkx==3.1,ninja==1.11.1.1,nodeenv==1.8.0,packaging==23.2,pathspec==0.11.2,pip==23.3.1,pipdeptree==2.13.0,platformdirs==3.11.0,pluggy==1.3.0,pre-commit==3.5.0,psutil==5.9.6,pyasn1==0.5.0,pyasn1-modules==0.3.0,pycparser==2.21,pydot==1.4.2,Pygments==2.16.1,pylint==3.0.2,pyOpenSSL==23.2.0,pyparsing==3.1.1,pyproject-api==1.6.1,pyproject_hooks==1.0.0,pyre-check==0.9.19,pyre-extensions==0.0.30,pyright==1.1.333,python-dateutil==2.8.2,pytype==2023.6.2,pyupgrade==3.15.0,PyYAML==6.0.1,readthedocs-sphinx-search==0.3.1,requests==2.31.0,ruff==0.1.3,service-identity==23.1.0,setuptools==68.2.2,six==1.16.0,snowballstemmer==2.2.0,sortedcontainers==2.4.0,Sphinx==7.2.6,sphinx-copybutton==0.5.2,sphinx-rtd-theme==1.3.0,sphinxcontrib-applehelp==1.0.7,sphinxcontrib-devhelp==1.0.5,sphinxcontrib-htmlhelp==2.0.4,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-qthelp==1.0.6,sphinxcontrib-serializinghtml==1.1.9,tabulate==0.9.0,TestSlide==2.7.1,tftpy==0.8.2,tokenize-rt==5.2.0,toml==0.10.2,tomli==2.0.1,tomlkit==0.12.2,tox==4.11.3,treq==22.2.0,Twisted==23.10.0,typeguard==2.13.3,types-pyOpenSSL==23.3.0.0,types-python-dateutil==2.8.19.14,types-redis==4.6.0.7,types-requests==2.31.0.10,typing-inspect==0.9.0,typing_extensions==4.8.0,urllib3==2.0.7,virtualenv==20.24.6,wheel==0.41.2,yamllint==1.32.0,zope.event==5.0,zope.interface==6.1,zope.schema==7.0.1\n##[group]tox: docs\ndocs: commands[0] /home/runner/work/cowrie/cowrie/docs> sphinx-build -W -b html -d /home/runner/work/cowrie/cowrie/.tox/docs/tmp/doctrees . /home/runner/work/cowrie/cowrie/.tox/docs/tmp/html\nRunning Sphinx v7.2.6\nmaking output directory... done\nloading intersphinx inventory from https://docs.python.org/3/objects.inv...\nloading intersphinx inventory from https://docs.twistedmatrix.com/en/latest/api/objects.inv...\nbuilding [mo]: targets for 0 po files that are out of date\nwriting output... \nbuilding [html]: targets for 24 source files that are out of date\nupdating environment: [new config] 24 added, 0 changed, 0 removed\n\u001b[2Kreading sources... [ 4%] BACKEND_POOL\n\u001b[2Kreading sources... [ 8%] CHANGELOG\n\u001b[2Kreading sources... [ 12%] CONTRIBUTING\n\u001b[2Kreading sources... [ 17%] FAQ\n\u001b[2Kreading sources... [ 21%] HONEYFS\n\u001b[2Kreading sources... [ 25%] INSTALL\n\u001b[2Kreading sources... [ 29%] LICENSE\n\u001b[2Kreading sources... [ 33%] OUTPUT\n\u001b[2Kreading sources... [ 38%] PROXY\n\u001b[2Kreading sources... [ 42%] README\n\u001b[2Kreading sources... [ 46%] SNAPSHOTS\n\u001b[2Kreading sources... [ 50%] datadog/README\n\u001b[2Kreading sources... [ 54%] docker/README\n\u001b[2Kreading sources... [ 58%] elk/README\n\u001b[2Kreading sources... [ 62%] graylog/README\n\u001b[2Kreading sources... [ 67%] index\n\u001b[2Kreading sources... [ 71%] kippo-graph/README\n\u001b[2Kreading sources... [ 75%] sentinel/README\n\u001b[2Kreading sources... [ 79%] splunk/README\n\u001b[2Kreading sources... [ 83%] sql/README\n\u001b[2Kreading sources... [ 88%] squid/README\n\u001b[2Kreading sources... [ 92%] supervisor/README\n\u001b[2Kreading sources... [ 96%] systemd/README\n\u001b[2Kreading sources... [100%] threatjammer/README\nlooking for now-outdated files... none found\npickling environment... done\nchecking consistency... done\npreparing documents... done\ncopying assets... copying static files... done\ncopying extra files... done\ndone\n\u001b[2Kwriting output... [ 4%] BACKEND_POOL\n\u001b[2Kwriting output... [ 8%] CHANGELOG\n\u001b[2Kwriting output... [ 12%] CONTRIBUTING\n\u001b[2Kwriting output... [ 17%] FAQ\n\u001b[2Kwriting output... [ 21%] HONEYFS\n\u001b[2Kwriting output... [ 25%] INSTALL\n\u001b[2Kwriting output... [ 29%] LICENSE\n\u001b[2Kwriting output... [ 33%] OUTPUT\n\u001b[2Kwriting output... [ 38%] PROXY\n\u001b[2Kwriting output... [ 42%] README\n\u001b[2Kwriting output... [ 46%] SNAPSHOTS\n\u001b[2Kwriting output... [ 50%] datadog/README\n\u001b[2Kwriting output... [ 54%] docker/README\n\u001b[2Kwriting output... [ 58%] elk/README\n\u001b[2Kwriting output... [ 62%] graylog/README\n\u001b[2Kwriting output... [ 67%] index\n\u001b[2Kwriting output... [ 71%] kippo-graph/README\n\u001b[2Kwriting output... [ 75%] sentinel/README\n\u001b[2Kwriting output... [ 79%] splunk/README\n\u001b[2Kwriting output... [ 83%] sql/README\n\u001b[2Kwriting output... [ 88%] squid/README\n\u001b[2Kwriting output... [ 92%] supervisor/README\n\u001b[2Kwriting output... [ 96%] systemd/README\n\u001b[2Kwriting output... [100%] threatjammer/README\ngenerating indices... genindex done\nhighlighting module code... \nwriting additional pages... search done\ndumping search index in English (code: en)... done\ndumping object inventory... done\nbuild succeeded.\n\nThe HTML pages are in ../.tox/docs/tmp/html.\n##[endgroup]\ndocs: OK \u2714 in 40.98 seconds\ntyping: install_deps> python -I -m pip install -r /home/runner/work/cowrie/cowrie/requirements.txt -r /home/runner/work/cowrie/cowrie/requirements-dev.txt\ntyping: freeze> python -m pip freeze --all\ntyping: alabaster==0.7.13,appdirs==1.4.4,astroid==3.0.1,attrs==23.1.0,Automat==22.10.0,Babel==2.13.1,bcrypt==4.0.1,build==1.0.3,cachetools==5.3.2,certifi==2023.7.22,cffi==1.16.0,cfgv==3.4.0,chardet==5.2.0,charset-normalizer==3.3.2,click==8.1.7,colorama==0.4.6,configparser==6.0.0,constantly==23.10.4,coverage==7.3.2,cryptography==41.0.4,dataclasses-json==0.6.2,dill==0.3.7,distlib==0.3.7,docutils==0.18.1,filelock==3.13.1,hyperlink==21.0.0,identify==2.5.31,idna==3.4,imagesize==1.4.1,importlab==0.8.1,incremental==22.10.0,intervaltree==3.1.0,isort==5.12.0,Jinja2==3.1.2,libcst==0.4.9,MarkupSafe==2.1.3,marshmallow==3.20.1,mccabe==0.7.0,mypy==1.4.1,mypy-extensions==1.0.0,mypy-zope==1.0.1,networkx==3.1,ninja==1.11.1.1,nodeenv==1.8.0,packaging==23.2,pathspec==0.11.2,pip==23.3.1,pipdeptree==2.13.0,platformdirs==3.11.0,pluggy==1.3.0,pre-commit==3.5.0,psutil==5.9.6,pyasn1==0.5.0,pyasn1-modules==0.3.0,pycparser==2.21,pydot==1.4.2,Pygments==2.16.1,pylint==3.0.2,pyOpenSSL==23.2.0,pyparsing==3.1.1,pyproject-api==1.6.1,pyproject_hooks==1.0.0,pyre-check==0.9.19,pyre-extensions==0.0.30,pyright==1.1.333,python-dateutil==2.8.2,pytype==2023.6.2,pyupgrade==3.15.0,PyYAML==6.0.1,readthedocs-sphinx-search==0.3.1,requests==2.31.0,ruff==0.1.3,service-identity==23.1.0,setuptools==68.2.2,six==1.16.0,snowballstemmer==2.2.0,sortedcontainers==2.4.0,Sphinx==7.2.6,sphinx-copybutton==0.5.2,sphinx-rtd-theme==1.3.0,sphinxcontrib-applehelp==1.0.7,sphinxcontrib-devhelp==1.0.5,sphinxcontrib-htmlhelp==2.0.4,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-qthelp==1.0.6,sphinxcontrib-serializinghtml==1.1.9,tabulate==0.9.0,TestSlide==2.7.1,tftpy==0.8.2,tokenize-rt==5.2.0,toml==0.10.2,tomli==2.0.1,tomlkit==0.12.2,tox==4.11.3,treq==22.2.0,Twisted==23.10.0,typeguard==2.13.3,types-pyOpenSSL==23.3.0.0,types-python-dateutil==2.8.19.14,types-redis==4.6.0.7,types-requests==2.31.0.10,typing-inspect==0.9.0,typing_extensions==4.8.0,urllib3==2.0.7,virtualenv==20.24.6,wheel==0.41.2,yamllint==1.32.0,zope.event==5.0,zope.interface==6.1,zope.schema==7.0.1\n##[group]tox: typing - run static type checkers\ntyping: commands[0]> mypy --cache-dir=/home/runner/work/cowrie/cowrie/.tox/mypy_cache --config-file=/home/runner/work/cowrie/cowrie/pyproject.toml src\nSuccess: no issues found in 178 source files\ntyping: commands[1]> mypyc --cache-dir=/home/runner/work/cowrie/cowrie/.tox/mypyc_cache --config-file=/home/runner/work/cowrie/cowrie/pyproject.toml src\nTraceback (most recent call last):\n File \"mypyc/irbuild/prepare.py\", line 98, in build_type_map\n File \"mypyc/irbuild/prepare.py\", line 307, in prepare_class_def\n File \"mypyc/irbuild/prepare.py\", line 331, in prepare_methods_and_attributes\n File \"mypyc/irbuild/mapper.py\", line 143, in type_to_rtype\nsrc/cowrie/shell/protocol.py:25: AssertionError: unexpected type <class 'mypy.types.DeletedType'>\ntyping: exit 2 (27.33 seconds) /home/runner/work/cowrie/cowrie> mypyc --cache-dir=/home/runner/work/cowrie/cowrie/.tox/mypyc_cache --config-file=/home/runner/work/cowrie/cowrie/pyproject.toml src pid=2261\ntyping: command failed but is marked ignore outcome so handling it as success\ntyping: commands[2]> pytype --keep-going --jobs auto\nusage: pytype [options] input [input ...]\npytype: error: Need an input.\ntyping: exit 2 (0.92 seconds) /home/runner/work/cowrie/cowrie> pytype --keep-going --jobs auto pid=2279\ntyping: command failed but is marked ignore outcome so handling it as success\ntyping: commands[3]> pyre --noninteractive analyze\n2023-11-13 09:01:56,237 [PID 2286] INFO No binary specified, looking for `pyre.bin` in PATH\n2023-11-13 09:01:56,238 [PID 2286] INFO Pyre binary is located at `/home/runner/work/cowrie/cowrie/.tox/typing/bin/pyre.bin`\n2023-11-13 09:01:56,239 [PID 2286] INFO No typeshed specified, looking for it...\n2023-11-13 09:01:56,239 [PID 2286] INFO Found: `/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed`\n2023-11-13 09:01:56,243 [PID 2286] INFO Writing arguments into /tmp/pyre_arguments_480k7g42.json...\n2023-11-13 09:01:56,243 [PID 2286] DEBUG Arguments:\n{\n \"source_paths\": {\n \"kind\": \"simple\",\n \"paths\": [\n \"/home/runner/work/cowrie/cowrie/src\"\n ]\n },\n \"search_paths\": [\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stdlib\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/D3DShot\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/DateTimeRange\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/Deprecated\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/ExifRead\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/Flask-Cors\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/Flask-Migrate\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/Flask-SQLAlchemy\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/JACK-Client\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/Markdown\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/Pillow\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/PyAutoGUI\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/PyMySQL\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/PyScreeze\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/PyYAML\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/Pygments\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/SQLAlchemy\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/Send2Trash\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/aiofiles\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/annoy\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/appdirs\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/aws-xray-sdk\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/babel\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/backports.ssl_match_hostname\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/beautifulsoup4\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/bleach\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/boto\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/braintree\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/cachetools\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/caldav\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/cffi\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/chardet\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/chevron\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/click-spinner\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/colorama\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/commonmark\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/console-menu\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/contextvars\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/croniter\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/dateparser\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/decorator\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/dj-database-url\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/dockerfile-parse\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/docopt\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/docutils\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/editdistance\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/emoji\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/entrypoints\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/first\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/flake8-2020\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/flake8-bugbear\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/flake8-builtins\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/flake8-docstrings\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/flake8-plugin-utils\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/flake8-rst-docstrings\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/flake8-simplify\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/flake8-typing-imports\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/fpdf2\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/gdb\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/google-cloud-ndb\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/hdbcli\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/html5lib\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/httplib2\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/humanfriendly\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/ibm-db\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/influxdb-client\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/invoke\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/jmespath\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/jsonschema\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/keyboard\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/ldap3\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/mock\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/mypy-extensions\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/mysqlclient\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/netaddr\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/oauthlib\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/openpyxl\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/opentracing\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/paho-mqtt\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/paramiko\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/parsimonious\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/passlib\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/passpy\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/peewee\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/pep8-naming\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/pika\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/playsound\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/polib\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/prettytable\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/protobuf\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/psutil\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/psycopg2\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/pyOpenSSL\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/pyRFC3339\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/pyasn1\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/pyaudio\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/pycocotools\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/pycurl\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/pyfarmhash\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/pyflakes\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/pyinstaller\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/pynput\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/pyserial\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/pysftp\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/pytest-lazy-fixture\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/python-crontab\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/python-datemath\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/python-dateutil\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/python-gflags\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/python-jose\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/python-nmap\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/python-slugify\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/python-xlib\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/pytz\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/pyvmomi\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/pywin32\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/redis\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/regex\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/requests\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/retry\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/setuptools\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/simplejson\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/singledispatch\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/six\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/slumber\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/stdlib-list\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/stripe\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/tabulate\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/tensorflow\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/termcolor\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/toml\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/toposort\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/tqdm\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/tree-sitter\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/tree-sitter-languages\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/ttkthemes\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/typed-ast\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/tzlocal\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/ujson\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/untangle\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/urllib3\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/vobject\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/waitress\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/whatthepatch\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/xmltodict\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/xxhash\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/zstd\",\n \"/home/runner/work/cowrie/cowrie/.tox/typing/lib/pyre_check/typeshed/stubs/zxcvbn\"\n ],\n \"excludes\": [\n \".*/src/cowrie/output/.*\"\n ],\n \"checked_directory_allowlist\": [\n \"/home/runner/work/cowrie/cowrie/src\"\n ],\n \"checked_directory_blocklist\": [],\n \"extensions\": [],\n \"log_path\": \"/home/runner/work/cowrie/cowrie/.pyre\",\n \"global_root\": \"/home/runner/work/cowrie/cowrie\",\n \"debug\": false,\n \"python_version\": {\n \"major\": 3,\n \"minor\": 10,\n \"micro\": 13\n },\n \"shared_memory\": {},\n \"parallel\": true,\n \"number_of_workers\": 4,\n \"inline_decorators\": false,\n \"no_verify\": false,\n \"verify_dsl\": false,\n \"verify_taint_config_only\": false,\n \"strict\": false,\n \"taint_model_paths\": [],\n \"use_cache\": false,\n \"build_cache_only\": false,\n \"check_invariants\": false,\n \"limit_entrypoints\": false,\n \"compact_ocaml_heap\": false,\n \"saved_state\": {\n \"watchman_root\": null,\n \"project_name\": null,\n \"cache_critical_files\": []\n }\n}\n2023-11-13 09:01:56,290 [PID 2286] INFO Initializing shared memory (heap_size: 8589934592, dep_table_pow: 27, hash_table_pow: 26)\n2023-11-13 09:01:56,316 [PID 2286] INFO Verifying taint configuration.\n2023-11-13 09:01:56,332 [PID 2286] ERROR Found 1 taint configuration error!\n? No `.config` was found in the taint directories\ntyping: exit 9 (1.53 seconds) /home/runner/work/cowrie/cowrie> pyre --noninteractive analyze pid=2286\ntyping: command failed but is marked ignore outcome so handling it as success\ntyping: commands[4]> pyright src\n\nadded 1 package, and audited 2 packages in 3s\n\nfound 0 vulnerabilities\nnpm notice \nnpm notice New major version of npm available! 9.8.1 -> 10.2.3\nnpm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.3>\nnpm notice Run `npm install -g [email protected]` to update!\nnpm notice \n/home/runner/work/cowrie/cowrie/src/backend_pool/nat.py\n /home/runner/work/cowrie/cowrie/src/backend_pool/nat.py:17:40 - error: \"loseConnection\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/backend_pool/nat.py:39:17 - error: \"connectTCP\" is not a known member of module \"twisted.internet.reactor\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/backend_pool/nat.py:47:21 - error: \"callLater\" is not a known member of module \"twisted.internet.reactor\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/backend_pool/nat.py:51:44 - error: \n \u00a0\u00a0Could not bind method \"write\" because \"ITransport\" is not assignable to parameter \"data\"\n \u00a0\u00a0\u00a0\u00a0\"ITransport\" is incompatible with \"bytes\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/backend_pool/nat.py:51:44 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/backend_pool/nat.py:56:44 - error: \"loseConnection\" is not a known member of \"None\" (reportOptionalMemberAccess)\n/home/runner/work/cowrie/cowrie/src/backend_pool/pool_server.py\n /home/runner/work/cowrie/cowrie/src/backend_pool/pool_server.py:184:28 - error: \n \u00a0\u00a0Could not bind method \"write\" because \"ITransport\" is not assignable to parameter \"data\"\n \u00a0\u00a0\u00a0\u00a0\"ITransport\" is incompatible with \"bytes\" (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/backend_pool/pool_service.py\n /home/runner/work/cowrie/cowrie/src/backend_pool/pool_service.py:161:16 - error: Import \"libvirt\" could not be resolved (reportMissingImports)\n /home/runner/work/cowrie/cowrie/src/backend_pool/pool_service.py:191:16 - error: Import \"libvirt\" could not be resolved (reportMissingImports)\n /home/runner/work/cowrie/cowrie/src/backend_pool/pool_service.py:349:35 - error: \"None\" is not iterable (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/backend_pool/ssh_exec.py\n /home/runner/work/cowrie/cowrie/src/backend_pool/ssh_exec.py:30:19 - error: \"sendRequest\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/backend_pool/ssh_exec.py:39:19 - error: \"transport\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/backend_pool/ssh_exec.py:103:13 - error: \"connectTCP\" is not a known member of module \"twisted.internet.reactor\" (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/backend_pool/telnet_exec.py\n /home/runner/work/cowrie/cowrie/src/backend_pool/telnet_exec.py:61:46 - error: Cannot access member \"factory\" for type \"ITransport\"\n \u00a0\u00a0Member \"factory\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/backend_pool/telnet_exec.py:61:46 - error: \"factory\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/backend_pool/telnet_exec.py:94:24 - error: \"loseConnection\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/backend_pool/telnet_exec.py:139:17 - error: \"connectTCP\" is not a known member of module \"twisted.internet.reactor\" (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/backend_pool/libvirt/backend_service.py\n /home/runner/work/cowrie/cowrie/src/backend_pool/libvirt/backend_service.py:32:16 - error: Import \"libvirt\" could not be resolved (reportMissingImports)\n/home/runner/work/cowrie/cowrie/src/backend_pool/libvirt/guest_handler.py\n /home/runner/work/cowrie/cowrie/src/backend_pool/libvirt/guest_handler.py:22:12 - error: Import \"libvirt\" could not be resolved (reportMissingImports)\n/home/runner/work/cowrie/cowrie/src/backend_pool/libvirt/network_handler.py\n /home/runner/work/cowrie/cowrie/src/backend_pool/libvirt/network_handler.py:16:12 - error: Import \"libvirt\" could not be resolved (reportMissingImports)\n /home/runner/work/cowrie/cowrie/src/backend_pool/libvirt/network_handler.py:42:12 - error: Import \"libvirt\" could not be resolved (reportMissingImports)\n/home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:7:5 - warning: \"adduser\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:8:5 - warning: \"apt\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:9:5 - warning: \"awk\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:10:5 - warning: \"base\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:11:5 - warning: \"base64\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:12:5 - warning: \"busybox\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:13:5 - warning: \"cat\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:14:5 - warning: \"chmod\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:15:5 - warning: \"chpasswd\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:16:5 - warning: \"crontab\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:17:5 - warning: \"curl\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:18:5 - warning: \"dd\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:19:5 - warning: \"du\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:20:5 - warning: \"env\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:21:5 - warning: \"ethtool\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:22:5 - warning: \"finger\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:23:5 - warning: \"free\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:24:5 - warning: \"fs\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:25:5 - warning: \"ftpget\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:26:5 - warning: \"gcc\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:27:5 - warning: \"groups\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:28:5 - warning: \"ifconfig\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:29:5 - warning: \"iptables\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:30:5 - warning: \"last\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:31:5 - warning: \"locate\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:32:5 - warning: \"ls\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:33:5 - warning: \"nc\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:34:5 - warning: \"netstat\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:35:5 - warning: \"nohup\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:36:5 - warning: \"perl\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:37:5 - warning: \"ping\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:38:5 - warning: \"python\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:39:5 - warning: \"scp\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:40:5 - warning: \"service\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:41:5 - warning: \"sleep\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:42:5 - warning: \"ssh\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:43:5 - warning: \"sudo\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:44:5 - warning: \"tar\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:45:5 - warning: \"tee\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:46:5 - warning: \"tftp\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:47:5 - warning: \"ulimit\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:48:5 - warning: \"uname\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:49:5 - warning: \"uniq\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:50:5 - warning: \"unzip\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:51:5 - warning: \"uptime\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:52:5 - warning: \"wc\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:53:5 - warning: \"wget\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:54:5 - warning: \"which\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/__init__.py:55:5 - warning: \"yum\" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)\n/home/runner/work/cowrie/cowrie/src/cowrie/commands/chmod.py\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/chmod.py:74:16 - error: No overloads for \"fullmatch\" match the provided arguments (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/chmod.py:74:41 - error: Argument of type \"Unknown | str | None\" cannot be assigned to parameter \"string\" of type \"str\" in function \"fullmatch\"\n \u00a0\u00a0Type \"Unknown | str | None\" cannot be assigned to type \"str\"\n \u00a0\u00a0\u00a0\u00a0Type \"None\" cannot be assigned to type \"str\" (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/cowrie/commands/curl.py\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/curl.py:225:12 - error: Operator \"not in\" not supported for types \"Literal['://']\" and \"str | Unbound\"\n \u00a0\u00a0Operator \"not in\" not supported for types \"Literal['://']\" and \"Unbound\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/curl.py:225:25 - error: \"url\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/curl.py:226:31 - error: \"url\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/curl.py:227:48 - error: \"url\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/curl.py:247:20 - error: \"path\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/curl.py:254:20 - error: \"url\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/curl.py:256:47 - error: \"url\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/curl.py:259:12 - error: \"scheme\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/curl.py:259:33 - error: \"scheme\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/curl.py:261:40 - error: \"scheme\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/curl.py:269:40 - error: \"scheme\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/curl.py:272:44 - error: \"scheme\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/curl.py:285:43 - error: \"url\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/curl.py:432:17 - error: \"errormsg\" is possibly unbound (reportUnboundVariable)\n/home/runner/work/cowrie/cowrie/src/cowrie/commands/finger.py\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/finger.py:92:16 - error: \"args\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/finger.py:95:20 - error: \"args\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/finger.py:117:35 - error: \"args\" is possibly unbound (reportUnboundVariable)\n/home/runner/work/cowrie/cowrie/src/cowrie/commands/fs.py\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/fs.py:82:50 - error: \"args\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/fs.py:84:47 - error: \"args\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/fs.py:86:52 - error: \"args\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/fs.py:265:12 - error: \"inode\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/fs.py:265:29 - error: \"inode\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/fs.py:268:12 - error: \"inode\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/fs.py:271:29 - error: \"newpath\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/fs.py:487:16 - error: \"args\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/fs.py:493:25 - error: \"args\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/fs.py:493:36 - error: \"args\" is possibly unbound (reportUnboundVariable)\n/home/runner/work/cowrie/cowrie/src/cowrie/commands/perl.py\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/perl.py:87:22 - error: \"Unbound\" is not iterable (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/perl.py:87:22 - error: \"opts\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/perl.py:97:22 - error: \"Unbound\" is not iterable (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/perl.py:97:22 - error: \"args\" is possibly unbound (reportUnboundVariable)\n/home/runner/work/cowrie/cowrie/src/cowrie/commands/ssh.py\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/ssh.py:56:20 - error: \"Unbound\" is not iterable (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/ssh.py:56:20 - error: \"optlist\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/ssh.py:68:20 - error: \"args\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/ssh.py:73:30 - error: \"args\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/ssh.py:74:20 - error: \"Unbound\" is not iterable (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/ssh.py:74:20 - error: \"optlist\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/ssh.py:77:12 - error: \"args\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/ssh.py:78:26 - error: \"args\" is possibly unbound (reportUnboundVariable)\n/home/runner/work/cowrie/cowrie/src/cowrie/commands/tftp.py\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/tftp.py:22:34 - error: Argument of type \"bytes | None\" cannot be assigned to parameter \"__obj\" of type \"Sized\" in function \"len\"\n \u00a0\u00a0Type \"bytes | None\" cannot be assigned to type \"Sized\"\n \u00a0\u00a0\u00a0\u00a0\"__len__\" is not present (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/tftp.py:55:61 - error: \"metrics\" is not a known member of \"None\" (reportOptionalMemberAccess)\n/home/runner/work/cowrie/cowrie/src/cowrie/commands/wc.py\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/wc.py:113:48 - error: \"args\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/wc.py:115:45 - error: \"optlist\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/wc.py:117:50 - error: \"optlist\" is possibly unbound (reportUnboundVariable)\n/home/runner/work/cowrie/cowrie/src/cowrie/commands/wget.py\n /home/runner/work/cowrie/cowrie/src/cowrie/commands/wget.py:333:17 - error: \"errormsg\" is possibly unbound (reportUnboundVariable)\n/home/runner/work/cowrie/cowrie/src/cowrie/core/auth.py\n /home/runner/work/cowrie/cowrie/src/cowrie/core/auth.py:86:26 - error: Cannot access member \"search\" for type \"bytearray\"\n \u00a0\u00a0Member \"search\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/core/auth.py:86:26 - error: Cannot access member \"search\" for type \"memoryview\"\n \u00a0\u00a0Member \"search\" is unknown (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/cowrie/core/output.py\n /home/runner/work/cowrie/cowrie/src/cowrie/core/output.py:229:12 - error: \"sessionno\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/core/output.py:230:37 - error: \"sessionno\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/core/output.py:234:27 - error: \"sessionno\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/core/output.py:235:22 - error: \"sessionno\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/core/output.py:237:43 - error: \"sessionno\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/core/output.py:243:31 - error: \"sessionno\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/core/output.py:244:26 - error: \"sessionno\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/core/output.py:161:9 - error: Declaration \"ev\" is obscured by a declaration of the same name (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/cowrie/core/realm.py\n /home/runner/work/cowrie/cowrie/src/cowrie/core/realm.py:50:45 - error: Argument of type \"Self@HoneyPotRealm\" cannot be assigned to parameter \"realm\" of type \"IRealm\" in function \"__init__\"\n \u00a0\u00a0\"HoneyPotRealm\" is incompatible with \"IRealm\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/core/realm.py:51:20 - error: Expression of type \"CowrieUser\" cannot be assigned to declared type \"IConchUser\"\n \u00a0\u00a0\"CowrieUser\" is incompatible with \"IConchUser\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/core/realm.py:52:46 - error: Cannot access member \"logout\" for type \"IConchUser\"\n \u00a0\u00a0Member \"logout\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/core/realm.py:54:45 - error: Argument of type \"Self@HoneyPotRealm\" cannot be assigned to parameter \"realm\" of type \"IRealm\" in function \"__init__\"\n \u00a0\u00a0\"HoneyPotRealm\" is incompatible with \"IRealm\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/core/realm.py:55:20 - error: Expression of type \"HoneyPotTelnetSession\" cannot be assigned to declared type \"IConchUser\"\n \u00a0\u00a0\"HoneyPotTelnetSession\" is incompatible with \"IConchUser\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/core/realm.py:56:46 - error: Cannot access member \"logout\" for type \"IConchUser\"\n \u00a0\u00a0Member \"logout\" is unknown (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/cowrie/output/abuseipdb.py\n /home/runner/work/cowrie/cowrie/src/cowrie/output/abuseipdb.py:95:29 - error: \"callLater\" is not a known member of module \"twisted.internet.reactor\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/output/abuseipdb.py:222:31 - error: \"callLater\" is not a known member of module \"twisted.internet.reactor\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/output/abuseipdb.py:302:35 - error: \"callLater\" is not a known member of module \"twisted.internet.reactor\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/output/abuseipdb.py:317:17 - error: \"callInThread\" is not a known member of module \"twisted.internet.reactor\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/output/abuseipdb.py:119:16 - error: \"tolerated\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/output/abuseipdb.py:475:21 - error: \"callLater\" is not a known member of module \"twisted.internet.reactor\" (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/cowrie/output/csirtg.py\n /home/runner/work/cowrie/cowrie/src/cowrie/output/csirtg.py:17:8 - error: Import \"csirtgsdk\" could not be resolved (reportMissingImports)\n/home/runner/work/cowrie/cowrie/src/cowrie/output/datadog.py\n /home/runner/work/cowrie/cowrie/src/cowrie/output/datadog.py:40:44 - error: Argument of type \"WebClientContextFactory\" cannot be assigned to parameter \"contextFactory\" of type \"BrowserLikePolicyForHTTPS\" in function \"__init__\"\n \u00a0\u00a0\"WebClientContextFactory\" is incompatible with \"BrowserLikePolicyForHTTPS\" (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/cowrie/output/discord.py\n /home/runner/work/cowrie/cowrie/src/cowrie/output/discord.py:23:44 - error: Argument of type \"WebClientContextFactory\" cannot be assigned to parameter \"contextFactory\" of type \"BrowserLikePolicyForHTTPS\" in function \"__init__\"\n \u00a0\u00a0\"WebClientContextFactory\" is incompatible with \"BrowserLikePolicyForHTTPS\" (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/cowrie/output/dshield.py\n /home/runner/work/cowrie/cowrie/src/cowrie/output/dshield.py:173:25 - error: \"callFromThread\" is not a known member of module \"twisted.internet.reactor\" (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/cowrie/output/elasticsearch.py\n /home/runner/work/cowrie/cowrie/src/cowrie/output/elasticsearch.py:7:6 - error: Import \"elasticsearch\" could not be resolved (reportMissingImports)\n/home/runner/work/cowrie/cowrie/src/cowrie/output/graylog.py\n /home/runner/work/cowrie/cowrie/src/cowrie/output/graylog.py:24:44 - error: Argument of type \"WebClientContextFactory\" cannot be assigned to parameter \"contextFactory\" of type \"BrowserLikePolicyForHTTPS\" in function \"__init__\"\n \u00a0\u00a0\"WebClientContextFactory\" is incompatible with \"BrowserLikePolicyForHTTPS\" (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/cowrie/output/hpfeeds3.py\n /home/runner/work/cowrie/cowrie/src/cowrie/output/hpfeeds3.py:10:6 - error: Import \"hpfeeds.twisted\" could not be resolved (reportMissingImports)\n/home/runner/work/cowrie/cowrie/src/cowrie/output/influx.py\n /home/runner/work/cowrie/cowrie/src/cowrie/output/influx.py:4:6 - error: Import \"influxdb\" could not be resolved (reportMissingImports)\n /home/runner/work/cowrie/cowrie/src/cowrie/output/influx.py:5:6 - error: Import \"influxdb.exceptions\" could not be resolved (reportMissingImports)\n/home/runner/work/cowrie/cowrie/src/cowrie/output/misp.py\n /home/runner/work/cowrie/cowrie/src/cowrie/output/misp.py:6:6 - error: Import \"pymisp\" could not be resolved (reportMissingImports)\n /home/runner/work/cowrie/cowrie/src/cowrie/output/misp.py:14:10 - error: Import \"pymisp\" could not be resolved (reportMissingImports)\n /home/runner/work/cowrie/cowrie/src/cowrie/output/misp.py:16:10 - error: Import \"pymisp\" could not be resolved (reportMissingImports)\n/home/runner/work/cowrie/cowrie/src/cowrie/output/mongodb.py\n /home/runner/work/cowrie/cowrie/src/cowrie/output/mongodb.py:2:8 - error: Import \"pymongo\" could not be resolved (reportMissingImports)\n/home/runner/work/cowrie/cowrie/src/cowrie/output/mysql.py\n /home/runner/work/cowrie/cowrie/src/cowrie/output/mysql.py:15:8 - error: Import \"mysql.connector\" could not be resolved (reportMissingImports)\n/home/runner/work/cowrie/cowrie/src/cowrie/output/oraclecloud.py\n /home/runner/work/cowrie/cowrie/src/cowrie/output/oraclecloud.py:5:8 - error: Import \"oci\" could not be resolved (reportMissingImports)\n /home/runner/work/cowrie/cowrie/src/cowrie/output/oraclecloud.py:8:8 - error: Import \"oci\" could not be resolved (reportMissingImports)\n /home/runner/work/cowrie/cowrie/src/cowrie/output/oraclecloud.py:9:6 - error: Import \"oci\" could not be resolved (reportMissingImports)\n/home/runner/work/cowrie/cowrie/src/cowrie/output/redis.py\n /home/runner/work/cowrie/cowrie/src/cowrie/output/redis.py:5:8 - warning: Import \"redis\" could not be resolved from source (reportMissingModuleSource)\n/home/runner/work/cowrie/cowrie/src/cowrie/output/rethinkdblog.py\n /home/runner/work/cowrie/cowrie/src/cowrie/output/rethinkdblog.py:5:8 - error: Import \"rethinkdb\" could not be resolved (reportMissingImports)\n/home/runner/work/cowrie/cowrie/src/cowrie/output/s3.py\n /home/runner/work/cowrie/cowrie/src/cowrie/output/s3.py:11:6 - error: Import \"botocore.exceptions\" could not be resolved (reportMissingImports)\n /home/runner/work/cowrie/cowrie/src/cowrie/output/s3.py:12:6 - error: Import \"botocore.session\" could not be resolved (reportMissingImports)\n/home/runner/work/cowrie/cowrie/src/cowrie/output/slack.py\n /home/runner/work/cowrie/cowrie/src/cowrie/output/slack.py:34:6 - error: Import \"slack\" could not be resolved (reportMissingImports)\n/home/runner/work/cowrie/cowrie/src/cowrie/output/splunk.py\n /home/runner/work/cowrie/cowrie/src/cowrie/output/splunk.py:43:44 - error: Argument of type \"WebClientContextFactory\" cannot be assigned to parameter \"contextFactory\" of type \"BrowserLikePolicyForHTTPS\" in function \"__init__\"\n \u00a0\u00a0\"WebClientContextFactory\" is incompatible with \"BrowserLikePolicyForHTTPS\" (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/cowrie/output/virustotal.py\n /home/runner/work/cowrie/cowrie/src/cowrie/output/virustotal.py:97:44 - error: Argument of type \"WebClientContextFactory\" cannot be assigned to parameter \"contextFactory\" of type \"BrowserLikePolicyForHTTPS\" in function \"__init__\"\n \u00a0\u00a0\"WebClientContextFactory\" is incompatible with \"BrowserLikePolicyForHTTPS\" (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/cowrie/output/xmpp.py\n /home/runner/work/cowrie/cowrie/src/cowrie/output/xmpp.py:6:6 - error: Import \"wokkel\" could not be resolved (reportMissingImports)\n /home/runner/work/cowrie/cowrie/src/cowrie/output/xmpp.py:7:6 - error: Import \"wokkel.client\" could not be resolved (reportMissingImports)\n /home/runner/work/cowrie/cowrie/src/cowrie/output/xmpp.py:8:6 - error: Import \"wokkel.xmppim\" could not be resolved (reportMissingImports)\n /home/runner/work/cowrie/cowrie/src/cowrie/output/xmpp.py:79:52 - error: Operator \"+\" not supported for \"None\" (reportOptionalOperand)\n /home/runner/work/cowrie/cowrie/src/cowrie/output/xmpp.py:72:56 - error: Argument of type \"list[str | None]\" cannot be assigned to parameter \"tuple\" of type \"Tuple[str | None, str, str | None] | None\" in function \"__init__\"\n \u00a0\u00a0Type \"list[str | None]\" cannot be assigned to type \"Tuple[str | None, str, str | None] | None\"\n \u00a0\u00a0\u00a0\u00a0\"list[str | None]\" is incompatible with \"Tuple[str | None, str, str | None]\"\n \u00a0\u00a0\u00a0\u00a0Type cannot be assigned to type \"None\" (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/cowrie/pool_interface/client.py\n /home/runner/work/cowrie/cowrie/src/cowrie/pool_interface/client.py:43:24 - error: \n \u00a0\u00a0Could not bind method \"write\" because \"ITransport\" is not assignable to parameter \"data\"\n \u00a0\u00a0\u00a0\u00a0\"ITransport\" is incompatible with \"bytes\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/pool_interface/client.py:43:24 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/pool_interface/client.py:49:24 - error: \n \u00a0\u00a0Could not bind method \"write\" because \"ITransport\" is not assignable to parameter \"data\"\n \u00a0\u00a0\u00a0\u00a0\"ITransport\" is incompatible with \"bytes\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/pool_interface/client.py:49:24 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/pool_interface/client.py:56:28 - error: \n \u00a0\u00a0Could not bind method \"write\" because \"ITransport\" is not assignable to parameter \"data\"\n \u00a0\u00a0\u00a0\u00a0\"ITransport\" is incompatible with \"bytes\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/pool_interface/client.py:56:28 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n/home/runner/work/cowrie/cowrie/src/cowrie/python/logfile.py\n /home/runner/work/cowrie/cowrie/src/cowrie/python/logfile.py:42:32 - error: Argument of type \"CowrieDailyLogFile\" cannot be assigned to parameter \"outFile\" of type \"IO[Any]\" in function \"textFileLogObserver\"\n \u00a0\u00a0\"CowrieDailyLogFile\" is incompatible with \"IO[Any]\" (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/cowrie/scripts/createfs.py\n /home/runner/work/cowrie/cowrie/src/cowrie/scripts/createfs.py:169:17 - error: \"Unbound\" is not iterable (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/scripts/createfs.py:169:17 - error: \"optlist\" is possibly unbound (reportUnboundVariable)\n/home/runner/work/cowrie/cowrie/src/cowrie/scripts/playlog.py\n /home/runner/work/cowrie/cowrie/src/cowrie/scripts/playlog.py:110:30 - error: \"Unbound\" is not iterable (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/scripts/playlog.py:110:30 - error: \"optlist\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/scripts/playlog.py:115:17 - error: \"Unbound\" is not iterable (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/scripts/playlog.py:115:17 - error: \"optlist\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/scripts/playlog.py:129:12 - error: \"args\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/scripts/playlog.py:133:24 - error: \"Unbound\" is not iterable (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/scripts/playlog.py:133:24 - error: \"args\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/scripts/playlog.py:137:56 - error: \"logfile\" is possibly unbound (reportUnboundVariable)\n/home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:142:16 - error: \"cmd_expr\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:142:25 - error: \"pos\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:173:40 - error: Operator \"+\" not supported for types \"str | Unbound | Unknown\" and \"Literal[' ']\"\n \u00a0\u00a0Operator \"+\" not supported for types \"Unbound\" and \"Literal[' ']\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:146:24 - error: \"cmd_expr\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:148:34 - error: \"cmd_expr\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:148:45 - error: \"pos\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:151:25 - error: Operator \"+=\" not supported for types \"Unbound | str | Unknown\" and \"str\"\n \u00a0\u00a0Operator \"+\" not supported for types \"Unbound\" and \"str\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:151:25 - error: \"result\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:151:61 - error: \"cmd_expr\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:151:72 - error: \"pos\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:154:24 - error: \"pos\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:154:34 - error: \"cmd_expr\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:155:37 - error: \"cmd_expr\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:155:46 - error: \"pos\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:161:21 - error: \"pos\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:162:18 - error: \"cmd_expr\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:162:27 - error: \"pos\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:162:33 - error: \"pos\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:165:17 - error: \"pos\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:167:54 - error: \"pos\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:167:65 - error: \"cmd_expr\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:173:40 - error: \"cmd_expr\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:175:21 - error: Operator \"+=\" not supported for types \"Unbound | str | Unknown\" and \"str | Unknown\"\n \u00a0\u00a0Operator \"+\" not supported for types \"Unbound\" and \"str\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:175:21 - error: \"result\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:175:31 - error: \"cmd_expr\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:175:40 - error: \"pos\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:176:17 - error: \"pos\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:178:16 - error: \"result\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:337:44 - error: \"cmdclass\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:412:12 - error: \"basedir\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:416:19 - error: \"basedir\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:417:16 - error: \"basedir\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:442:56 - error: \"basedir\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/honeypot.py:455:43 - error: \"basedir\" is possibly unbound (reportUnboundVariable)\n/home/runner/work/cowrie/cowrie/src/cowrie/shell/protocol.py\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/protocol.py:77:30 - error: Cannot access member \"transport\" for type \"None\"\n \u00a0\u00a0Member \"transport\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/protocol.py:84:22 - error: \"logDispatch\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/protocol.py:95:65 - error: \"server\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/protocol.py:121:23 - error: Cannot access member \"transport\" for type \"None\"\n \u00a0\u00a0Member \"transport\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/protocol.py:160:28 - error: \"resolve_path\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/protocol.py:161:28 - error: \"exists\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/protocol.py:164:34 - error: \"resolve_path\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/protocol.py:165:28 - error: \"exists\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/protocol.py:218:23 - error: Cannot access member \"transport\" for type \"None\"\n \u00a0\u00a0Member \"transport\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/protocol.py:285:27 - error: Cannot access member \"write\" for type \"None\"\n \u00a0\u00a0Member \"write\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/protocol.py:285:41 - error: \"file_contents\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/protocol.py:293:23 - error: Cannot access member \"write\" for type \"None\"\n \u00a0\u00a0Member \"write\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/protocol.py:344:23 - error: Cannot access member \"eraseToLineEnd\" for type \"None\"\n \u00a0\u00a0Member \"eraseToLineEnd\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/protocol.py:322:27 - error: Cannot access member \"write\" for type \"None\"\n \u00a0\u00a0Member \"write\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/protocol.py:352:23 - error: Cannot access member \"eraseDisplay\" for type \"None\"\n \u00a0\u00a0Member \"eraseDisplay\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/protocol.py:353:23 - error: Cannot access member \"cursorHome\" for type \"None\"\n \u00a0\u00a0Member \"cursorHome\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/protocol.py:358:27 - error: Cannot access member \"cursorBackward\" for type \"None\"\n \u00a0\u00a0Member \"cursorBackward\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/protocol.py:359:27 - error: Cannot access member \"deleteCharacter\" for type \"None\"\n \u00a0\u00a0Member \"deleteCharacter\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/shell/protocol.py:384:30 - error: Cannot access member \"transport\" for type \"None\"\n \u00a0\u00a0Member \"transport\" is unknown (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/cowrie/ssh/channel.py\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh/channel.py:58:23 - error: \"transport\" is not a known member of \"None\" (reportOptionalMemberAccess)\n/home/runner/work/cowrie/cowrie/src/cowrie/ssh/connection.py\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh/connection.py:57:28 - error: Cannot access member \"sendPacket\" for type \"None\"\n \u00a0\u00a0Member \"sendPacket\" is unknown (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/cowrie/ssh/factory.py\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh/factory.py:60:28 - error: Cannot access member \"tac\" for type \"CowrieSSHFactory\"\n \u00a0\u00a0Member \"tac\" is unknown (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/cowrie/ssh/forwarding.py\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh/forwarding.py:174:16 - error: \"res_code\" is possibly unbound (reportUnboundVariable)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh/forwarding.py:175:54 - error: \"res_code\" is possibly unbound (reportUnboundVariable)\n/home/runner/work/cowrie/cowrie/src/cowrie/ssh/session.py\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh/session.py:37:26 - error: Cannot access member \"environ\" for type \"ISession\"\n \u00a0\u00a0Member \"environ\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh/session.py:68:19 - error: \"sendEOF\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh/session.py:74:19 - error: \"sendClose\" is not a known member of \"None\" (reportOptionalMemberAccess)\n/home/runner/work/cowrie/cowrie/src/cowrie/ssh/userauth.py\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh/userauth.py:36:9 - error: Argument of type \"type[IUsername]\" cannot be assigned to parameter \"__key\" of type \"type[ISSHPrivateKey] | type[IUsernamePassword]\" in function \"__setitem__\"\n \u00a0\u00a0Type \"type[IUsername]\" cannot be assigned to type \"type[ISSHPrivateKey] | type[IUsernamePassword]\"\n \u00a0\u00a0\u00a0\u00a0\"type[IUsername]\" is incompatible with \"type[ISSHPrivateKey]\"\n \u00a0\u00a0\u00a0\u00a0Type \"type[IUsername]\" cannot be assigned to type \"type[ISSHPrivateKey]\"\n \u00a0\u00a0\u00a0\u00a0\"type[IUsername]\" is incompatible with \"type[IUsernamePassword]\"\n \u00a0\u00a0\u00a0\u00a0Type \"type[IUsername]\" cannot be assigned to type \"type[IUsernamePassword]\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh/userauth.py:43:13 - error: Argument of type \"type[IPluggableAuthenticationModulesIP]\" cannot be assigned to parameter \"__key\" of type \"type[ISSHPrivateKey] | type[IUsernamePassword]\" in function \"__setitem__\"\n \u00a0\u00a0Type \"type[IPluggableAuthenticationModulesIP]\" cannot be assigned to type \"type[ISSHPrivateKey] | type[IUsernamePassword]\"\n \u00a0\u00a0\u00a0\u00a0\"type[IPluggableAuthenticationModulesIP]\" is incompatible with \"type[ISSHPrivateKey]\"\n \u00a0\u00a0\u00a0\u00a0Type \"type[IPluggableAuthenticationModulesIP]\" cannot be assigned to type \"type[ISSHPrivateKey]\"\n \u00a0\u00a0\u00a0\u00a0\"type[IPluggableAuthenticationModulesIP]\" is incompatible with \"type[IUsernamePassword]\"\n \u00a0\u00a0\u00a0\u00a0Type \"type[IPluggableAuthenticationModulesIP]\" cannot be assigned to type \"type[IUsernamePassword]\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh/userauth.py:65:24 - error: Cannot access member \"sendPacket\" for type \"None\"\n \u00a0\u00a0Member \"sendPacket\" is unknown (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/client_transport.py\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/client_transport.py:55:63 - error: \"getPeer\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/client_transport.py:55:73 - error: Cannot access member \"host\" for type \"IAddress\"\n \u00a0\u00a0Member \"host\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/client_transport.py:129:24 - error: Cannot access member \"connectionLost\" for type \"ITransport\"\n \u00a0\u00a0Member \"connectionLost\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/client_transport.py:129:24 - error: \"connectionLost\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/client_transport.py:142:24 - error: \"loseConnection\" is not a known member of \"None\" (reportOptionalMemberAccess)\n/home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:95:39 - error: \"getPeer\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:95:49 - error: Cannot access member \"host\" for type \"IAddress\"\n \u00a0\u00a0Member \"host\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:96:41 - error: \"getPeer\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:96:51 - error: Cannot access member \"port\" for type \"IAddress\"\n \u00a0\u00a0Member \"port\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:97:40 - error: \"getHost\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:97:50 - error: Cannot access member \"host\" for type \"IAddress\"\n \u00a0\u00a0Member \"host\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:98:42 - error: \"getHost\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:98:52 - error: Cannot access member \"port\" for type \"IAddress\"\n \u00a0\u00a0Member \"port\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:100:24 - error: \n \u00a0\u00a0Could not bind method \"write\" because \"ITransport\" is not assignable to parameter \"data\"\n \u00a0\u00a0\u00a0\u00a0\"ITransport\" is incompatible with \"bytes\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:100:24 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:110:37 - error: \"getPeer\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:110:47 - error: Cannot access member \"port\" for type \"IAddress\"\n \u00a0\u00a0Member \"port\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:112:37 - error: \"getHost\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:112:47 - error: Cannot access member \"port\" for type \"IAddress\"\n \u00a0\u00a0Member \"port\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:114:42 - error: Cannot access member \"sessionno\" for type \"ITransport\"\n \u00a0\u00a0Member \"sessionno\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:114:42 - error: \"sessionno\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:124:30 - error: Cannot access member \"pool_handler\" for type \"Factory\"\n \u00a0\u00a0Member \"pool_handler\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:124:30 - error: \"pool_handler\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:137:24 - error: \"loseConnection\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:163:24 - error: \"loseConnection\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:197:24 - error: \n \u00a0\u00a0Could not bind method \"write\" because \"ITransport\" is not assignable to parameter \"data\"\n \u00a0\u00a0\u00a0\u00a0\"ITransport\" is incompatible with \"bytes\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:197:24 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:198:24 - error: \"loseConnection\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:228:36 - error: \n \u00a0\u00a0Could not bind method \"write\" because \"ITransport\" is not assignable to parameter \"data\"\n \u00a0\u00a0\u00a0\u00a0\"ITransport\" is incompatible with \"bytes\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:270:44 - error: \"append\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:293:24 - error: \n \u00a0\u00a0Could not bind method \"write\" because \"ITransport\" is not assignable to parameter \"data\"\n \u00a0\u00a0\u00a0\u00a0\"ITransport\" is incompatible with \"bytes\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:293:24 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:337:26 - error: \"client\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:337:51 - error: \"client\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:338:27 - error: \"client\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:362:24 - error: Cannot access member \"connectionLost\" for type \"ITransport\"\n \u00a0\u00a0Member \"connectionLost\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:362:24 - error: \"connectionLost\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:366:26 - error: \"client\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:366:51 - error: \"client\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:367:27 - error: \"client\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:371:71 - error: \"client\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:371:38 - error: \"client\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:400:28 - error: \n \u00a0\u00a0Could not bind method \"write\" because \"ITransport\" is not assignable to parameter \"data\"\n \u00a0\u00a0\u00a0\u00a0\"ITransport\" is incompatible with \"bytes\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:400:28 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:402:28 - error: \"loseConnection\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py:431:31 - error: \"parse_num_packet\" is not a known member of \"None\" (reportOptionalMemberAccess)\n/home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/userauth.py\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/userauth.py:30:24 - error: Cannot access member \"sendPacket\" for type \"None\"\n \u00a0\u00a0Member \"sendPacket\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/userauth.py:31:24 - error: Cannot assign member \"frontendAuthenticated\" for type \"None\"\n \u00a0\u00a0Member \"frontendAuthenticated\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/userauth.py:34:27 - error: Cannot access member \"sshParse\" for type \"None\"\n \u00a0\u00a0Member \"sshParse\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/ssh_proxy/userauth.py:35:28 - error: Cannot access member \"sshParse\" for type \"None\"\n \u00a0\u00a0Member \"sshParse\" is unknown (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/cowrie/telnet/factory.py\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/factory.py:45:32 - error: Cannot access member \"output_plugins\" for type \"IPlugin\"\n \u00a0\u00a0Member \"output_plugins\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/factory.py:81:13 - error: Object of type \"None\" cannot be called (reportOptionalCall)\n/home/runner/work/cowrie/cowrie/src/cowrie/telnet/session.py\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/session.py:71:27 - error: Cannot access member \"options\" for type \"ITransport\"\n \u00a0\u00a0Member \"options\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/session.py:71:27 - error: \"options\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/session.py:72:28 - error: Cannot access member \"willChain\" for type \"ITransport\"\n \u00a0\u00a0Member \"willChain\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/session.py:72:28 - error: \"willChain\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/session.py:73:28 - error: Cannot access member \"willChain\" for type \"ITransport\"\n \u00a0\u00a0Member \"willChain\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/session.py:73:28 - error: \"willChain\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/session.py:111:22 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/session.py:123:26 - error: \"conn\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/session.py:134:22 - error: \"loseConnection\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/session.py:143:22 - error: \"loseConnection\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/session.py:149:29 - error: \"transport\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/session.py:155:29 - error: \"transport\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/session.py:158:22 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/session.py:161:22 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/session.py:164:22 - error: \"loseConnection\" is not a known member of \"None\" (reportOptionalMemberAccess)\n/home/runner/work/cowrie/cowrie/src/cowrie/telnet/transport.py\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/transport.py:28:36 - error: Cannot access member \"sessionno\" for type \"ITransport\"\n \u00a0\u00a0Member \"sessionno\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/transport.py:28:36 - error: \"sessionno\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/transport.py:37:35 - error: \"getPeer\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/transport.py:37:45 - error: Cannot access member \"host\" for type \"IAddress\"\n \u00a0\u00a0Member \"host\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/transport.py:38:37 - error: \"getPeer\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/transport.py:38:47 - error: Cannot access member \"port\" for type \"IAddress\"\n \u00a0\u00a0Member \"port\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/transport.py:39:35 - error: \"getHost\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/transport.py:39:45 - error: Cannot access member \"host\" for type \"IAddress\"\n \u00a0\u00a0Member \"host\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/transport.py:40:37 - error: \"getHost\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/transport.py:40:47 - error: Cannot access member \"port\" for type \"IAddress\"\n \u00a0\u00a0Member \"port\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/transport.py:56:24 - error: \n \u00a0\u00a0Could not bind method \"write\" because \"ITransport\" is not assignable to parameter \"data\"\n \u00a0\u00a0\u00a0\u00a0\"ITransport\" is incompatible with \"bytes\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/transport.py:56:24 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/transport.py:64:24 - error: \"loseConnection\" is not a known member of \"None\" (reportOptionalMemberAccess)\n/home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:45:24 - error: \n \u00a0\u00a0Could not bind method \"write\" because \"ITransport\" is not assignable to parameter \"data\"\n \u00a0\u00a0\u00a0\u00a0\"ITransport\" is incompatible with \"bytes\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:45:24 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:45:43 - error: Cannot access member \"banner\" for type \"Factory\"\n \u00a0\u00a0Member \"banner\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:45:43 - error: \"banner\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:46:24 - error: \n \u00a0\u00a0Could not bind method \"write\" because \"ITransport\" is not assignable to parameter \"data\"\n \u00a0\u00a0\u00a0\u00a0\"ITransport\" is incompatible with \"bytes\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:46:24 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:61:24 - error: Cannot access member \"willChain\" for type \"ITransport\"\n \u00a0\u00a0Member \"willChain\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:61:24 - error: \"willChain\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:63:24 - error: \n \u00a0\u00a0Could not bind method \"write\" because \"ITransport\" is not assignable to parameter \"data\"\n \u00a0\u00a0\u00a0\u00a0\"ITransport\" is incompatible with \"bytes\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:63:24 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:71:42 - error: \"getPeer\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:71:52 - error: Cannot access member \"host\" for type \"IAddress\"\n \u00a0\u00a0Member \"host\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:71:18 - error: Cannot assign member \"src_ip\" for type \"HoneyPotTelnetAuthProtocol\"\n \u00a0\u00a0Member \"src_ip\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:72:65 - error: Cannot access member \"src_ip\" for type \"HoneyPotTelnetAuthProtocol\"\n \u00a0\u00a0Member \"src_ip\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:73:47 - error: Cannot access member \"src_ip\" for type \"HoneyPotTelnetAuthProtocol\"\n \u00a0\u00a0Member \"src_ip\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:104:24 - error: \n \u00a0\u00a0Could not bind method \"write\" because \"ITransport\" is not assignable to parameter \"data\"\n \u00a0\u00a0\u00a0\u00a0\"ITransport\" is incompatible with \"bytes\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:104:24 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:107:24 - error: Cannot access member \"setTimeout\" for type \"ITransport\"\n \u00a0\u00a0Member \"setTimeout\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:107:24 - error: \"setTimeout\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:117:24 - error: Cannot access member \"wontChain\" for type \"ITransport\"\n \u00a0\u00a0Member \"wontChain\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:117:24 - error: \"wontChain\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:118:24 - error: \n \u00a0\u00a0Could not bind method \"write\" because \"ITransport\" is not assignable to parameter \"data\"\n \u00a0\u00a0\u00a0\u00a0\"ITransport\" is incompatible with \"bytes\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:118:24 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:119:24 - error: \n \u00a0\u00a0Could not bind method \"write\" because \"ITransport\" is not assignable to parameter \"data\"\n \u00a0\u00a0\u00a0\u00a0\"ITransport\" is incompatible with \"bytes\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:119:24 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:78:27 - error: Cannot access member \"options\" for type \"ITransport\"\n \u00a0\u00a0Member \"options\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:78:27 - error: \"options\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:83:28 - error: Cannot access member \"wontChain\" for type \"ITransport\"\n \u00a0\u00a0Member \"wontChain\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:83:28 - error: \"wontChain\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:91:24 - error: Cannot access member \"protocol\" for type \"ITransport\"\n \u00a0\u00a0Member \"protocol\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:91:24 - error: \"protocol\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:113:24 - error: Cannot assign member \"protocol\" for type \"ITransport\"\n \u00a0\u00a0Member \"protocol\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet/userauth.py:113:24 - error: \"protocol\" is not a known member of \"None\" (reportOptionalMemberAccess)\n/home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:20:66 - error: \"getPeer\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:20:76 - error: Cannot access member \"host\" for type \"IAddress\"\n \u00a0\u00a0Member \"host\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:21:43 - error: Cannot access member \"server\" for type \"Factory\"\n \u00a0\u00a0Member \"server\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:21:43 - error: \"server\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:25:22 - error: Cannot access member \"server\" for type \"Factory\"\n \u00a0\u00a0Member \"server\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:25:22 - error: \"server\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:27:36 - error: Cannot access member \"server\" for type \"Factory\"\n \u00a0\u00a0Member \"server\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:27:36 - error: \"server\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:28:28 - error: \n \u00a0\u00a0Could not bind method \"write\" because \"ITransport\" is not assignable to parameter \"data\"\n \u00a0\u00a0\u00a0\u00a0\"ITransport\" is incompatible with \"bytes\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:28:28 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:29:22 - error: Cannot access member \"server\" for type \"Factory\"\n \u00a0\u00a0Member \"server\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:29:22 - error: \"server\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:36:22 - error: Cannot access member \"server\" for type \"Factory\"\n \u00a0\u00a0Member \"server\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:36:22 - error: \"server\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:39:28 - error: \"close\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:49:24 - error: \"loseConnection\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:50:22 - error: Cannot access member \"server\" for type \"Factory\"\n \u00a0\u00a0Member \"server\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:50:22 - error: \"server\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:53:28 - error: \"close\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:56:28 - error: \"addPacket\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:59:24 - error: \n \u00a0\u00a0Could not bind method \"write\" because \"ITransport\" is not assignable to parameter \"data\"\n \u00a0\u00a0\u00a0\u00a0\"ITransport\" is incompatible with \"bytes\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:59:24 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:66:22 - error: Cannot access member \"server\" for type \"Factory\"\n \u00a0\u00a0Member \"server\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/client_transport.py:66:22 - error: \"server\" is not a known member of \"None\" (reportOptionalMemberAccess)\n/home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:53:36 - error: Cannot access member \"sessionno\" for type \"ITransport\"\n \u00a0\u00a0Member \"sessionno\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:53:36 - error: \"sessionno\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:55:39 - error: \"getPeer\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:55:49 - error: Cannot access member \"host\" for type \"IAddress\"\n \u00a0\u00a0Member \"host\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:56:41 - error: \"getPeer\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:56:51 - error: Cannot access member \"port\" for type \"IAddress\"\n \u00a0\u00a0Member \"port\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:57:40 - error: \"getHost\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:57:50 - error: Cannot access member \"host\" for type \"IAddress\"\n \u00a0\u00a0Member \"host\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:58:42 - error: \"getHost\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:58:52 - error: Cannot access member \"port\" for type \"IAddress\"\n \u00a0\u00a0Member \"port\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:63:35 - error: \"getPeer\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:63:45 - error: Cannot access member \"host\" for type \"IAddress\"\n \u00a0\u00a0Member \"host\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:64:37 - error: \"getPeer\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:64:47 - error: Cannot access member \"port\" for type \"IAddress\"\n \u00a0\u00a0Member \"port\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:65:35 - error: \"getHost\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:65:45 - error: Cannot access member \"host\" for type \"IAddress\"\n \u00a0\u00a0Member \"host\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:66:37 - error: \"getHost\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:66:47 - error: Cannot access member \"port\" for type \"IAddress\"\n \u00a0\u00a0Member \"port\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:80:30 - error: Cannot access member \"pool_handler\" for type \"Factory\"\n \u00a0\u00a0Member \"pool_handler\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:80:30 - error: \"pool_handler\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:93:24 - error: \"loseConnection\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:119:24 - error: \"loseConnection\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:132:24 - error: Cannot assign member \"server\" for type \"BackendTelnetFactory\"\n \u00a0\u00a0Member \"server\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:143:24 - error: \n \u00a0\u00a0Could not bind method \"write\" because \"ITransport\" is not assignable to parameter \"data\"\n \u00a0\u00a0\u00a0\u00a0\"ITransport\" is incompatible with \"bytes\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:143:24 - error: \"write\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:196:28 - error: Cannot access member \"backendConnected\" for type \"None\"\n \u00a0\u00a0Member \"backendConnected\" is unknown (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/telnet_proxy/server_transport.py:204:29 - error: Cannot access member \"transport\" for type \"None\"\n \u00a0\u00a0Member \"transport\" is unknown (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/cowrie/test/fake_transport.py\n /home/runner/work/cowrie/cowrie/src/cowrie/test/fake_transport.py:103:13 - error: Argument of type \"Literal[True]\" cannot be assigned to parameter \"__value\" of type \"(...) -> Unknown\" in function \"__setitem__\"\n \u00a0\u00a0Type \"Literal[True]\" cannot be assigned to type \"(...) -> Unknown\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/test/fake_transport.py:133:14 - error: Cannot assign member \"modes\" for type \"FakeTransport\"\n \u00a0\u00a0Member \"modes\" cannot be assigned through a class instance because it is a ClassVar (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/test/fake_transport.py:164:55 - error: Cannot assign member \"sessions\" for type \"Container\"\n \u00a0\u00a0Member \"sessions\" cannot be assigned through a class instance because it is a ClassVar (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/cowrie/test/test_base_commands.py\n /home/runner/work/cowrie/cowrie/src/cowrie/test/test_base_commands.py:192:24 - error: \"file_contents\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/test/test_base_commands.py:268:39 - error: \"exists\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/test/test_base_commands.py:269:39 - error: \"isdir\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/test/test_base_commands.py:288:40 - error: \"exists\" is not a known member of \"None\" (reportOptionalMemberAccess)\n /home/runner/work/cowrie/cowrie/src/cowrie/test/test_base_commands.py:307:39 - error: \"exists\" is not a known member of \"None\" (reportOptionalMemberAccess)\n/home/runner/work/cowrie/cowrie/src/cowrie/test/test_proxy.py\n /home/runner/work/cowrie/cowrie/src/cowrie/test/test_proxy.py:26:36 - error: Argument of type \"HoneyPotRealm\" cannot be assigned to parameter \"realm\" of type \"IRealm\" in function \"__init__\"\n \u00a0\u00a0\"HoneyPotRealm\" is incompatible with \"IRealm\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/test/test_proxy.py:27:36 - error: Argument of type \"HoneypotPublicKeyChecker\" cannot be assigned to parameter \"checker\" of type \"ICredentialsChecker\" in function \"registerChecker\"\n \u00a0\u00a0\"HoneypotPublicKeyChecker\" is incompatible with \"ICredentialsChecker\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/test/test_proxy.py:28:36 - error: Argument of type \"HoneypotPasswordChecker\" cannot be assigned to parameter \"checker\" of type \"ICredentialsChecker\" in function \"registerChecker\"\n \u00a0\u00a0\"HoneypotPasswordChecker\" is incompatible with \"ICredentialsChecker\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/test/test_proxy.py:69:41 - error: \"listenTCP\" is not a known member of module \"twisted.internet.reactor\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/test/test_proxy.py:85:41 - error: \"listenTCP\" is not a known member of module \"twisted.internet.reactor\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/cowrie/test/test_proxy.py:97:46 - error: Cannot access member \"running\" for type \"CowrieSSHFactory\"\n \u00a0\u00a0Member \"running\" is unknown (reportGeneralTypeIssues)\n/home/runner/work/cowrie/cowrie/src/twisted/plugins/cowrie_plugin.py\n /home/runner/work/cowrie/cowrie/src/twisted/plugins/cowrie_plugin.py:85:32 - error: Argument of type \"(event: dict[Unknown, Unknown]) -> None\" cannot be assigned to parameter \"observer\" of type \"ILogObserver\" in function \"addObserver\"\n \u00a0\u00a0\"function\" is incompatible with \"ILogObserver\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/twisted/plugins/cowrie_plugin.py:239:49 - error: \"realm\" is not a known member of module \"cowrie.core\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/twisted/plugins/cowrie_plugin.py:240:49 - error: \"checkers\" is not a known member of module \"cowrie.core\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/twisted/plugins/cowrie_plugin.py:241:49 - error: \"checkers\" is not a known member of module \"cowrie.core\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/twisted/plugins/cowrie_plugin.py:244:53 - error: \"checkers\" is not a known member of module \"cowrie.core\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/twisted/plugins/cowrie_plugin.py:259:21 - error: Cannot assign member \"tac\" for type \"HoneyPotTelnetFactory\"\n \u00a0\u00a0\"CowrieServiceMaker\" is incompatible with \"IPlugin\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/twisted/plugins/cowrie_plugin.py:260:43 - error: \"realm\" is not a known member of module \"cowrie.core\" (reportGeneralTypeIssues)\n /home/runner/work/cowrie/cowrie/src/twisted/plugins/cowrie_plugin.py:261:43 - error: \"checkers\" is not a known member of module \"cowrie.core\" (reportGeneralTypeIssues)\n385 errors, 50 warnings, 0 informations \nWARNING: there is a new pyright version available (v1.1.333 -> v1.1.335).\nPlease install the new version or set PYRIGHT_PYTHON_FORCE_VERSION to `latest`\n\ntyping: exit 1 (21.96 seconds) /home/runner/work/cowrie/cowrie> pyright src pid=2326\ntyping: command failed but is marked ignore outcome so handling it as success\n##[endgroup]\ntyping: OK \u2714 in 1 minute 45.12 seconds\npy310: install_deps> python -I -m pip install -r /home/runner/work/cowrie/cowrie/requirements.txt\npy310: freeze> python -m pip freeze --all\npy310: appdirs==1.4.4,attrs==23.1.0,Automat==22.10.0,bcrypt==4.0.1,certifi==2023.7.22,cffi==1.16.0,charset-normalizer==3.3.2,configparser==6.0.0,constantly==23.10.4,cryptography==41.0.4,hyperlink==21.0.0,idna==3.4,incremental==22.10.0,packaging==23.2,pip==23.3.1,pyasn1==0.5.0,pyasn1-modules==0.3.0,pycparser==2.21,pyOpenSSL==23.2.0,pyparsing==3.1.1,python-dateutil==2.8.2,requests==2.31.0,service-identity==23.1.0,setuptools==68.2.2,six==1.16.0,tftpy==0.8.2,treq==22.2.0,Twisted==23.10.0,typing_extensions==4.8.0,urllib3==2.0.7,wheel==0.41.2,zope.interface==6.1\n##[group]tox: py310\npy310: commands[0]> python -m unittest discover src --verbose\n/home/runner/work/cowrie/cowrie/.tox/py310/lib/python3.10/site-packages/twisted/conch/ssh/transport.py:106: CryptographyDeprecationWarning: Blowfish has been deprecated\n b\"blowfish-cbc\": (algorithms.Blowfish, 16, modes.CBC),\n/home/runner/work/cowrie/cowrie/.tox/py310/lib/python3.10/site-packages/twisted/conch/ssh/transport.py:110: CryptographyDeprecationWarning: CAST5 has been deprecated\n b\"cast128-cbc\": (algorithms.CAST5, 16, modes.CBC),\n/home/runner/work/cowrie/cowrie/.tox/py310/lib/python3.10/site-packages/twisted/conch/ssh/transport.py:115: CryptographyDeprecationWarning: Blowfish has been deprecated\n b\"blowfish-ctr\": (algorithms.Blowfish, 16, modes.CTR),\n/home/runner/work/cowrie/cowrie/.tox/py310/lib/python3.10/site-packages/twisted/conch/ssh/transport.py:116: CryptographyDeprecationWarning: CAST5 has been deprecated\n b\"cast128-ctr\": (algorithms.CAST5, 16, modes.CTR),\ntest_awk_command_001 (cowrie.test.test_awk.ShellEchoCommandTests) ... ok\ntest_awk_command_002 (cowrie.test.test_awk.ShellEchoCommandTests) ... ok\ntest_awk_command_003 (cowrie.test.test_awk.ShellEchoCommandTests) ... ok\ntest_awk_command_004 (cowrie.test.test_awk.ShellEchoCommandTests) ... ok\ntest_awk_command_005 (cowrie.test.test_awk.ShellEchoCommandTests) ... ok\ntest_base64_command_001 (cowrie.test.test_base64.ShellBase64CommandTests) ... ok\ntest_base64_command_002 (cowrie.test.test_base64.ShellBase64CommandTests) ... ok\ntest_alias_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_bash_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_cd_error_output (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_cd_output (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_chattr_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_chgrp_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_chown_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_clear_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_date_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_exit_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_export_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_hostname_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_id_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_jobs_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_kill_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_killall5_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_killall_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_logout_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_passwd_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_php_help_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_php_version_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_pkill_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_poweroff_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_reset_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_set_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_sh_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_shutdown_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_su_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_umask_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_unset_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_users_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_whoami_command (cowrie.test.test_base_commands.ShellBaseCommandsTests) ... ok\ntest_cat_output (cowrie.test.test_base_commands.ShellFileCommandsTests) ... ok\ntest_cp_error_output (cowrie.test.test_base_commands.ShellFileCommandsTests) ... ok\ntest_cp_output (cowrie.test.test_base_commands.ShellFileCommandsTests) ... ok\ntest_grep_output (cowrie.test.test_base_commands.ShellFileCommandsTests) ... ok\ntest_head_output (cowrie.test.test_base_commands.ShellFileCommandsTests) ... ok\ntest_mkdir_error_output (cowrie.test.test_base_commands.ShellFileCommandsTests) ... ok\ntest_mkdir_output (cowrie.test.test_base_commands.ShellFileCommandsTests) ... ok\ntest_mv_error_output (cowrie.test.test_base_commands.ShellFileCommandsTests) ... ok\ntest_mv_output (cowrie.test.test_base_commands.ShellFileCommandsTests) ... ok\ntest_pwd_output (cowrie.test.test_base_commands.ShellFileCommandsTests) ... ok\ntest_rm_error_output (cowrie.test.test_base_commands.ShellFileCommandsTests) ... ok\ntest_rm_output (cowrie.test.test_base_commands.ShellFileCommandsTests) ... ok\ntest_rmdir_error_output (cowrie.test.test_base_commands.ShellFileCommandsTests) ... ok\ntest_rmdir_output (cowrie.test.test_base_commands.ShellFileCommandsTests) ... ok\ntest_tail_output (cowrie.test.test_base_commands.ShellFileCommandsTests) ... ok\ntest_touch_output (cowrie.test.test_base_commands.ShellFileCommandsTests) ... ok\ntest_shell_pipe_with_cat_head (cowrie.test.test_base_commands.ShellPipeCommandsTests) ... ok\ntest_shell_pipe_with_cat_tail (cowrie.test.test_base_commands.ShellPipeCommandsTests) ... ok\ntest_cat_command_001 (cowrie.test.test_cat.ShellCatCommandTests) ... ok\ntest_cat_command_002 (cowrie.test.test_cat.ShellCatCommandTests) ... ok\ntest_cat_command_003 (cowrie.test.test_cat.ShellCatCommandTests) ... ok\ntest_cat_command_004 (cowrie.test.test_cat.ShellCatCommandTests) ... ok\ntest_chmod_command_001 (cowrie.test.test_chmod.ShellChmodCommandTests) ... ok\ntest_chmod_command_002 (cowrie.test.test_chmod.ShellChmodCommandTests) ... ok\ntest_chmod_command_003 (cowrie.test.test_chmod.ShellChmodCommandTests) ... ok\ntest_chmod_command_004 (cowrie.test.test_chmod.ShellChmodCommandTests) ... ok\ntest_chmod_command_005 (cowrie.test.test_chmod.ShellChmodCommandTests) ... ok\ntest_chmod_command_006 (cowrie.test.test_chmod.ShellChmodCommandTests) ... ok\ntest_chmod_command_007 (cowrie.test.test_chmod.ShellChmodCommandTests) ... ok\ntest_chmod_command_008 (cowrie.test.test_chmod.ShellChmodCommandTests) ... ok\ntest_chmod_command_009 (cowrie.test.test_chmod.ShellChmodCommandTests) ... ok\ntest_chmod_command_010 (cowrie.test.test_chmod.ShellChmodCommandTests) ... ok\ntest_chmod_command_011 (cowrie.test.test_chmod.ShellChmodCommandTests) ... ok\ntest_chmod_command_012 (cowrie.test.test_chmod.ShellChmodCommandTests) ... ok\ntest_chmod_command_013 (cowrie.test.test_chmod.ShellChmodCommandTests) ... ok\ntest_chmod_command_014 (cowrie.test.test_chmod.ShellChmodCommandTests) ... ok\ntest_chmod_command_015 (cowrie.test.test_chmod.ShellChmodCommandTests) ... ok\ntest_echo_command_001 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_002 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_003 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_005 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_006 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_007 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_008 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_009 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_010 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_011 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_012 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_013 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_014 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_015 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_016 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_017 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_018 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_019 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_020 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_021 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_022 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_023 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_024 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_025 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_026 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_027 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_028 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_echo_command_029 (cowrie.test.test_echo.ShellEchoCommandTests) ... ok\ntest_help_command (cowrie.test.test_ftpget.ShellFtpGetCommandTests) ... ok\ntest_tee_command_001 (cowrie.test.test_tee.ShellTeeCommandTests) ... ok\ntest_tee_command_002 (cowrie.test.test_tee.ShellTeeCommandTests) ... ok\ntest_tee_command_003 (cowrie.test.test_tee.ShellTeeCommandTests) ... ok\ntest_tee_command_004 (cowrie.test.test_tee.ShellTeeCommandTests) ... ok\ntest_tee_command_005 (cowrie.test.test_tee.ShellTeeCommandTests) ... ok\ntest_echo_command_001 (cowrie.test.test_tftp.ShellTftpCommandTests) ... ok\ntest_uniq_command_001 (cowrie.test.test_uniq.ShellUniqCommandTests) ... ok\ntest_uniq_command_002 (cowrie.test.test_uniq.ShellUniqCommandTests) ... ok\ntest_uniq_command_003 (cowrie.test.test_uniq.ShellUniqCommandTests) ... ok\ntest_create_endpoint_services (cowrie.test.test_utils.UtilsTestCase) ... ok\ntest_durationHuman (cowrie.test.test_utils.UtilsTestCase) ... ok\ntest_get_endpoints_from_section (cowrie.test.test_utils.UtilsTestCase) ... ok\n\n----------------------------------------------------------------------\nRan 117 tests in 3.825s\n\nOK\n##[endgroup]\n lint: FAIL code 1 (36.55=setup[36.46]+cmd[0.10] seconds)\n docs: OK (40.98=setup[36.63]+cmd[4.35] seconds)\n typing: OK (105.11=setup[37.40]+cmd[15.97,27.33,0.92,1.53,21.96] seconds)\n py310: OK (16.46=setup[10.64]+cmd[5.82] seconds)\n evaluation failed :( (199.49 seconds)\n##[error]Process completed with exit code 255.\n"}], "diff": "diff --git a/src/cowrie/output/oraclecloud.py b/src/cowrie/output/oraclecloud.py\nindex d2dfc3e4..db369d22 100644\n--- a/src/cowrie/output/oraclecloud.py\n+++ b/src/cowrie/output/oraclecloud.py\n@@ -1,13 +1,13 @@\n from __future__ import annotations\n-import json\n-from configparser import NoOptionError\n \n-import oci\n+import datetime\n+import json\n import secrets\n import string\n+\n import oci\n-from oci import auth\n-import datetime\n+\n+from twisted.python import log\n \n import cowrie.core.output\n from cowrie.core.config import CowrieConfig\n@@ -17,14 +17,11 @@ class Output(cowrie.core.output.Output):\n \"\"\"\n Oracle Cloud output\n \"\"\"\n-\n-\n def generate_random_log_id(self):\n charset = string.ascii_letters + string.digits\n- random_log_id = ''.join(secrets.choice(charset) for _ in range(32))\n+ random_log_id = \"\".join(secrets.choice(charset) for _ in range(32))\n return f\"cowrielog-{random_log_id}\"\n \n-\n def sendLogs(self, logentry):\n log_id = self.generate_random_log_id()\n # Initialize service client with default config file \n@@ -50,20 +47,18 @@ class Output(cowrie.core.output.Output):\n type=\"cowrie\")]),\n timestamp_opc_agent_processing=current_time.strftime(\"%Y-%m-%dT%H:%M:%S.%fZ\"))\n except oci.exceptions.ServiceError as ex:\n- print(\n+ log.err(\n f\"Oracle Cloud plugin Error: {ex.message}\\n\" +\n f\"Oracle Cloud plugin Status Code: {ex.status}\\n\"\n )\n except Exception as ex:\n- print(f\"Oracle Cloud plugin Error: {ex}\")\n+ log.err(f\"Oracle Cloud plugin Error: {ex}\")\n raise\n \n-\n def start(self):\n \"\"\"\n Initialize Oracle Cloud LoggingClient with user or instance principal authentication\n \"\"\"\n-\n authtype=CowrieConfig.get(\"output_oraclecloud\", \"authtype\")\n \n if authtype == \"instance_principals\":\n", "difficulty": 3, "changed_files": ["src/cowrie/output/oraclecloud.py"], "commit_link": "https://github.com/cowrie/cowrie/tree/55f8e6684499eb6abe5b1c1dba01ca4c90d2c949"}