【CTF-Crypto工具】Ciphey安装教程(Window+Kali存在多版本python)

嘿,这里是目录!

  • 0. 前言
  • 1. window10环境安装ciphey【简单一点】
    • 1.1 检查环境
    • 1.2 我的环境
    • 1.3 安装[^2][^3]
    • 1.4 头铁的报错
  • 2. vmware虚拟机,kali2024.1(自带python2.7和python3.11)【复杂亿些】
    • 2.1 检查环境
    • 2.2 我的环境
    • 2.3 环境改造
    • 2.4 忽略了未生效的命令之后,后续报错解决(参考文章的所有步骤都已走完)
      • 2.4.1 sudo apt-get install build-essential libssl-dev libffi-dev python-dev
      • 2.4.2 sudo apt-get install -y python3-pip
    • 2.5 安装[^2]

0. 前言

  • 安装了多半天,累死简直,网上说这个的相对不大详细,总结一下经验,反正就疯狂报错,最后能用了
  • 安装环境1:windows10 + python3.8.5【简单一点】
  • 安装环境2:vmware虚拟机,kali2024.1(自带python2.7和python3.11)【复杂亿些】
  • Ciphey官方安装教程,写的挺简单的
    • 核心要点1:python3.7+以上的版本才可以使用,python3.8也行,但是windows下python3.9+不可以,其他平台python3.10+不可以
    • 核心要点2:windows环境下python默认安装32位,但是使用ciphey需要安装在python是64位的环境

1. window10环境安装ciphey【简单一点】

1.1 检查环境

  1. 检查python是不是3.7或者3.8版本的?不是用不了
  • cmd中敲(不用进管理员模式),查看是否符合
python --version
  1. 检查python是否是64位的版本1?不是用不了
  • cmd中敲(不用进管理员模式),查看是否符合
python
import platform
platform.architecture()
  1. 如果两者都满足,恭喜你具备安装条件了,开始安装

1.2 我的环境

  • windows10 + python3.8.5

1.3 安装23

  • cmd中敲(不用进管理员模式)
pip install ciphey  -i https://pypi.mirrors.ustc.edu.cn/simple/
  • 编辑这个python文件
..\python安装的路径\Lib\site-packages\pywhat\regex_identifier.py
  • 将文件中的r改成rb
import json
import os
import reclass RegexIdentifier:def __init__(self):path = "Data/regex.json"fullpath = os.path.join(os.path.dirname(os.path.abspath(__file__)), path)# 改下面这句里的rwith open(fullpath, "r") as myfile:self.regexes = json.load(myfile)
  • 改成这样就行
with open(fullpath, "rb") as myfile:
  • 完结,可以正常使用了
    • 使用指南4,cmd中直接敲命令就行
ciphey --help
ciphey -t "密文"
ciphey -f 文件名
  • 举俩栗子
ciphey -t "aGVsbG8gbXkgbmFtZSBpcyBiZWU="
ciphey -t "4O595954494Q32515046324757595N534R52415653334357474R4N575955544R4O5N4Q46434S4O59474253464Q5N444R4Q51334557524O5N4S424944473542554O595N44534O324R49565746515532464O49345649564O464R4R494543504N35"

1.4 头铁的报错

  • 当时没想明白(现在也没明白)为啥非得从r改成rb,就先没改,试了试不改能不能跑,很好,不能跑,会报错,必须改
  • 报错信息如下
