
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
.. image:: https://readthedocs.org/projects/ppmd-cffi/badge/?version=latest :target: https://ppmd-cffi.readthedocs.io/en/latest/?badge=latest
.. image:: https://badge.fury.io/py/ppmd-cffi.svg :target: https://badge.fury.io/py/ppmd-cffi
.. image:: https://github.com/miurahr/ppmd-cffi/workflows/Run%20Tox%20tests/badge.svg :target: https://github.com/miurahr/ppmd-cffi/actions
.. image:: https://coveralls.io/repos/github/miurahr/ppmd-cffi/badge.svg?branch=main :target: https://coveralls.io/github/miurahr/ppmd-cffi?branch=main
PPM(Prediction by partial matching) is a compression algorithm which has several variations of implementations. PPMd is the implementation by Dmitry Shkarin. It is used in the RAR and by 7-Zip as one of several possible methods.
ppmd-cffi is a python bindings with PPMd implementation by C language. The C codes are derived from p7zip, portable 7-zip implementation. ppmd-cffi supports PPMd var.H and PPMd var.I.
PyPPMd_ is a brother project that use python buffer protocol for interface. It supports PPMd var.H, and PPMd var. I on posix platforms(mac and linux). It supports CPython and PyPy.
.. _PyPPMd: https://pypi.org/project/pyppmd/
You can find a manual at the readthedocs_
.. _readthedocs: https://ppmd-cffi.readthedocs.io/en/latest/user_guide.html
As usual, you can install ppmd-cffi using python standard pip command.
.. code-block::
pip install ppmd-cffi
ppmd-cffi provide small utility compress/decompress files.
.. code-block::
$ ppmd target.txt
$ ppmd -x target.txt.ppmd
Copyright (C) 2020,2021 Hiroshi Miura
7-Zip Copyright (C) 1999-2010 Igor Pavlov
LZMA SDK Copyright (C) 1999-2010 Igor Pavlov
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
FAQs
PPMd compression/decompression library
We found that ppmd-cffi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.