添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account Trying 0.0.0 Traceback (most recent call last): File "/home/noraj/CTF/tools/stegoVeritas/stegoveritas.py", line 70, in <module> modules.image.run(fArray,args) File "/home/noraj/CTF/tools/stegoVeritas/modules/image/__init__.py", line 98, in run autoAnalysis(f,args) File "/home/noraj/CTF/tools/stegoVeritas/modules/image/__init__.py", line 37, in autoAnalysis modules.image.imageLSB.auto(f,args) File "/home/noraj/CTF/tools/stegoVeritas/modules/image/imageLSB.py", line 143, in auto testOutput(o,args) File "/home/noraj/CTF/tools/stegoVeritas/modules/image/imageLSB.py", line 23, in testOutput m = magic.from_buffer(b,mime=True) AttributeError: module 'magic' has no attribute 'from_buffer'

All dependencies installed, sorry I cant share the pic.

I'm currently re-factoring the code base for this tool that will, among other things, fix the dependency issues.

In the mean time, two things to check. First, be sure you're running it with python3. And secondly, you need to install python-magic:

pip install python-magic

Yeah I was using python3 and I have python-magic installed.

PS : If you pay attention it is not an ImportError but an AttributeError, meaning the module 'magic' is imported correctly but that in this version of the lib from_buffer is not available. I already tried to look at https://github.com/ahupp/python-magic to see if in a version change, from_buffer was removed but they have no changelog.