Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚠️ Ciphey is being deprecated ⚠️ #764

Closed
bee-san opened this issue Dec 26, 2022 · 2 comments
Closed

⚠️ Ciphey is being deprecated ⚠️ #764

bee-san opened this issue Dec 26, 2022 · 2 comments
Labels
maintenance Something that doesn't affect the user directly WARNING

Comments

@bee-san
Copy link
Owner

bee-san commented Dec 26, 2022

Hey 👋🏻

We are currently in the middle of writing out a new automated decoding tool in Rust called Ares:
https://github.com/bee-san/Ares

As such, we do not have much time to spend on Ciphey 🙇🏻

We fully intend to replace Ciphey with Ares in the future, but for now Ciphey will stay and some PRs will be merged :)

Please note that Ares does not support all of the features of Ciphey currently, we recommend using both and if you're really stuck coming to our Discord channel #coded-messages for help!
https://discord.gg/MfuMzEVjtK

@liudonghua123
Copy link

liudonghua123 commented Nov 3, 2023

Well, If you still want to use ciphey on your new python. I managed to build CipheyCore for python 3.9, 3.10, 3.11, see https://github.com/liudonghua123/CipheyCore/releases/tag/0.3.2.

Because ciphey and it's dependence cipheydists is py3-none-any package which do not need to rebuild on new python environment.

And one exception is PyYAML dependence is locked to version >=5.3.1,<6.0.0 which is not available for new python, see https://pypi.org/project/PyYAML/5.4.1/#files and https://pypi.org/project/PyYAML/6.0.1/#files. So I removed the version lock in ciphey-5.14.0-py3-none-any.whl/ciphey-5.14.0.dist-info/METADATA.

Details
 Liu.D.H   build    master ≡    where python                                               in cmd at 23:47:16
C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python311\python.exe
C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\python.exe
C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python312\python.exe
C:\msys64\mingw64\bin\python.exe
D:\apps\mambaforge\python.exe

 Liu.D.H   build    master ≡    where pip                                                  in cmd at 00:07:49
C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python311\Scripts\pip.exe
C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\Scripts\pip.exe
C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python312\Scripts\pip.exe
D:\apps\mambaforge\Scripts\pip.exe

 Liu.D.H   build    master ≡    python -V                                                  in cmd at 00:17:25
Python 3.11.2

 Liu.D.H   build    master ≡   

 Liu.D.H   build    master ≡    pip install D:\Downloads\cipheycore-0.3.2-cp311-cp311-win_amd64.whl
Processing d:\downloads\cipheycore-0.3.2-cp311-cp311-win_amd64.whl
Installing collected packages: cipheycore
Successfully installed cipheycore-0.3.2

 Liu.D.H   build    master ≡    pip install ciphey                                         in cmd at 00:08:12
Collecting ciphey
  Using cached ciphey-5.14.0-py3-none-any.whl (90 kB)
Requirement already satisfied: appdirs<2.0.0,>=1.4.4 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from ciphey) (1.4.4)
Collecting base58<3.0.0,>=2.0.1 (from ciphey)
  Using cached base58-2.1.1-py3-none-any.whl (5.6 kB)
Collecting base91<2.0.0,>=1.0.1 (from ciphey)
  Using cached base91-1.0.1-py3-none-any.whl (3.4 kB)
Requirement already satisfied: cipheycore<0.4.0,>=0.3.2 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from ciphey) (0.3.2)
Collecting cipheydists<0.4.0,>=0.3.34 (from ciphey)
  Using cached cipheydists-0.3.35-py3-none-any.whl (11.6 MB)
Requirement already satisfied: click<9.0.0,>=7.1.2 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from ciphey) (8.1.3)
Collecting flake8<4.0.0,>=3.8.4 (from ciphey)
  Using cached flake8-3.9.2-py2.py3-none-any.whl (73 kB)
Collecting loguru<0.6.0,>=0.5.3 (from ciphey)
  Using cached loguru-0.5.3-py3-none-any.whl (57 kB)
Collecting mock<5.0.0,>=4.0.3 (from ciphey)
  Using cached mock-4.0.3-py3-none-any.whl (28 kB)
Collecting pybase62<0.5.0,>=0.4.3 (from ciphey)
  Using cached pybase62-0.4.3-py3-none-any.whl (5.0 kB)
