Package reformat, better logging & error handling & Frida 17+
Hello there, Fridump has been dead for more than 6 years now.
I like what you made with the project so I made it compliant with the Python package architecture to ease the installation process. Upon acceptance, it will be possible to install the project using:
pipx install git+https://github.com/rootbsd/fridump3
or
pip install git+https://github.com/rootbsd/fridump3.
It will also be possible to publish the package on PyPI with minimal additional configuration to make it effortless to install.
PEP compliance
I also tried to make it compliant with:
- PEP 621 but feel free to add an author to the pyproject.toml file.
- PEP 257 for better compatibility with docstring tools like Sphinx.
- PEP 8 for better code readability.
Logging and error handling
I made loguru a dependency, for clearer logs and easy command line adjustments with --log-level and --log-filename.
I added conditions for edge cases were you don't have directory access and a graceful exit if you press ^C.
Unnecessary sys and os calls
I replaced the progress bar calls to the sys library by print statements and every calls to the os library by the new recommended pathlib library.
Example
Below, a screenshot of what it looks like (don't mind my color theme).