Giter Site home page Giter Site logo

Comments (6)

The-Debarghya avatar The-Debarghya commented on May 18, 2024

Hey, can you assign this to me?

from ofrak.

rbs-jacob avatar rbs-jacob commented on May 18, 2024

Hi @The-Debarghya, I've assigned you this issue. To make this change, you will likely have to change some subprocess.run calls in OFRAK components, as well as changing installed dependencies in one of the Dockerstub files.

Make sure to look at the contributing guide. Thanks for your interest in helping out!

from ofrak.

The-Debarghya avatar The-Debarghya commented on May 18, 2024

I'm struggling to figure out where to change the subprocess.run calls in the OFRAK components...can you please help me out.
Also should I change docs and object names that refer to gzip or p7zip?

from ofrak.

whyitfor avatar whyitfor commented on May 18, 2024

@The-Debarghya,

7z is run in two places:

Variables using the name p7zip should be updated to use 7zip.

Instructions/code that installs p7zip should also be updated to install 7zip:

You can test the changes by running the following test: https://github.com/redballoonsecurity/ofrak/blob/master/ofrak_components/ofrak_components_test/test_p7zip_component.py. The test file might need to be updated as well.

Hope this helps!

from ofrak.

The-Debarghya avatar The-Debarghya commented on May 18, 2024

p7zip variables can't be renamed to 7zip because python doesn't permit variable name starting with an integer, so should I name it like this: _7zip or maybe sevenZip?
and for the filenames...I'm renaming them to 7zip.

from ofrak.

whyitfor avatar whyitfor commented on May 18, 2024

Either sevenzip or seven_zip probably make sense (based on https://peps.python.org/pep-0008/#function-and-variable-names).

Regarding the filenames that sounds fine.

from ofrak.

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.