Requirement already satisfied: pylint<3.0.0,>=2.6.0 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from ciphey) (2.15.8)
Collecting pywhat<1.2.0,>=0.2.5 (from ciphey)
  Using cached pywhat-1.1.0-py3-none-any.whl (32 kB)
Collecting pyyaml<6.0.0,>=5.3.1 (from ciphey)
  Downloading PyYAML-5.4.1.tar.gz (175 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.1/175.1 kB 19.5 kB/s eta 0:00:00
  Installing build dependencies ... error
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Collecting setuptools
        Downloading setuptools-68.2.2-py3-none-any.whl.metadata (6.3 kB)
      Collecting wheel
        Downloading wheel-0.41.3-py3-none-any.whl.metadata (2.2 kB)
      ERROR: Could not find a version that satisfies the requirement Cython (from versions: none)
      ERROR: No matching distribution found for Cython
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

 Liu.D.H   build    master ≡    pip install D:\Downloads\ciphey-5.14.0-py3-none-any.whl    in cmd at 00:11:24
Processing d:\downloads\ciphey-5.14.0-py3-none-any.whl
Requirement already satisfied: appdirs<2.0.0,>=1.4.4 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from ciphey==5.14.0) (1.4.4)
Collecting base58<3.0.0,>=2.0.1 (from ciphey==5.14.0)
  Using cached base58-2.1.1-py3-none-any.whl (5.6 kB)
Collecting base91<2.0.0,>=1.0.1 (from ciphey==5.14.0)
  Using cached base91-1.0.1-py3-none-any.whl (3.4 kB)
Requirement already satisfied: cipheycore<0.4.0,>=0.3.2 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from ciphey==5.14.0) (0.3.2)
Collecting cipheydists<0.4.0,>=0.3.34 (from ciphey==5.14.0)
  Using cached cipheydists-0.3.35-py3-none-any.whl (11.6 MB)
Requirement already satisfied: click<9.0.0,>=7.1.2 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from ciphey==5.14.0) (8.1.3)
Collecting flake8<4.0.0,>=3.8.4 (from ciphey==5.14.0)
  Using cached flake8-3.9.2-py2.py3-none-any.whl (73 kB)
Collecting loguru<0.6.0,>=0.5.3 (from ciphey==5.14.0)
  Using cached loguru-0.5.3-py3-none-any.whl (57 kB)
Collecting mock<5.0.0,>=4.0.3 (from ciphey==5.14.0)
  Using cached mock-4.0.3-py3-none-any.whl (28 kB)
Collecting pybase62<0.5.0,>=0.4.3 (from ciphey==5.14.0)
  Using cached pybase62-0.4.3-py3-none-any.whl (5.0 kB)
Requirement already satisfied: pylint<3.0.0,>=2.6.0 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from ciphey==5.14.0) (2.15.8)
Collecting pywhat<1.2.0,>=0.2.5 (from ciphey==5.14.0)
  Using cached pywhat-1.1.0-py3-none-any.whl (32 kB)
Requirement already satisfied: pyyaml in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from ciphey==5.14.0) (6.0)
Collecting rich<11,>=4 (from ciphey==5.14.0)
  Using cached rich-10.16.2-py3-none-any.whl (214 kB)
Requirement already satisfied: colorama in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from click<9.0.0,>=7.1.2->ciphey==5.14.0) (0.4.6)
Collecting pyflakes<2.4.0,>=2.3.0 (from flake8<4.0.0,>=3.8.4->ciphey==5.14.0)
  Using cached pyflakes-2.3.1-py2.py3-none-any.whl (68 kB)
Collecting pycodestyle<2.8.0,>=2.7.0 (from flake8<4.0.0,>=3.8.4->ciphey==5.14.0)
  Using cached pycodestyle-2.7.0-py2.py3-none-any.whl (41 kB)
Collecting mccabe<0.7.0,>=0.6.0 (from flake8<4.0.0,>=3.8.4->ciphey==5.14.0)
  Using cached mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
