Comments (5)
看起来你的 cve201917621_firmadyne-emu 的输出还是 binwalk,查看这里构建 noentry:https://github.com/firmianay/IoT-vulhub/tree/master/baseImage/binwalk
from iot-vulhub.
@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.
您好! 在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.
似乎是python 3.5.2(ubuntu16.04仓库的最高版本)有问题:encode/uvicorn#330。安装python3.6.x试试
from iot-vulhub.
您好! 在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)
- 基础镜像升级计划 HOT 2
- firmianay/firmadyne不存在 HOT 1
- ssh: connect to host 127.0.0.1 port 1234: Connection refused HOT 4
- 等大佬指导,华为那个环境启动有问题 HOT 5
- firmianay/firmadyne pull error HOT 2
- 华为镜像部署问题 HOT 2
- 弱智问题
- 密码
- cisco-CVE-2020-3331容器无法运行 HOT 1
- docker构建成功,启动失败 HOT 9
- Cisco RV110W 报错问题 HOT 1
- 仿真之后显示Interfaces为空 HOT 14
- 构建 ubuntu1604 基础镜像错误
- docker build binwalk报错 HOT 3
- $ docker run --rm -v $PWD/firmware/:/root/firmware firmianay/binwalk -Mer "/root/firmware/DIR822A1_FW103WWb03.bin" HOT 1
- firmianay/qemu-system:mipsel 请问师父这个是不是没了, HOT 3
- qemu-system的内核及文件镜像备份地址 HOT 3
- docker构建好之后启动不起来 HOT 3
- 申请重新上传以下这些镜像。
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iot-vulhub.