Code Monkey home page Code Monkey logo

Comments (19)

armijnhemel avatar armijnhemel commented on July 19, 2024

That should not happen. Could you tell me which version of Ubuntu you are using so I can try to replicate? Also, can you tell me where I can get "S29AL016D90-200000H.bin" so I can try to reproduce?

from binaryanalysis-ng.

armijnhemel avatar armijnhemel commented on July 19, 2024

OK, I can reproduce a similar error on Fedora. I will work on this. Thank you for reporting.

from binaryanalysis-ng.

wxh0000mm avatar wxh0000mm commented on July 19, 2024

image

from binaryanalysis-ng.

wxh0000mm avatar wxh0000mm commented on July 19, 2024

S29al016d90-200000h. bin this file is just a normal bin file

from binaryanalysis-ng.

armijnhemel avatar armijnhemel commented on July 19, 2024

In the standard configuration file it says:

baseunpackdirectory = %(HOME)s/tmp

Did you create a directory "tmp" in your home directory?

from binaryanalysis-ng.

wxh0000mm avatar wxh0000mm commented on July 19, 2024

Yes, I did create a TMP directory

from binaryanalysis-ng.

armijnhemel avatar armijnhemel commented on July 19, 2024

Do you get the same error when running as a normal user and/or using for example /tmp as the path? If so, it must be related to the file you are scanning and there is some other bug. Can you tell me where I could get it?

from binaryanalysis-ng.

armijnhemel avatar armijnhemel commented on July 19, 2024

thanks, I have the file, will analyse

from binaryanalysis-ng.

armijnhemel avatar armijnhemel commented on July 19, 2024

I can unpack it perfectly fine on Fedora, so my guess is a missing dependency. I will investigate this further tonight.

from binaryanalysis-ng.

wxh0000mm avatar wxh0000mm commented on July 19, 2024

from binaryanalysis-ng.

wxh0000mm avatar wxh0000mm commented on July 19, 2024

from binaryanalysis-ng.

armijnhemel avatar armijnhemel commented on July 19, 2024

My guess is that you are missing a dependency on Ubuntu, so I will document which packages need to be installed.

I regularly do a smoke test with a few thousand firmware files to test for regressions, but I do these on Fedora. I will start doing more tests on Ubuntu as well.

from binaryanalysis-ng.

armijnhemel avatar armijnhemel commented on July 19, 2024

I was able to reproduce this bug on Ubuntu 16.04. Currently investigating.

from binaryanalysis-ng.

wxh0000mm avatar wxh0000mm commented on July 19, 2024

from binaryanalysis-ng.

armijnhemel avatar armijnhemel commented on July 19, 2024

OK, found the cause: Python 3 on Ubuntu is too old (3.5.2), which means that certain functionality from the pathlib module is not available. The requirements actually say: python 3.6 or higher. So, this is not a bug, your distribution is simply too old.

from binaryanalysis-ng.

wxh0000mm avatar wxh0000mm commented on July 19, 2024

from binaryanalysis-ng.

armijnhemel avatar armijnhemel commented on July 19, 2024

Currently 3.7.3, but it really should work with 3.6 and later. I will also retry with an Ubuntu 18.04.

from binaryanalysis-ng.

wxh0000mm avatar wxh0000mm commented on July 19, 2024

from binaryanalysis-ng.

armijnhemel avatar armijnhemel commented on July 19, 2024

If you bump into problems just reopen this bug.

from binaryanalysis-ng.

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.