Requirement already satisfied: win32-setctime>=1.0.0 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from loguru<0.6.0,>=0.5.3->ciphey==5.14.0) (1.1.0)
Requirement already satisfied: dill>=0.2 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from pylint<3.0.0,>=2.6.0->ciphey==5.14.0) (0.3.6)
Requirement already satisfied: platformdirs>=2.2.0 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from pylint<3.0.0,>=2.6.0->ciphey==5.14.0) (3.11.0)
Requirement already satisfied: astroid<=2.14.0-dev0,>=2.12.13 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from pylint<3.0.0,>=2.6.0->ciphey==5.14.0) (2.12.13)
Requirement already satisfied: isort<6,>=4.2.5 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from pylint<3.0.0,>=2.6.0->ciphey==5.14.0) (5.10.1)
Requirement already satisfied: tomlkit>=0.10.1 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from pylint<3.0.0,>=2.6.0->ciphey==5.14.0) (0.11.6)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/click/
Collecting click<9.0.0,>=7.1.2 (from ciphey==5.14.0)
  Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting langdetect<2.0.0,>=1.0.8 (from pywhat<1.2.0,>=0.2.5->ciphey==5.14.0)
  Using cached langdetect-1.0.9.tar.gz (981 kB)
  Preparing metadata (setup.py) ... done
Collecting name_that_hash<2.0.0,>=1.7.0 (from pywhat<1.2.0,>=0.2.5->ciphey==5.14.0)
  Using cached name_that_hash-1.11.0-py3-none-any.whl (30 kB)
Requirement already satisfied: commonmark<0.10.0,>=0.9.0 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from rich<11,>=4->ciphey==5.14.0) (0.9.1)
Requirement already satisfied: pygments<3.0.0,>=2.6.0 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from rich<11,>=4->ciphey==5.14.0) (2.14.0)
Requirement already satisfied: lazy-object-proxy>=1.4.0 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from astroid<=2.14.0-dev0,>=2.12.13->pylint<3.0.0,>=2.6.0->ciphey==5.14.0) (1.8.0)
Requirement already satisfied: wrapt<2,>=1.14 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from astroid<=2.14.0-dev0,>=2.12.13->pylint<3.0.0,>=2.6.0->ciphey==5.14.0) (1.14.1)
Requirement already satisfied: six in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from langdetect<2.0.0,>=1.0.8->pywhat<1.2.0,>=0.2.5->ciphey==5.14.0) (1.16.0)
INFO: pip is looking at multiple versions of name-that-hash to determine which version is compatible with other requirements. This could take a while.
  Using cached name_that_hash-1.10.0-py3-none-any.whl (29 kB)
Building wheels for collected packages: langdetect
  Building wheel for langdetect (setup.py) ... done
  Created wheel for langdetect: filename=langdetect-1.0.9-py3-none-any.whl size=993253 sha256=e03cb7c4028ff819bffa0e46a29f363ad7f80e475fef18c7f8d0aa7ac550fe8f
  Stored in directory: c:\users\liu.d.h\appdata\local\pip\cache\wheels\0a\f2\b2\e5ca405801e05eb7c8ed5b3b4bcf1fcabcd6272c167640072e
Successfully built langdetect
Installing collected packages: pybase62, mccabe, base91, rich, pyflakes, pycodestyle, mock, loguru, langdetect, click, cipheydists, base58, name_that_hash, flake8, pywhat, ciphey
  Attempting uninstall: mccabe
    Found existing installation: mccabe 0.7.0
    Uninstalling mccabe-0.7.0:
      Successfully uninstalled mccabe-0.7.0
  Attempting uninstall: rich
    Found existing installation: rich 13.6.0
    Uninstalling rich-13.6.0:
      Successfully uninstalled rich-13.6.0
  Attempting uninstall: pyflakes
    Found existing installation: pyflakes 2.5.0
    Uninstalling pyflakes-2.5.0:
      Successfully uninstalled pyflakes-2.5.0
  Attempting uninstall: pycodestyle
    Found existing installation: pycodestyle 2.9.1
    Uninstalling pycodestyle-2.9.1:
      Successfully uninstalled pycodestyle-2.9.1
  Attempting uninstall: loguru
    Found existing installation: loguru 0.6.0
    Uninstalling loguru-0.6.0:
      Successfully uninstalled loguru-0.6.0
  Attempting uninstall: click
    Found existing installation: click 8.1.3
    Uninstalling click-8.1.3:
      Successfully uninstalled click-8.1.3
  Attempting uninstall: flake8
    Found existing installation: flake8 5.0.4
    Uninstalling flake8-5.0.4:
      Successfully uninstalled flake8-5.0.4
