-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Comments
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 Details
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 So I try to dig into the
I think maybe it's related to the CI environment but not sure. I also checked in NEED HELP ABOUT THIS STRANGE PROBLEM!!! ![]() |
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.
2024-10-21 Updates: I have updated the ci to build cipheycore for the latest cpython 3.13. Install Ciphey for CPython v3.13Liu.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 >
|
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
The text was updated successfully, but these errors were encountered: