Giter Site home page Giter Site logo

Comments (5)

firmianay avatar firmianay commented on July 30, 2024 1

看起来你的 cve201917621_firmadyne-emu 的输出还是 binwalk,查看这里构建 noentry:https://github.com/firmianay/IoT-vulhub/tree/master/baseImage/binwalk

from iot-vulhub.

ultramar1ne avatar ultramar1ne commented on July 30, 2024

@ubuntu:~/IoTVul/IoT-vulhub-master/D-Link/CVE-2019-17621$ sudo docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
cve201917621_firmadyne-emu latest e1be3229cbc1 27 minutes ago 1.3GB
firmianay/firmadyne latest 6918620551c2 30 minutes ago 1.26GB
firmianay/binwalk latest 06903d97f30a 53 minutes ago 1.12GB
firmianay/ubuntu1604 latest f1d008bf6830 About an hour ago 266MB
ubuntu 16.04 9ff95a467e45 11 days ago 135MB

from iot-vulhub.

ultramar1ne avatar ultramar1ne commented on July 30, 2024

您好! 在docker-compose up之后,我ssh进入容器,运行Python脚本时报错

Traceback (most recent call last):
  File "tools/exp.py", line 3, in <module>
    from pwn import *
  File "/usr/local/lib/python3.5/dist-packages/pwn/__init__.py", line 4, in <module>
    from pwn.toplevel import *
  File "/usr/local/lib/python3.5/dist-packages/pwn/toplevel.py", line 23, in <module>
    import pwnlib
  File "/usr/local/lib/python3.5/dist-packages/pwnlib/__init__.py", line 43, in <module>
    importlib.import_module('.%s' % module, 'pwnlib')
  File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/local/lib/python3.5/dist-packages/pwnlib/gdb.py", line 157, in <module>
    from rpyc import BgServingThread
  File "/usr/local/lib/python3.5/dist-packages/rpyc/__init__.py", line 56, in <module>
    from rpyc.utils.server import OneShotServer, ThreadedServer, ThreadPoolServer, ForkingServer
  File "/usr/local/lib/python3.5/dist-packages/rpyc/utils/server.py", line 18, in <module>
    from rpyc.utils.authenticators import AuthenticationError
  File "/usr/local/lib/python3.5/dist-packages/rpyc/utils/authenticators.py", line 36, in <module>
    class SSLAuthenticator(object):
  File "/usr/local/lib/python3.5/dist-packages/rpyc/utils/authenticators.py", line 61, in SSLAuthenticator
    ssl_version=ssl.PROTOCOL_TLS, ciphers=None):
AttributeError: module 'ssl' has no attribute 'PROTOCOL_TLS'

请问这是容器启动的问题吗?但我curl 192.168.2.2/。。。 似乎目标页面已经存在?
多谢指点

from iot-vulhub.

firmianay avatar firmianay commented on July 30, 2024

似乎是python 3.5.2(ubuntu16.04仓库的最高版本)有问题:encode/uvicorn#330。安装python3.6.x试试

from iot-vulhub.

chenxiaohe avatar chenxiaohe commented on July 30, 2024

您好! 在docker-compose up之后,我ssh进入容器,运行Python脚本时报错

Traceback (most recent call last):
  File "tools/exp.py", line 3, in <module>
    from pwn import *
  File "/usr/local/lib/python3.5/dist-packages/pwn/__init__.py", line 4, in <module>
    from pwn.toplevel import *
  File "/usr/local/lib/python3.5/dist-packages/pwn/toplevel.py", line 23, in <module>
    import pwnlib
  File "/usr/local/lib/python3.5/dist-packages/pwnlib/__init__.py", line 43, in <module>
    importlib.import_module('.%s' % module, 'pwnlib')
  File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/local/lib/python3.5/dist-packages/pwnlib/gdb.py", line 157, in <module>
    from rpyc import BgServingThread
  File "/usr/local/lib/python3.5/dist-packages/rpyc/__init__.py", line 56, in <module>
    from rpyc.utils.server import OneShotServer, ThreadedServer, ThreadPoolServer, ForkingServer
  File "/usr/local/lib/python3.5/dist-packages/rpyc/utils/server.py", line 18, in <module>
    from rpyc.utils.authenticators import AuthenticationError
  File "/usr/local/lib/python3.5/dist-packages/rpyc/utils/authenticators.py", line 36, in <module>
    class SSLAuthenticator(object):
  File "/usr/local/lib/python3.5/dist-packages/rpyc/utils/authenticators.py", line 61, in SSLAuthenticator
    ssl_version=ssl.PROTOCOL_TLS, ciphers=None):
AttributeError: module 'ssl' has no attribute 'PROTOCOL_TLS'

请问这是容器启动的问题吗?但我curl 192.168.2.2/。。。 似乎目标页面已经存在?
多谢指点
进入Ubuntu容器,升级python至3.6即可解决问题
可参考ubuntu16升级python3.6的教程,
链接如下:
https://cloud.tencent.com/developer/article/1694210
https://blog.csdn.net/AlexTan_/article/details/108321773
若还有后续问题,可与我联系一起交流解决方案,qq与微信:1017977918

from iot-vulhub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.