
Chepy는 멋진 CyberChef 도구의 python lib/cli 버전입니다.

Chepy는 편리한 CLI를 갖춘 파이썬 라이브러리로, CyberChef의 일부 기능을 미러링하는 것을 목표로 합니다. Chepy 뒤에는 CyberChef가 제공하는 다양한 기능과 호환되도록 상당한 노력이 투자되었으며, 이 모든 것은 순수 Python 방식으로 이루어졌습니다. Chepy가 Cyberchef에 비해 가지는 몇 가지 중요한 장점과 단점이 있습니다. Cyberchef의 다양한 모듈을 _스택_하는 개념은 Chepy에서도 유지됩니다.
Chepy는 아직 갈 길이 멀며, Cyberchef의 모든 기능을 제공하지는 않습니다.
Chepy는 Cyberchef와 유사한 스태킹 메커니즘을 가지고 있습니다. 예를 들어, Cyberchef에서 다음과 같다면:
이는 다음과 동일합니다:
from chepy import Chepy
file_path = "/tmp/demo/encoding"
print(
Chepy(file_path)
.load_file()
.reverse()
.rot_13()
.from_base64()
.from_base32()
.hexdump_to_str()
.o
)
magic을 지원합니다.Chepy는 여러 가지 방법으로 설치할 수 있습니다.
pip3 install chepy
# optionally with extra requirements
pip3 install chepy[extras]
git clone --recursive https://github.com/securisec/chepy.git
cd chepy
pip3 install -e .
# I use -e here so that if I update later with git pull, I dont have it install it again (unless dependencies have changed)
Chepy를 독립 실행형 바이너리로 빌드할 수도 있습니다. 여기에는 모든 종속성을 함께 패키징하는 것이 포함됩니다.
git clone https://github.com/securisec/chepy.git
cd chepy
pip install .
pip install pyinstaller
pyinstaller cli.py --name chepy --onefile
바이너리는 dist/ 폴더에 위치합니다.
.. toctree::
:maxdepth: 3
:caption: Contents:
usage.md
examples.md
cli.rst
chepy.md
core.md
modules.rst
extras.rst
plugins.md
pullrequest.md
config.md
faq.md
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`