Successfully installed base58-2.1.1 base91-1.0.1 ciphey-5.14.0 cipheydists-0.3.35 click-7.1.2 flake8-3.9.2 langdetect-1.0.9 loguru-0.5.3 mccabe-0.6.1 mock-4.0.3 name_that_hash-1.10.0 pybase62-0.4.3 pycodestyle-2.7.0 pyflakes-2.3.1 pywhat-1.1.0 rich-10.16.2

 Liu.D.H   build    master ≡   

ciphey_and_cipheycore_whls.zip

All work is just for fun. Use at your own risk.

Recommend to use the new https://github.com/bee-san/Ares.

I tried to run ciphey with some error importerror: DLL load failed while importing the specified module could not be found. related to ciphey_core_py.

So I try to dig into the C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python311\Lib\site-packages\cipheycore\_ciphey_core_py.pyd and found the ImportDescriptor is python312.dll which maybe wrong. I changed one bit of the pyd file. And now it worked for me.

 Liu.D.H   ~    ciphey --help                                                                 in cmd at 01:32:32Usage: ciphey [OPTIONS] [TEXT_STDIN]

  Ciphey - Automated Decryption Tool

  Documentation: https://github.com/Ciphey/Ciphey/wiki

  Discord (support here, we're online most of the day):
  https://discord.ciphey.online/

  GitHub: https://github.com/ciphey/ciphey

  Ciphey is an automated decryption tool using smart artificial intelligence
  and natural language processing. Input encrypted text, get the decrypted
  text back.

  Examples:

      Basic Usage: ciphey -t "aGVsbG8gbXkgbmFtZSBpcyBiZWU="

Options:
  -t, --text TEXT            The ciphertext you want to decrypt.
  -q, --quiet                Decrease verbosity
  -g, --greppable            Only print the answer (useful for grep)
  -v, --verbose
  -C, --checker TEXT         Use the given checker
  -c, --config TEXT          Uses the given config file. Defaults to
                             appdirs.user_config_dir('ciphey',
                             'ciphey')/'config.yml'

  -w, --wordlist TEXT        Uses the given wordlist
  -p, --param TEXT           Passes a parameter to the language checker
  -l, --list-params BOOLEAN  List the parameters of the selected module
  --searcher TEXT            Select the searching algorithm to use
  -b, --bytes                Forces ciphey to use binary mode for the input
  --default-dist TEXT        Sets the default character/byte distribution
  -m, --module PATH          Adds a module from the given path
  -A, --appdirs              Print the location of where Ciphey wants the
                             settings file to be

  -f, --file FILENAME
  --help                     Show this message and exit.

 Liu.D.H   ~    ciphey -t "aGVsbG8gbXkgbmFtZSBpcyBiZWU="                                                   in cmd at 01:33:05
Possible plaintext: 'hello my name is bee' (y/N): y
╭──────────────────────────────────────────╮
│ Formats used:                            │
│    base64                                │
│    utf8Plaintext: "hello my name is bee" │
╰──────────────────────────────────────────╯

 Liu.D.H   ~   

I think maybe it's related to the CI environment but not sure. I also checked in _ciphey_core_py.pyd in cipheycore-0.3.2-cp310-cp310-win_amd64.whl, it's the same problems.

NEED HELP ABOUT THIS STRANGE PROBLEM!!!

image

@liudonghua123
Copy link

liudonghua123 commented Nov 7, 2023

I have fixed pythonXY.dll dependence error, feel free to download and try it.

All the cipheycore wheels for python 3.9-3.12 for windows, linux and macos are available on https://github.com/liudonghua123/CipheyCore/releases/.

Here are the steps on how to install ciphey on Python 3.9-3.12.

  1. Download ciphey-5.14.0-py3-none-any.whl (or you can download from PyPI and update ciphey-5.14.0-py3-none-any.whl/ciphey-5.14.0.dist-info/METADATA mentioned in above comments) and appropriate cipheycore wheels from liudonghua123/CipheyCore. For instance, download cipheycore-0.3.2-cp311-cp311-win_amd64.whl if you are using python 3.11 on Windows.
  2. Install cipheycore and ciphey in sequence via pip install <cipheycore/ciphey>.whl.
  3. Test via ciphey --help
  4. Done!

2024-10-21 Updates: I have updated the ci to build cipheycore for the latest cpython 3.13.

Install Ciphey for CPython v3.13
Liu.D.H  CipheyCore  git(master)   986ms  11:29 > pip install D:\Downloads\cipheycore-0.3.2-cp313-cp313-win_amd64.whl
Processing d:\downloads\cipheycore-0.3.2-cp313-cp313-win_amd64.whl
Installing collected packages: cipheycore
Successfully installed cipheycore-0.3.2

Liu.D.H  CipheyCore  git(master)   2.606s  11:33 > pip install D:\Downloads\ciphey-5.14.0-py3-none-any.whl
Processing d:\downloads\ciphey-5.14.0-py3-none-any.whl
Collecting appdirs<2.0.0,>=1.4.4 (from ciphey==5.14.0)
  Downloading appdirs-1.4.4-py2.py3-none-any.whl.metadata (9.0 kB)
Collecting base58<3.0.0,>=2.0.1 (from ciphey==5.14.0)
  Downloading base58-2.1.1-py3-none-any.whl.metadata (3.1 kB)
Collecting base91<2.0.0,>=1.0.1 (from ciphey==5.14.0)
  Downloading base91-1.0.1-py3-none-any.whl.metadata (222 bytes)
Requirement already satisfied: cipheycore<0.4.0,>=0.3.2 in c:\users\liu.d.h\appdata\local\programs\python\python313\lib\site-packages (from ciphey==5.14.0) (0.3.2)
Collecting cipheydists<0.4.0,>=0.3.34 (from ciphey==5.14.0)
  Downloading cipheydists-0.3.35-py3-none-any.whl.metadata (524 bytes)
Collecting click<9.0.0,>=7.1.2 (from ciphey==5.14.0)
  Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting flake8<4.0.0,>=3.8.4 (from ciphey==5.14.0)
  Downloading flake8-3.9.2-py2.py3-none-any.whl.metadata (3.7 kB)
Collecting loguru<0.6.0,>=0.5.3 (from ciphey==5.14.0)
  Downloading loguru-0.5.3-py3-none-any.whl.metadata (21 kB)
Collecting mock<5.0.0,>=4.0.3 (from ciphey==5.14.0)
  Downloading mock-4.0.3-py3-none-any.whl.metadata (2.8 kB)
Collecting pybase62<0.5.0,>=0.4.3 (from ciphey==5.14.0)
  Downloading pybase62-0.4.3-py3-none-any.whl.metadata (3.6 kB)
Collecting pylint<3.0.0,>=2.6.0 (from ciphey==5.14.0)
  Downloading pylint-2.17.7-py3-none-any.whl.metadata (12 kB)
Collecting pywhat<1.2.0,>=0.2.5 (from ciphey==5.14.0)
  Downloading pywhat-1.1.0-py3-none-any.whl.metadata (3.5 kB)
Requirement already satisfied: pyyaml in c:\users\liu.d.h\appdata\local\programs\python\python313\lib\site-packages (from ciphey==5.14.0) (6.0.2)
Collecting rich<11,>=4 (from ciphey==5.14.0)
  Downloading rich-10.16.2-py3-none-any.whl.metadata (19 kB)
Requirement already satisfied: colorama in c:\users\liu.d.h\appdata\local\programs\python\python313\lib\site-packages (from click<9.0.0,>=7.1.2->ciphey==5.14.0) (0.4.6)
Collecting pyflakes<2.4.0,>=2.3.0 (from flake8<4.0.0,>=3.8.4->ciphey==5.14.0)
  Downloading pyflakes-2.3.1-py2.py3-none-any.whl.metadata (3.9 kB)
Collecting pycodestyle<2.8.0,>=2.7.0 (from flake8<4.0.0,>=3.8.4->ciphey==5.14.0)
  Downloading pycodestyle-2.7.0-py2.py3-none-any.whl.metadata (30 kB)
Collecting mccabe<0.7.0,>=0.6.0 (from flake8<4.0.0,>=3.8.4->ciphey==5.14.0)
  Downloading mccabe-0.6.1-py2.py3-none-any.whl.metadata (4.3 kB)
Collecting win32-setctime>=1.0.0 (from loguru<0.6.0,>=0.5.3->ciphey==5.14.0)
  Downloading win32_setctime-1.1.0-py3-none-any.whl.metadata (2.3 kB)
Collecting platformdirs>=2.2.0 (from pylint<3.0.0,>=2.6.0->ciphey==5.14.0)
  Downloading platformdirs-4.3.6-py3-none-any.whl.metadata (11 kB)
Collecting astroid<=2.17.0-dev0,>=2.15.8 (from pylint<3.0.0,>=2.6.0->ciphey==5.14.0)
  Downloading astroid-2.15.8-py3-none-any.whl.metadata (4.7 kB)
Collecting isort<6,>=4.2.5 (from pylint<3.0.0,>=2.6.0->ciphey==5.14.0)
  Downloading isort-5.13.2-py3-none-any.whl.metadata (12 kB)
Collecting tomlkit>=0.10.1 (from pylint<3.0.0,>=2.6.0->ciphey==5.14.0)
  Downloading tomlkit-0.13.2-py3-none-any.whl.metadata (2.7 kB)
Collecting dill>=0.3.6 (from pylint<3.0.0,>=2.6.0->ciphey==5.14.0)
  Downloading dill-0.3.9-py3-none-any.whl.metadata (10 kB)
Collecting click<9.0.0,>=7.1.2 (from ciphey==5.14.0)
  Downloading click-7.1.2-py2.py3-none-any.whl.metadata (2.9 kB)
Collecting langdetect<2.0.0,>=1.0.8 (from pywhat<1.2.0,>=0.2.5->ciphey==5.14.0)
  Downloading langdetect-1.0.9.tar.gz (981 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 981.5/981.5 kB 557.5 kB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting name_that_hash<2.0.0,>=1.7.0 (from pywhat<1.2.0,>=0.2.5->ciphey==5.14.0)
  Downloading name_that_hash-1.11.0-py3-none-any.whl.metadata (663 bytes)
Collecting commonmark<0.10.0,>=0.9.0 (from rich<11,>=4->ciphey==5.14.0)
  Downloading commonmark-0.9.1-py2.py3-none-any.whl.metadata (5.7 kB)
Collecting pygments<3.0.0,>=2.6.0 (from rich<11,>=4->ciphey==5.14.0)
  Using cached pygments-2.18.0-py3-none-any.whl.metadata (2.5 kB)
Collecting lazy-object-proxy>=1.4.0 (from astroid<=2.17.0-dev0,>=2.15.8->pylint<3.0.0,>=2.6.0->ciphey==5.14.0)
  Downloading lazy-object-proxy-1.10.0.tar.gz (43 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting wrapt<2,>=1.14 (from astroid<=2.17.0-dev0,>=2.15.8->pylint<3.0.0,>=2.6.0->ciphey==5.14.0)
  Downloading wrapt-1.16.0-py3-none-any.whl.metadata (6.6 kB)
Collecting six (from langdetect<2.0.0,>=1.0.8->pywhat<1.2.0,>=0.2.5->ciphey==5.14.0)
  Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
INFO: pip is looking at multiple versions of name-that-hash to determine which version is compatible with other requirements. This could take a while.
Collecting name_that_hash<2.0.0,>=1.7.0 (from pywhat<1.2.0,>=0.2.5->ciphey==5.14.0)
  Downloading name_that_hash-1.10.0-py3-none-any.whl.metadata (619 bytes)
Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Downloading base58-2.1.1-py3-none-any.whl (5.6 kB)
Downloading base91-1.0.1-py3-none-any.whl (3.4 kB)
Downloading cipheydists-0.3.35-py3-none-any.whl (11.6 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.6/11.6 MB 1.0 MB/s eta 0:00:00
Downloading flake8-3.9.2-py2.py3-none-any.whl (73 kB)
Downloading loguru-0.5.3-py3-none-any.whl (57 kB)
Downloading mock-4.0.3-py3-none-any.whl (28 kB)
Downloading pybase62-0.4.3-py3-none-any.whl (5.0 kB)
Downloading pylint-2.17.7-py3-none-any.whl (537 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 537.2/537.2 kB 910.1 kB/s eta 0:00:00
Downloading pywhat-1.1.0-py3-none-any.whl (32 kB)
Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
Downloading rich-10.16.2-py3-none-any.whl (214 kB)
Downloading astroid-2.15.8-py3-none-any.whl (278 kB)
Downloading commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
Downloading dill-0.3.9-py3-none-any.whl (119 kB)
Downloading isort-5.13.2-py3-none-any.whl (92 kB)
Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
Downloading name_that_hash-1.10.0-py3-none-any.whl (29 kB)
Downloading platformdirs-4.3.6-py3-none-any.whl (18 kB)
Downloading pycodestyle-2.7.0-py2.py3-none-any.whl (41 kB)
Downloading pyflakes-2.3.1-py2.py3-none-any.whl (68 kB)
Using cached pygments-2.18.0-py3-none-any.whl (1.2 MB)
Downloading tomlkit-0.13.2-py3-none-any.whl (37 kB)
Downloading win32_setctime-1.1.0-py3-none-any.whl (3.6 kB)
Downloading wrapt-1.16.0-py3-none-any.whl (23 kB)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: langdetect, lazy-object-proxy
  Building wheel for langdetect (pyproject.toml) ... done
  Created wheel for langdetect: filename=langdetect-1.0.9-py3-none-any.whl size=993251 sha256=29eb47b20d61dfabf4a9e135909e89630e51957d73d68ed14d81419e9a055108
  Stored in directory: c:\users\liu.d.h\appdata\local\pip\cache\wheels\eb\87\25\2dddf1c94e1786054e25022ec5530bfed52bad86d882999c48
  Building wheel for lazy-object-proxy (pyproject.toml) ... done
  Created wheel for lazy-object-proxy: filename=lazy_object_proxy-1.10.0-cp313-cp313-win32.whl size=16546 sha256=d7128d7554851ff087d183db3548c10ea952d1bceb7787541c6d0e9aa4ed9238
  Stored in directory: c:\users\liu.d.h\appdata\local\pip\cache\wheels\5a\8a\a3\6b270f863df3862ab7e401bc1c97bebee5b87452b51189ebea
Successfully built langdetect lazy-object-proxy
Installing collected packages: pybase62, mccabe, commonmark, base91, appdirs, wrapt, win32-setctime, tomlkit, six, pygments, pyflakes, pycodestyle, platformdirs, mock, lazy-object-proxy, isort, dill, click, cipheydists, base58, rich, loguru, langdetect, flake8, astroid, pylint, name_that_hash, pywhat, ciphey
Successfully installed appdirs-1.4.4 astroid-2.15.8 base58-2.1.1 base91-1.0.1 ciphey-5.14.0 cipheydists-0.3.35 click-7.1.2 commonmark-0.9.1 dill-0.3.9 flake8-3.9.2 isort-5.13.2 langdetect-1.0.9 lazy-object-proxy-1.10.0 loguru-0.5.3 mccabe-0.6.1 mock-4.0.3 name_that_hash-1.10.0 platformdirs-4.3.6 pybase62-0.4.3 pycodestyle-2.7.0 pyflakes-2.3.1 pygments-2.18.0 pylint-2.17.7 pywhat-1.1.0 rich-10.16.2 six-1.16.0 tomlkit-0.13.2 win32-setctime-1.1.0 wrapt-1.16.0

Liu.D.H  CipheyCore  git(master)   1m 14.168s  11:34 > ciphey -t aGVsbG8sd29ybGQ=
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Scripts\ciphey.exe\__main__.py", line 4, in <module>
    from ciphey.ciphey import main
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\ciphey\__init__.py", line 1, in <module>
    from . import basemods, common, iface
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\ciphey\basemods\__init__.py", line 1, in <module>
    from . import Checkers, Crackers, Decoders, Resources, Searchers
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\ciphey\basemods\Crackers\__init__.py", line 1, in <module>
    from . import (
    ...<9 lines>...
    )
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\ciphey\basemods\Crackers\caesar.py", line 10, in <module>
    from distutils import util
ModuleNotFoundError: No module named 'distutils'
Liu.D.H  CipheyCore  git(master) 11:34 > # install [setuptools](https://pypi.org/project/setuptools/), which now also provides distutils, see also https://stackoverflow.com/questions/77247893/modulenotfounderror-no-module-named-distutils-in-python-3-12
Liu.D.H  CipheyCore  git(master) 11:34 > pip install setuptools
Collecting setuptools
  Using cached setuptools-75.2.0-py3-none-any.whl.metadata (6.9 kB)
Using cached setuptools-75.2.0-py3-none-any.whl (1.2 MB)
Installing collected packages: setuptools
Successfully installed setuptools-75.2.0

Liu.D.H  CipheyCore  git(master) 11:34 >
Liu.D.H  CipheyCore  git(master) 11:34 > ciphey -t aGVsbG8sd29ybGQ=
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Scripts\ciphey.exe\__main__.py", line 7, in <module>
    sys.exit(main())
             ~~~~^^
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\click\core.py", line 829, in __call__
    return self.main(*args, **kwargs)
           ~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\click\core.py", line 782, in main
    rv = self.invoke(ctx)
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\click\core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\click\core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\ciphey\ciphey.py", line 222, in main
    config.complete_config()
    ~~~~~~~~~~~~~~~~~~~~~~^^
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\ciphey\iface\_config.py", line 189, in complete_config
    self.load_objs()
    ~~~~~~~~~~~~~~^^
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\ciphey\iface\_config.py", line 131, in load_objs
    self.objs["checker"] = self(
                           ~~~~^
        _fwd.registry.get_named(self.checker, PolymorphicChecker)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\ciphey\iface\_config.py", line 102, in __call__
    return self.instantiate(t)
           ~~~~~~~~~~~~~~~~^^^
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\ciphey\iface\_config.py", line 97, in
 instantiate
    ret = t(self)
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\ciphey\iface\_modules.py", line 153, in __init__
    self._base = cls(config)
                 ~~~^^^^^^^^
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\ciphey\basemods\Checkers\ezcheck.py", line 46, in __init__
    self.checkers.append(config(What))
                         ~~~~~~^^^^^^
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\ciphey\iface\_config.py", line 102, in __call__
    return self.instantiate(t)
           ~~~~~~~~~~~~~~~~^^^
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\ciphey\iface\_config.py", line 97, in
 instantiate
    ret = t(self)
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\ciphey\iface\_modules.py", line 153, in __init__
    self._base = cls(config)
                 ~~~^^^^^^^^
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\ciphey\basemods\Checkers\what.py", line 59, in __init__
    self.id = identifier.Identifier()
              ~~~~~~~~~~~~~~~~~~~~~^^
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\pywhat\identifier.py", line 10, in __init__
    self.regex_id = RegexIdentifier()
                    ~~~~~~~~~~~~~~~^^
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\pywhat\regex_identifier.py", line 11, in __init__
    self.regexes = json.load(myfile)
                   ~~~~~~~~~^^^^^^^^
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\json\__init__.py", line 293, in load
    return loads(fp.read(),
                 ~~~~~~~^^
UnicodeDecodeError: 'gbk' codec can't decode byte 0xbf in position 695: illegal multibyte sequence
Liu.D.H  CipheyCore  git(master) 11:34 > # Run `control intl.cpl,,1` and Enable `Use unicode utf-8 for worldwide support`, see also https://stackoverflow.com/questions/56419639/what-does-beta-use-unicode-utf-8-for-worldwide-language-support-actually-do
Liu.D.H  CipheyCore  git(master)   0ms  11:39 > ciphey -t aGVsbG8sd29ybGQ=
Possible plaintext: 'gbkkhOphmkc' (y/N): y
╭───────────────────────────────────────────────────────────────────────────╮
│ The plaintext is a YouTube Video ID                                       │
│ Click here to view in browser https://www.youtube.com/watch?v=gbkkhOphmkc │
│                                                                           │
│ Formats used:                                                             │
│    base64                                                                 │
│    xorsingle:                                                             │
│     Key: 28                                                               │
│    utf8                                                                   │
│    atbash                                                                 │
│    leetspeakPlaintext: "gbkkhOphmkc"                                      │
╰───────────────────────────────────────────────────────────────────────────╯

Liu.D.H  CipheyCore  git(master)   1m 27.964s  11:42 >

@bee-san bee-san closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Something that doesn't affect the user directly WARNING
Projects
None yet
Development

No branches or pull requests

2 participants