Traceback (most recent call last):File "D:\Python385\lib\runpy.py", line 194, in _run_module_as_mainreturn _run_code(code, main_globals, None,File "D:\Python385\lib\runpy.py", line 87, in _run_codeexec(code, run_globals)File "D:\Python385\Scripts\ciphey.exe\__main__.py", line 7, in <module>File "D:\Python385\lib\site-packages\click\core.py", line 829, in __call__return self.main(*args, **kwargs)File "D:\Python385\lib\site-packages\click\core.py", line 782, in mainrv = self.invoke(ctx)File "D:\Python385\lib\site-packages\click\core.py", line 1066, in invokereturn ctx.invoke(self.callback, **ctx.params)File "D:\Python385\lib\site-packages\click\core.py", line 610, in invokereturn callback(*args, **kwargs)File "D:\Python385\lib\site-packages\ciphey\ciphey.py", line 222, in mainconfig.complete_config()File "D:\Python385\lib\site-packages\ciphey\iface\_config.py", line 189, in complete_configself.load_objs()File "D:\Python385\lib\site-packages\ciphey\iface\_config.py", line 131, in load_objsself.objs["checker"] = self(File "D:\Python385\lib\site-packages\ciphey\iface\_config.py", line 102, in __call__return self.instantiate(t)File "D:\Python385\lib\site-packages\ciphey\iface\_config.py", line 97, in instantiateret = t(self)File "D:\Python385\lib\site-packages\ciphey\iface\_modules.py", line 153, in __init__self._base = cls(config)File "D:\Python385\lib\site-packages\ciphey\basemods\Checkers\ezcheck.py", line 46, in __init__self.checkers.append(config(What))File "D:\Python385\lib\site-packages\ciphey\iface\_config.py", line 102, in __call__return self.instantiate(t)File "D:\Python385\lib\site-packages\ciphey\iface\_config.py", line 97, in instantiateret = t(self)File "D:\Python385\lib\site-packages\ciphey\iface\_modules.py", line 153, in __init__self._base = cls(config)File "D:\Python385\lib\site-packages\ciphey\basemods\Checkers\what.py", line 59, in __init__self.id = identifier.Identifier()File "D:\Python385\lib\site-packages\pywhat\identifier.py", line 10, in __init__self.regex_id = RegexIdentifier()File "D:\Python385\lib\site-packages\pywhat\regex_identifier.py", line 11, in __init__self.regexes = json.load(myfile)File "D:\Python385\lib\json\__init__.py", line 293, in loadreturn loads(fp.read(),
UnicodeDecodeError: 'gbk' codec can't decode byte 0xbf in position 695: illegal multibyte sequence

2. vmware虚拟机,kali2024.1(自带python2.7和python3.11)【复杂亿些】

2.1 检查环境

  1. 检查python是不是3.7或者3.8版本的?
  • cmd中敲(不用进管理员模式),这里面可以看到有一些软链接,有python2.7,也有python3.11
cd /usr/bin/
ll python*
  1. 悬着的心终于死了,确实不是python3.7或者python3.8,也不用检查python是否是64位的版本了,现在的环境反正也装不了

2.2 我的环境

  • vmware虚拟机,kali2024.1 + python2.7 + python3.11

2.3 环境改造

  1. 没有就造一个python3.8的环境,查找相关资料,如何在linux环境中安装不同版本的python
  • 参考文章操作:kali linux 安装python 3xx 以及多版本切换的方式,python就用了这篇文章里的3.8.16版本
  • 要点1:这里敲命令的时候注意截图,到底是在哪个目录下进行操作
  • 要点2:执行这两条命令会出点异常情况,但是没有红色的报错,事实上就是python3-pip没装上,python-dev改名了,现在叫python-dev-is-python3,继续安装ciphey会报错,显示没有pip3这个模块
  • 修改过后正确的命令
# curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
# python3.8 get-pip.py
# 因为事实上我一开始就没注意到这个问题,所以产生很多问题都是挨着来解决的
# 我不确定上面这两行能否解决未成功安装pip这个问题
# 如果查询pip版本显示没有pip模块,大概率是要重新走一遍下面的路的
# 查询pip版本命令
# python3.8 -m pip --version 
sudo apt-get install build-essential libssl-dev libffi-dev python-dev-is-python3

2.4 忽略了未生效的命令之后,后续报错解决(参考文章的所有步骤都已走完)

  • 原文中有问题的命令
sudo apt-get install -y python3-pip  #pip安装
sudo apt-get install build-essential libssl-dev libffi-dev python-dev #环境安装

2.4.1 sudo apt-get install build-essential libssl-dev libffi-dev python-dev

  1. sudo apt-get install build-essential libssl-dev libffi-dev python-dev执行后会显示如下信息,python-dev改名了,现在叫python-dev-is-python3
┌──(kali㉿kali)-[/usr/bin]
└─$ sudo apt-get install build-essential libssl-dev libffi-dev python-dev
[sudo] password for kali: 
Sorry, try again.
[sudo] password for kali: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:python2 python2-dev python-dev-is-python3E: Package 'python-dev' has no installation candidate
  • 重装python-dev-is-python3
sudo apt-get install build-essential libssl-dev libffi-dev python-dev-is-python3

2.4.2 sudo apt-get install -y python3-pip

  • sudo apt-get install -y python3-pip执行后会显示如下信息,事实上就是python3-pip没装上
┌──(kali㉿kali)-[~/Softwares/Python-3.8.16]
└─$ sudo apt-get install -y python3-pip
[sudo] password for kali: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-pip is already the newest version (24.0+dfsg-2).
python3-pip set to manually installed.
The following packages were automatically installed and are no longer required:cgroupfs-mount containerd libintl-perl libintl-xs-perl libmodule-find-perllibmodule-scandeps-perl libproc-processtable-perl libsort-naturally-perl needrestart
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 813 not upgraded.
0更新,0新安装,0被移除,813没有被更新
  • 继续安装ciphey的报错,显示没有pip3这个模块
┌──(kali㉿kali)-[~/Softwares/Python-3.8.16]
└─$ python38 -m pip3 install -U ciphey
/usr/bin/python38: No module named pip3
  • 查询python3.8的pip版本也会显示没有pip这个模块
┌──(kali㉿kali)-[~/Softwares/Python-3.8.16]
└─$ python38 -m pip --version 
/usr/bin/python38: No module named pip
  • 陷入沉思,没有pip那就安装pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python38 get-pip.py
  • 报错来喽
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.                                                                                        
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/                                                                                             
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/                                                                                             
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/                                                                                             
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/                                                                                             
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/                                                                                             
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement pip (from versions: none)
ERROR: No matching distribution found for pip                                    
  • 看不懂,交给了ai帮我分析了一下
    • 模块不可用:错误信息中多次提到了 ssl module in Python is not available 和 Can’t connect to HTTPS URL because the SSL module is not available. 这表明你的 Python 环境中缺少 SSL 模块,这通常是因为 Python 没有编译时链接到 OpenSSL 库。
    • 网络连接问题:由于缺少 SSL 模块,你的 Python 环境无法建立安全的 HTTPS 连接,导致无法从 PyPI 下载 pip。
    • 确认 ssl 模块:由于你的报错信息中提到了 SSL 模块不可用,确保 Python 3.8 有 ssl 模块。运行命令检查后发现确实没有SSL模块。
┌──(kali㉿kali)-[~/Softwares/Python-3.8.16]
└─$ python38 -c "import ssl; print(ssl)"
Traceback (most recent call last):File "<string>", line 1, in <module>File "/home/kali/Softwares/Python-3.8.16/Lib/ssl.py", line 98, in <module>import _ssl             # if we can't import it, let the error propagate
ModuleNotFoundError: No module named '_ssl'
  • 重新编译 Python,如果 Python 3.8 是从源代码安装的,并且没有正确链接 OpenSSL,你可能需要重新编译 Python,然后按照编译说明进行操作,确保在编译时链接到 OpenSSL:
./configure --with-ssl
make
sudo make install
  • 全部执行完毕后出了个橙色警告,但使用上好像也没遇到啥问题
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv 
  • 安装pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python38 get-pip.py
  • 一堆橙色警告,但是successfully啦
  WARNING: The script wheel is installed in '/home/kali/.local/bin' which is not on PATH.Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.                                                                                       WARNING: The scripts pip, pip3 and pip3.8 are installed in '/home/kali/.local/bin' which is not on PATH.                                                                                                Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.                                                                                       
Successfully installed pip-24.0 wheel-0.43.0                                                         [notice] A new release of pip is available: 22.0.4 -> 24.0
[notice] To update, run: pip3 install --upgrade pip
  • 查询pip版本
┌──(kali㉿kali)-[~/Softwares/Python-3.8.16]
└─$ python38 -m pip --version                              
pip 24.0 from /home/kali/.local/lib/python3.8/site-packages/pip (python 3.8)

2.5 安装2

  • cmd中敲(不用进管理员模式)
python38 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple ciphey
  • 如果只敲下面的命令,会报错哦,因为下载速度太慢了
python3 -m pip install -U ciphey
  • 报错信息,网络连接问题,连接超时
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa3c9f63e80>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/0e/72/a3add0e4eec4eb9e2569554f7c70f4a3c27712f40e3284d483e88094cc0e/langdetect-1.0.9.tar.gz                 Downloading langdetect-1.0.9.tar.gz (981 kB)                                                       ━━━━━━━━━━━━━━━━━━━━━━━━━╺━━━━━━━━━━━━━━ 614.4/981.5 kB 4.7 kB/s eta 0:01:19
ERROR: Exception:
Traceback (most recent call last):                                                                   File "/home/kali/.local/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher                                                                                       yield                                                                                            File "/home/kali/.local/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 561, in read                                                                                                 data = self._fp_read(amt) if not fp_closed else b""                                              File "/home/kali/.local/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 527, in _fp_read                                                                                             return self._fp.read(amt) if amt is not None else self._fp.read()                                File "/home/kali/.local/lib/python3.8/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 98, in read                                                                                          data: bytes = self.__fp.read(amt)                                                                File "/home/kali/Softwares/Python-3.8.16/Lib/http/client.py", line 459, in read                    n = self.readinto(b)                                                                             File "/home/kali/Softwares/Python-3.8.16/Lib/http/client.py", line 503, in readinto                n = self.fp.readinto(b)                                                                          File "/home/kali/Softwares/Python-3.8.16/Lib/socket.py", line 669, in readinto                     return self._sock.recv_into(b)                                                                   File "/home/kali/Softwares/Python-3.8.16/Lib/ssl.py", line 1241, in recv_into                      return self.read(nbytes, buffer)                                                                 File "/home/kali/Softwares/Python-3.8.16/Lib/ssl.py", line 1099, in read                           return self._sslobj.read(len, buffer)                                                            
socket.timeout: The read operation timed out                                                         During handling of the above exception, another exception occurred:                                  Traceback (most recent call last):                                                                   File "/home/kali/.local/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper                                                                                status = run_func(*args)                                                                         File "/home/kali/.local/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper                                                                                             return func(self, options, args)                                                                 File "/home/kali/.local/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 377, in run                                                                                                requirement_set = resolver.resolve(                                                              File "/home/kali/.local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve                                                                               result = self._result = resolver.resolve(                                                        File "/home/kali/.local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve                                                                                          state = resolution.resolve(requirements, max_rounds=max_rounds)                                  File "/home/kali/.local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 427, in resolve                                                                                          failure_causes = self._attempt_to_pin_criterion(name)                                            File "/home/kali/.local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 239, in _attempt_to_pin_criterion                                                                        criteria = self._get_updated_criteria(candidate)                                                 File "/home/kali/.local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 230, in _get_updated_criteria                                                                            self._add_to_criteria(criteria, requirement, parent=candidate)                                   File "/home/kali/.local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria                                                                                 if not criterion.candidates:                                                                     File "/home/kali/.local/lib/python3.8/site-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__                                                                                           return bool(self._sequence)                                                                      File "/home/kali/.local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__                                                                     return any(self)                                                                                 File "/home/kali/.local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in <genexpr>                                                                    return (c for c in iterator if id(c) not in self._incompatible_ids)                              File "/home/kali/.local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built                                                                   candidate = func()                                                                               File "/home/kali/.local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 182, in _make_candidate_from_link                                                             base: Optional[BaseCandidate] = self._make_base_candidate_from_link(                             File "/home/kali/.local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 228, in _make_base_candidate_from_link                                                        self._link_candidate_cache[link] = LinkCandidate(                                                File "/home/kali/.local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 290, in __init__                                                                           super().__init__(                                                                                File "/home/kali/.local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__                                                                           self.dist = self._prepare()                                                                      File "/home/kali/.local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 222, in _prepare                                                                           dist = self._prepare_distribution()                                                              File "/home/kali/.local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 301, in _prepare_distribution                                                              return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)                     File "/home/kali/.local/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 525, in prepare_linked_requirement                                                                       return self._prepare_linked_requirement(req, parallel_builds)                                    File "/home/kali/.local/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 596, in _prepare_linked_requirement                                                                      local_file = unpack_url(                                                                         File "/home/kali/.local/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 168, in unpack_url                                                                                       file = get_http_url(                                                                             File "/home/kali/.local/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 109, in get_http_url                                                                                     from_path, content_type = download(link, temp_dir.path)                                          File "/home/kali/.local/lib/python3.8/site-packages/pip/_internal/network/download.py", line 147, in __call__                                                                                           for chunk in chunks:                                                                             File "/home/kali/.local/lib/python3.8/site-packages/pip/_internal/cli/progress_bars.py", line 53, in _rich_progress_bar                                                                                 for chunk in iterable:                                                                           File "/home/kali/.local/lib/python3.8/site-packages/pip/_internal/network/utils.py", line 63, in response_chunks                                                                                        for chunk in response.raw.stream(                                                                File "/home/kali/.local/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 622, in stream                                                                                               data = self.read(amt=amt, decode_content=decode_content)                                         File "/home/kali/.local/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 587, in read                                                                                                 raise IncompleteRead(self._fp_bytes_read, self.length_remaining)                                 File "/home/kali/Softwares/Python-3.8.16/Lib/contextlib.py", line 131, in __exit__                 self.gen.throw(type, value, traceback)                                                           File "/home/kali/.local/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 443, in _error_catcher                                                                                       raise ReadTimeoutError(self._pool, None, "Read timed out.")                                      
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
  • 又是一堆橙色警告,但是successfully啦
  WARNING: The script cmark is installed in '/home/kali/.local/bin' which is not on PATH.Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.                                                                                             WARNING: The script pygmentize is installed in '/home/kali/.local/bin' which is not on PATH.          Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.                                                                                             WARNING: The script pyflakes is installed in '/home/kali/.local/bin' which is not on PATH.            Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.                                                                                             WARNING: The script pycodestyle is installed in '/home/kali/.local/bin' which is not on PATH.         Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.                                                                                             WARNING: The scripts isort and isort-identify-imports are installed in '/home/kali/.local/bin' which is not on PATH.                                                                                          Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.                                                                                             WARNING: The script base58 is installed in '/home/kali/.local/bin' which is not on PATH.              Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.                                                                                             WARNING: The script flake8 is installed in '/home/kali/.local/bin' which is not on PATH.              Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.                                                                                             WARNING: The scripts epylint, pylint, pylint-config, pyreverse and symilar are installed in '/home/kali/.local/bin' which is not on PATH.                                                                     Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.                                                                                             WARNING: The scripts name-that-hash and nth are installed in '/home/kali/.local/bin' which is not on PATH.                                                                                                    Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.                                                                                             WARNING: The scripts pywhat and what are installed in '/home/kali/.local/bin' which is not on PATH.   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.                                                                                             WARNING: The script ciphey is installed in '/home/kali/.local/bin' which is not on PATH.              Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.                                                                                             
Successfully installed appdirs-1.4.4 astroid-2.15.8 base58-2.1.1 base91-1.0.1 ciphey-5.14.0 cipheycore-0.3.2 cipheydists-0.3.35 click-7.1.2 colorama-0.4.6 commonmark-0.9.1 dill-0.3.8 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.2.1 pybase62-0.4.3 pycodestyle-2.7.0 pyflakes-2.3.1 pygments-2.18.0 pylint-2.17.7 pywhat-1.1.0 pyyaml-5.4.1 rich-10.16.2 six-1.16.0 tomli-2.0.1 tomlkit-0.12.5 typing-extensions-4.11.0 wrapt-1.16.0
  • 完结,可以正常使用了
    • 使用指南
python38 -m ciphey --help
python38 -m ciphey  -t "密文"
python38 -m ciphey -f 文件名
  • 举俩栗子
python38 -m ciphey -t "aGVsbG8gbXkgbmFtZSBpcyBiZWU="
python38 -m ciphey -t "4O595954494Q32515046324757595N534R52415653334357474R4N575955544R4O5N4Q46434S4O59474253464Q5N444R4Q51334557524O5N4S424944473542554O595N44534O324R49565746515532464O49345649564O464R4R494543504N35"

  1. 两种方法判断Python的位数是32位还是64位 ↩︎

  2. 【密码学工具】Ciphey和WinDecrypto的使用随笔 ↩︎ ↩︎

  3. CTF-Crypto必备自动解密神器python-Ciphey(详细安装介绍) ↩︎

  4. 自动解密神器Ciphey ↩︎

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/834443.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

pwn(一)前置技能

以下是pwn中的题目&#xff08;漏洞&#xff09;类型&#xff1a; 关于pwn的学习&#xff1a; 一.什么是pwn&#xff1f;&#xff08;二进制的漏洞&#xff09; "Pwn"是一个俚语&#xff0c;起源于电子游戏社区&#xff0c;经常在英语中用作网络或电子游戏文化中的…

数字化转型浪潮下,信创如何破浪前行,六招助你稳中求胜

信创改造落地过程中的六个难点及应对经验 技术生态迅猛发展&#xff0c;尚未成熟且多元化&#xff0c;信创技术栈应用经验匮乏&#xff0c;导致改造落地工作面临重重挑战。在此背景下&#xff0c;如何克服技术难题&#xff0c;推动信创改造顺利实施&#xff0c;成为业界亟待解决…

Linux nohup 命令

Linux nohup 命令 应用场景 使用 PyCharm 连接服务器跑模型虽然很方便&#xff0c;但是如果遇到网络不佳、PyCharm出BUG、急需转移阵地等情况就只能中断训练&#xff0c;前面的全白跑了。 因此可以尝试直接在服务器上使用命令跑模型&#xff0c;这个命令好说&#xff0c;笨一…

为什么需要归档和管理合同

归档和管理合同是非常重要的&#xff0c;主要有以下几个原因&#xff1a; 1. 法律合规性&#xff1a;公司需要遵守法律和监管要求&#xff0c;合同是法律文件&#xff0c;涉及公司的权益和责任。归档和管理合同可以确保公司遵守法律法规&#xff0c;合同的内容和执行过程都符合…

水质监测设备预警系统

随着工业化进程的加快和城市化水平的提高&#xff0c;水质安全问题愈发受到社会各界的广泛关注。为了确保水资源的清洁与安全&#xff0c;水质监测设备预警系统成为了不可或缺的利器。在这个背景下&#xff0c;HiWoo Cloud平台凭借其先进的技术和卓越的性能&#xff0c;为水质监…

【Java SE】对象的比较

&#x1f970;&#x1f970;&#x1f970;来都来了&#xff0c;不妨点个关注叭&#xff01; &#x1f449;博客主页&#xff1a;欢迎各位大佬!&#x1f448; 本期内容满满干货&#xff0c;将会深入介绍对象与对象之间是如何进行比较的&#xff0c;我们知道基本数据类型是可以直…

[Linux]如何在Ubuntu 22.04系統安裝Node-red?

Node-red是一個建立在Node.js上的視覺化程式設計工具&#xff0c;其常見的應用情境為建置或轉換各項硬體之間的通信協定的物聯網或工聯網場域&#xff0c;其可藉由設置來安裝第三方應用模組來建置多樣的通信協定節點&#xff0c;包含modbus in/out, mqtt in/out, websocket in/…

Mac YOLO V9推理测试

环境&#xff1a; Mac M1 (MacOS Sonoma 14.3.1) Python 3.11PyTorch 2.1.2 一、准备工作 工程及模型下载&#xff1a;​​​​​​​https://github.com/WongKinYiu/yolov9 git clone https://github.com/WongKinYiu/yolov9.git 克隆后安装相关依赖&#xff08;没啥依赖好装…

容器集群管理系统Kubernetes(K8S)

目录 一、前言 1.1什么是云原生&#xff1f; 1.2云要素的四要素&#xff1f; 1.2.1微服务 1.2.2容器化 1.2.3DevOps 1.2.4持续交付 1.3云平台有哪些&#xff1f; 1.4SRE 二、Kubernetes 概述 2.1K8S 是什么 2.2K8S作用 2.3K8S版本 2.4为什么要用 K8S 2.5K8S 的特…

在Ubuntu上安装Anaconda之后,启动失败

为了方便管理Pythonu环境&#xff0c;在Ubuntu的Docker容器中安装了Anaconda&#xff0c;安装完成&#xff0c;启动时出现如下错误&#xff1a; conda activate xxx usage: conda [-h] [--no-plugins] [-V] COMMAND ... conda: error: argument COMMAND: invalid choice: acti…

如何让加快OpenHarmony编译速度?

OpenHarmony 有两种编译方式&#xff0c;一种是通过 hb 工具编译&#xff0c;一种是通过 build.sh 脚本编译。本文笔者将提升 build.sh 方式编译速度的方法整理如下&#xff1a; 因为笔者只用 build.sh 脚本编译&#xff0c;没用过 hb 工具&#xff0c;好像下面的选项也可以用于…

Jenkins--自动化构建和部署SpringBoot项目

一、实现目标 通过在Jenkins中创建流水线任务&#xff0c;编写流水线脚本以实现自动化构建和部署SpringBoot项目。流水线脚本主要实现以下几个步骤&#xff1a; Preparation&#xff1a;从gitee上拉取远程仓库的SpringBoot项目代码。Build&#xff1a;使用Maven对拉取的代码进…

部署JVS服务出现上传文件不可用,问题原因排查。

事情的起因是这样的&#xff0c;部门经理让我部署一下JVS资源共享框架&#xff0c;项目的地址是在这里 项目资源地址 各位小伙伴们做好了&#xff0c;我要开始发车了&#xff0c;全新的“裂开之旅” 简单展示一下如何部署JVS文档 直达链接 撕裂要开始了 本来服务启动的好好…

链式二叉树的基本操作1

1.概念回顾 讲二叉树的基本操作之前&#xff0c;我们回顾一下二叉树的概念 在讲树之前&#xff0c;我们的每讲一种数据结构&#xff0c;无外乎就是在讲它们的增删查改&#xff0c;但是在树这里&#xff0c;就有了不小变化。 2.结点的定义 既然是链式二叉树&#xff0c;那必须…

部署 Sentinel 控制台:实现流量管理和监控

序言 Sentinel 是阿里巴巴开源的一款流量防护与监控平台&#xff0c;它可以帮助开发者有效地管理微服务的流量&#xff0c;实现流量控制、熔断降级、系统负载保护等功能。本文将介绍如何在项目中部署和配置 Sentinel 控制台&#xff0c;实现微服务的流量防护和监控。 一、Sen…

深入理解Linux中TCP/IP协议栈的实现原理与具体过程

一、Linux内核与网络体系结构 在我们了解整个linux系统的网络体系结构之前&#xff0c;我们需要对整个网络体系调用&#xff0c;初始化和交互的位置&#xff0c;同时也是Linux操作系统中最为关键的一部分代码-------内核&#xff0c;有一个初步的认知。 1、Linux内核的结构 …

智能改写文章怎么做,3个方法让你轻松改出高质量文章

在如今的自媒体兴盛时代&#xff0c;内容创作对于自媒体人来说是必不可少的一项工作&#xff0c;然而&#xff0c;如何在保持内容原创性的前提下迅速生成高质量的文章变得尤为重要。智能改写文章的出现&#xff0c;为所有的自媒体人带来了一种全新的思路&#xff0c;它让大家在…

2024付费进群系统,源码及搭建变现视频课程(教程+源码)

前三节讲解搭建支付对接&#xff0c;后两节讲解一些引流变现的方法&#xff0c;还有一种变现就是帮人搭建这样的平台&#xff0c;因为全网都没有一套完整的视频教怎么搭建的&#xff0c;有也只是文字教程&#xff0c;一般新人根本看不懂&#xff0c;我视频实操演示&#xff0c;…

16-LINUX--线程安全

一。线程安全 线程安全即就是在多线程运行的时候&#xff0c;不论线程的调度顺序怎样&#xff0c;最终的结果都是 一样的、正确的。那么就说这些线程是安全的。 要保证线程安全需要做到&#xff1a; 1&#xff09; 对线程同步&#xff0c;保证同一时刻只有一个线程访问临界资…

minio安装部署

MinIO 介绍 MinIO是一个对象存储解决方案&#xff0c;它提供了与Amazon Web Services S3兼容的API&#xff0c;并支持所有核心S3功能。 MinIO有能力在任何地方部署 - 公有云或私有云&#xff0c;裸金属基础设施&#xff0c;编排环境&#xff0c;以及边缘基础设施。 MinIO 安装…