Comments (6)
Hey, can you assign this to me?
from ofrak.
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.
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.
7z
is run in two places:
- https://github.com/redballoonsecurity/ofrak/blob/master/ofrak_components/ofrak_components/p7zip.py#L48
- https://github.com/redballoonsecurity/ofrak/blob/master/ofrak_components/ofrak_components/p7zip.py#L68
Variables using the name p7zip
should be updated to use 7zip.
Instructions/code that installs p7zip
should also be updated to install 7zip:
- https://github.com/redballoonsecurity/ofrak/blob/master/ofrak_components/Dockerstub#L12
- https://github.com/redballoonsecurity/ofrak/blob/master/docs/environment-setup.md?plain=1#L184
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.
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.
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)
- Cloning repository on Windows adds carriage return characters which can break Docker builds
- OFRAK 2.2.1 incorrectly displays GUI version as 2.2.0 HOT 1
- LLVM Toolchain handling of assembler_target needs to know which GNU assembler will be used
- Improve syntax highlighting Python scripts in the GUI HOT 1
- Update ofrak-binary-ninja package on PyPI
- Building from scratch HOT 7
- UImage component should create children using data_range
- Flush files to disk in scripts generated by the GUI
- CPIO Unpacker no work on local Linux (not container, local). HOT 3
- Normalize GUI script tests, use regex to ignore potentially volatile values
- Running `ofrak gui` with `-f` results in incomplete script
- Example yaml files do not specify disassembler backend for GUI HOT 2
- Integrate forensics tools into OFRAK
- Add a "copy to clipboard" button for "Show Script" in OFRAK GUI HOT 1
- Documentation about Resource Dependency Tracking out of date
- angr disassembly backend creates different Basic Blocks than other backends
- Minor: `/tmp/ofrak.log` probably shouldn't be hardcoded HOT 3
- FreespaceAnalyzer incorrectly caches free region information HOT 2
- OFRAK dependency keystone-engine not properly installed
- PE file complex block extraction not working with Angr
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 ofrak.