CALDERA GitHub官网
文章目录
-
- 1 下载
-
- 1.1 Tips:
- 1.2 clone caldera
- 1.3 clone plugins
- 2 安装
-
- 2.1 必要和推荐
- 2.2 查看pip3版本
- 2.3 python3.10安装报错
- 2.4 使用miniconda更换python版本
-
- 2.4.1 增加可执行权限
- 2.4.2 执行安装
- 2.4.3 验证
- 2.4.4 使用conda查找支持的python版本
- 2.4.5 安装python3.9.12
- 2.4.6 查看当前pip3的版本
- 2.5 开始安装caldera
- 3 运行
-
- 3.1 模块缺乏初始运行提示
- 3.2 使用pip缺少模块的安装
- 3.3 重新安装,确保无遗漏
- 3.4 也可以将`requirements-dev.txt`一并安装
- 3.5 程序正式开始运行
- 4 访问
-
- 4.1 地址:http://localhost:8888/
- 4.2 账号密码
- 4.3 页面展示
1 下载
1.1 Tips:
使用git clone
下载GitHub如果仓库下载缓慢或失败,可以在原地址https://
后插入gitclone.com/
下载。
git clone https://github.com/mitre/caldera.git # 插入原始链接gitclone.com/ git clone https://gitclone.com/github.com/mitre/caldera.git
参考自:https://blog.csdn.net/weixin_52450702/article/details/124911326
相关网站:https://gitclone.com/
其他方法:Gitee、码云、科学上网等。
1.2 clone caldera
使用下面的命令下载plugins
文件保存在/caldera/.git/modules/plugins/
在目录下,下载目录复制到/caldera/plugins/
目录下。
git clone https://github.com/mitre/caldera.git --recursive
1.3 clone plugins
plugins很多下面的文件下载失败的概率很大,根据提示使用git clone
单独下载:
git clone https://github.com/mitre/caldera.git git clone https://github.com/mitre/access.git git clone https://github.com/mitre/atomic.git git clone https://github.com/mitre/builder.git git clone https://github.com/mitre/compass.git git clone https://github.com/mitre/debrief.git git clone https://github.com/mitre/emu.git git clone https://github.com/mitre/fieldmanual.git git clone https://github.com/mitre/gameboard.git git clone https://github.com/mitre/human.git git clone https://github.com/mitre/manx.git git clone https://github.com/mitre/mock.git git clone https://github.com/mitre/response.git git clone https://github.com/mitre/sandcat.git git clone https://github.com/mitre/ssl.git git clone https://github.com/mitre/stockpile.git git clone https://github.com/mitre/training.git
将单独下载的plugins拷贝到/caldera/plugins/
目录下。
2 安装
2.1 必要和推荐
- Python 3.7, 3.8, or 3.9 (with pip3)
- GoLang 1.17 (for optimal agent functionality)
其他详细信息参考官网:https://caldera.readthedocs.io/en/latest/Installing-CALDERA.html#requirements
2.2 查看pip3版本
┌──(lwj?kali)-[~/Desktop/caldera] └─$ pip3 -V pip 22.1.1 from /usr/lib/python3/dist-packages/pip (python 3.10)
2.3 python3.10安装报错
kali 2022.2更新后,自动安装了python3.9和3.10,经测试CALDERA的安装只支持3.7、3.8、3.9三个版本,3.10安装时会报如下的错,这里看到pip3的版本是3.10,所以接下来需要更换python版本。
┌──(lwj㉿kali)-[~/Desktop/caldera]
└─$ pip3 install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting aiohttp-jinja2==1.2.0
Downloading aiohttp_jinja2-1.2.0-py3-none-any.whl (10 kB)
Collecting aiohttp==3.6.2
Downloading aiohttp-3.6.2-py3-none-any.whl (441 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 441.8/441.8 kB 1.1 MB/s eta 0:00:00
Collecting aiohttp_session==2.9.0
Downloading aiohttp_session-2.9.0-py3-none-any.whl (14 kB)
Collecting aiohttp-security==0.4.0
Downloading aiohttp_security-0.4.0-py3-none-any.whl (6.9 kB)
Collecting jinja2==2.10.3
Downloading Jinja2-2.10.3-py2.py3-none-any.whl (125 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.3/125.3 kB 5.6 MB/s eta 0:00:00
Requirement already satisfied: pyyaml>=5.1 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 6)) (5.4.1)
Requirement already satisfied: cryptography>=3.2 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 7)) (3.4.8)
Collecting websockets==8.1
Downloading websockets-8.1.tar.gz (58 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.9/58.9 kB 1.9 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting Sphinx==3.0.4
Downloading Sphinx-3.0.4-py3-none-any.whl (2.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.8/2.8 MB 1.5 MB/s eta 0:00:00
Collecting sphinx_rtd_theme==0.4.3
Downloading sphinx_rtd_theme-0.4.3-py2.py3-none-any.whl (6.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.4/6.4 MB 1.9 MB/s eta 0:00:00
Collecting recommonmark==0.6.0
Downloading recommonmark-0.6.0-py2.py3-none-any.whl (10 kB)
Collecting marshmallow==3.5.1
Downloading marshmallow-3.5.1-py2.py3-none-any.whl (45 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.5/45.5 kB 726.4 kB/s eta 0:00:00
Collecting dirhash==0.2.0
Downloading dirhash-0.2.0-py3-none-any.whl (12 kB)
Collecting docker==4.2.0
Downloading docker-4.2.0-py2.py3-none-any.whl (143 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.9/143.9 kB 6.0 MB/s eta 0:00:00
Collecting donut-shellcode==0.9.2
Downloading donut-shellcode-0.9.2.tar.gz (149 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 149.7/149.7 kB 2.3 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Requirement already satisfied: marshmallow-enum==1.5.1 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 16)) (1.5.1)
Requirement already satisfied: ldap3==2.8.1 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 17)) (2.8.1)
Collecting lxml~=4.6.2
Downloading lxml-4.6.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (6.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.9/6.9 MB 2.1 MB/s eta 0:00:00
Collecting reportlab==3.5.64
Downloading reportlab-3.5.64.tar.gz (2.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.9/2.9 MB 1.2 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting svglib==1.0.1
Downloading svglib-1.0.1.tar.gz (900 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 900.7/900.7 kB 1.2 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting Markdown==3.3.3
Downloading Markdown-3.3.3-py3-none-any.whl (96 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.3/96.3 kB 1.8 MB/s eta 0:00:00
Collecting dnspython==2.1.0
Downloading dnspython-2.1.0-py3-none-any.whl (241 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 242.0/242.0 kB 1.9 MB/s eta 0:00:00
Collecting chardet<4.0,>=2.0
Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 kB 2.5 MB/s eta 0:00:00
Collecting async-timeout<4.0,>=3.0
Downloading async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/lib/python3/dist-packages (from aiohttp==3.6.2->-r requirements.txt (line 2)) (1.7.2)
Collecting multidict<5.0,>=4.5
Downloading multidict-4.7.6.tar.gz (50 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.0/51.0 kB 4.2 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: attrs>=17.3.0 in /usr/lib/python3/dist-packages (from aiohttp==3.6.2->-r requirements.txt (line 2)) (21.2.0)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/lib/python3/dist-packages (from jinja2==2.10.3->-r requirements.txt (line 5)) (2.0.1)
Requirement already satisfied: packaging in /usr/lib/python3/dist-packages (from Sphinx==3.0.4->-r requirements.txt (line 9)) (21.3)
Requirement already satisfied: babel>=1.3 in /usr/lib/python3/dist-packages (from Sphinx==3.0.4->-r requirements.txt (line 9)) (2.8.0)
Collecting sphinxcontrib-serializinghtml
Downloading sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.0/94.0 kB 161.0 kB/s eta 0:00:00
Collecting sphinxcontrib-jsmath
Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB)
Collecting docutils>=0.12
Downloading docutils-0.18.1-py2.py3-none-any.whl (570 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 570.0/570.0 kB 1.2 MB/s eta 0:00:00
Collecting alabaster<0.8,>=0.7
Downloading alabaster-0.7.12-py2.py3-none-any.whl (14 kB)
Collecting sphinxcontrib-applehelp
Downloading sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.2/121.2 kB 2.0 MB/s eta 0:00:00
Collecting sphinxcontrib-htmlhelp
Downloading sphinxcontrib_htmlhelp-2.0.0-py2.py3-none-any.whl (100 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.5/100.5 kB 2.4 MB/s eta 0:00:00
Collecting imagesize
Downloading imagesize-1.3.0-py2.py3-none-any.whl (5.2 kB)
Collecting sphinxcontrib-qthelp
Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 2.4 MB/s eta 0:00:00
Collecting snowballstemmer>=1.1
Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.0/93.0 kB 1.5 MB/s eta 0:00:00
Requirement already satisfied: Pygments>=2.0 in /usr/lib/python3/dist-packages (from Sphinx==3.0.4->-r requirements.txt (line 9)) (2.11.2)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from Sphinx==3.0.4->-r requirements.txt (line 9)) (59.6.0)
Requirement already satisfied: requests>=2.5.0 in /usr/lib/python3/dist-packages (from Sphinx==3.0.4->-r requirements.txt (line 9)) (2.27.1)
Collecting sphinxcontrib-devhelp
Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.7/84.7 kB 2.9 MB/s eta 0:00:00
Requirement already satisfied: commonmark>=0.8.1 in /usr/lib/python3/dist-packages (from recommonmark==0.6.0->-r requirements.txt (line 11)) (0.9.1)
Collecting scantree>=0.0.1
Downloading scantree-0.0.1.tar.gz (13 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: websocket-client>=0.32.0 in /usr/lib/python3/dist-packages (from docker==4.2.0->-r requirements.txt (line 14)) (1.2.3)
Requirement already satisfied: six>=1.4.0 in /usr/lib/python3/dist-packages (from docker==4.2.0->-r requirements.txt (line 14)) (1.16.0)
Requirement already satisfied: pillow>=4.0.0 in /usr/lib/python3/dist-packages (from reportlab==3.5.64->-r requirements.txt (line 19)) (9.1.1)
Collecting cssselect2>=0.2.0
Downloading cssselect2-0.6.0-py3-none-any.whl (15 kB)
Collecting tinycss2>=0.6.0
Downloading tinycss2-1.1.1-py3-none-any.whl (21 kB)
Requirement already satisfied: webencodings in /usr/lib/python3/dist-packages (from cssselect2>=0.2.0->svglib==1.0.1->-r requirements.txt (line 20)) (0.5.1)
Collecting pathspec>=0.5.9
Downloading pathspec-0.9.0-py2.py3-none-any.whl (31 kB)
WARNING: The candidate selected for download or install is a yanked version: 'reportlab' candidate (version 3.5.64 at https://files.pythonhosted.org/packages/81/b3/7aef68dceb7efe1a023ad1e882671c64d694b40288cd8cd2c10e75d05eb1/reportlab-3.5.64.tar.gz#sha256=d3e6de2f27009ebee3ca3cae835b7cefba16039a32550f2b560a5be3bf1676f5 (from https://pypi.org/simple/reportlab/) (requires-python:>=2.7, >=3.6, <4))
Reason for being yanked: bug in the barcharts for mixed parallel / stacked bars
Building wheels for collected packages: websockets, donut-shellcode, reportlab, svglib, multidict, scantree
Building wheel for websockets (setup.py) ... done
Created wheel for websockets: filename=websockets-8.1-cp310-cp310-linux_x86_64.whl size=73343 sha256=ad63795736e3239fa422f14318fb082c9337d17f956ed182489de1fbd7ea0062
Stored in directory: /home/lwj/.cache/pip/wheels/98/3f/c7/9993dad06631d258fb8a01677090029dbdbd884a6199c31483
Building wheel for donut-shellcode (setup.py) ... done
Created wheel for donut-shellcode: filename=donut_shellcode-0.9.2-cp310-cp310-linux_x86_64.whl size=56572 sha256=e003493591cf56599673e43415adc6b6fa799bdbb1f7fa21051b1087f343b22c
Stored in directory: /home/lwj/.cache/pip/wheels/f8/41/15/431c8fa7e3e69357d559189a964789cc0b832778345b142019
Building wheel for reportlab (setup.py) ... done
Created wheel for reportlab: filename=reportlab-3.5.64-cp310-cp310-linux_x86_64.whl size=2207402 sha256=8bc092c13197bd03f661396e56cb32e6a72e46d94de28f478c0a95c0521cf0e1
Stored in directory: /home/lwj/.cache/pip/wheels/55/56/89/f561fa35045ca7029c31396658f8fcfa3cd0c00a54bd31a004
Building wheel for svglib (setup.py) ... done
Created wheel for svglib: filename=svglib-1.0.1-py3-none-any.whl size=27185 sha256=172118f7af2eb5d0400eacaf8a57eb15631333e660e03f398ea814e3a561a4f4
Stored in directory: /home/lwj/.cache/pip/wheels/83/be/22/0a6ca3b6d9244ad3c00191cfcbd6faa366cab7a779da2775eb
Building wheel for multidict (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for multidict (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [2036 lines of output]
# ......为省略的无数行无用信息
......
......
......
......
......
RecursionError: maximum recursion depth exceeded
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for multidict
ERROR: Could not build wheels for multidict, which is required to install pyproject.toml-based projects
2.4 使用miniconda更换python版本
下载地址:https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
参考自:https://blog.csdn.net/u011262253/article/details/88828229
2.4.1 添加可执行权限
┌──(lwj㉿kali)-[~/Desktop]
└─$ chmod +x Miniconda3-py38_4.12.0-Linux-x86_64.sh
2.4.2 执行安装
┌──(lwj㉿kali)-[~/Desktop] └─$ ./Miniconda3-py38_4.12.0-Linux-x86_64.sh Welcome to Miniconda3 py38_4.12.0 In order to continue the installation process, please review the license agreement. # 回车继续 Please, press ENTER to continue >>> # 回车后会显示介绍文档,左下角出现“more”,使用回车或者空格查看,也可以直接按“q”退出进行下一步。 ====================================== End User License Agreement - Miniconda ====================================== Copyright 2015-2022, Anaconda, Inc. All rights reserved under the 3-clause BSD License: This End User License Agreement (the "Agreement") is a legal agreement between you and Anaconda, Inc. ("Anaconda") and governs your use of Miniconda. Subject to the terms of this Agreement, Anaconda hereby grants you a non-exclusive, non-transferable license to: * Install and use the Miniconda, * Modify and create derivative works of sample source code delivered in Miniconda subject to the Terms of Service for the Repository (as defined hereinafter) available at https://www.anaconda.com/term s-of-service, and * Redistribute code files in source (if provided to you by Anaconda as source) and binary forms, with or without modification subject to the requirements set forth below. Anaconda may, at its option, make available patches, workarounds or other updates to Miniconda. Unless the updates are provided with their separate governing terms, they are deemed part of Miniconda lic ensed to you as provided in this Agreement. This Agreement does not entitle you to any support for Miniconda. Anaconda reserves all rights not expressly granted to you in this Agreement. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribut ion. * Neither the name of Anaconda nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. You acknowledge that, as between you and Anaconda, Anaconda owns all right, title, and interest, including all intellectual property rights, in and to Miniconda and, with respect to third-party products distributed with or through Miniconda, the applicable third-party licensors own all right, title and interest, including all intellectual property rights, in and to such products. If you send or transm it any communications or materials to Anaconda suggesting or recommending changes to the software or documentation, including without limitation, new features or functionality relating thereto, or any c omments, questions, suggestions or the like ("Feedback"), Anaconda is free to use such Feedback. You hereby assign to Anaconda all right, title, and interest in, and Anaconda is free to use, without any attribution or compensation to any party, any ideas, know-how, concepts, techniques or other intellectual property rights contained in the Feedback, for any purpose whatsoever, although Anaconda is not required to use any Feedback. DISCLAIMER ========== THIS SOFTWARE IS PROVIDED BY ANACONDA AND ITS CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTI CULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANACONDA BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBST ITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR O THERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # 输入yes,回车继续 Do you accept the license terms? [yes|no] [no] >>> yes Miniconda3 will now be installed into this location: # 默认安装目录 /home/lwj/miniconda3 - Press ENTER to confirm the location - Press CTRL-C to abort the installation - Or specify a different location below # 回车安装在默认目录,也可以输入
自定义位置后回车继续 [/home/lwj/miniconda3] >>> PREFIX=/home/lwj/miniconda3 Unpacking payload ... Collecting package metadata (current_repodata.json): done Solving environment: done ## Package Plan ## environment location: /home/lwj/miniconda3 added / updated specs: - _libgcc_mutex==0.1=main - _openmp_mutex==4.5=1_gnu - brotlipy==0.7.0=py38h27cfd23_1003 - ca-certificates==2022.3.29=h06a4308_1 - certifi==2021.10.8=py38h06a4308_2 - cffi==1.15.0=py38hd667e15_1 - charset-normalizer==2.0.4=pyhd3eb1b0_0 - colorama==0.4.4=pyhd3eb1b0_0 - conda-content-trust==0.1.1=pyhd3eb1b0_0 - conda-package-handling==1.8.1=py38h7f8727e_0 - conda==4.12.0=py38h06a4308_0 - cryptography==36.0.0=py38h9ce1e76_0 - idna==3.3=pyhd3eb1b0_0 - ld_impl_linux-64==2.35.1=h7274673_9 - libffi==3.3=he6710b0_2 - libgcc-ng==9.3.0=h5101ec6_17 - libgomp==9.3.0=h5101ec6_17 - libstdcxx-ng==9.3.0=hd4cf53a_17 - ncurses==6.3=h7f8727e_2 - openssl==1.1.1n=h7f8727e_0 - pip==21.2.4=py38h06a4308_0 - pycosat==0.6.3=py38h7b6447c_1 - pycparser==2.21=pyhd3eb1b0_0 - pyopenssl==22.0.0=pyhd3eb1b0_0 - pysocks==1.7.1=py38h06a4308_0 - python==3.8.13=h12debd9_0 - readline==8.1.2=h7f8727e_1 - requests==2.27.1=pyhd3eb1b0_0 - ruamel_yaml==0.15.100=py38h27cfd23_0 - setuptools==61.2.0=py38h06a4308_0 - six==1.16.0=pyhd3eb1b0_1 - sqlite==3.38.2=hc218d9a_0 - tk==8.6.11=h1ccaba5_0 - tqdm==4.63.0=pyhd3eb1b0_0 - urllib3==1.26.8=pyhd3eb1b0_0 - wheel==0.37.1=pyhd3eb1b0_0 - xz==5.2.5=h7b6447c_0 - yaml==0.2.5=h7b6447c_0 - zlib==1.2.12=h7f8727e_1 The following NEW packages will be INSTALLED: _libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main _openmp_mutex pkgs/main/linux-64::_openmp_mutex-4.5-1_gnu brotlipy pkgs/main/linux-64::brotlipy-0.7.0-py38h27cfd23_1003 ca-certificates pkgs/main/linux-64::ca-certificates-2022.3.29-h06a4308_1 certifi pkgs/main/linux-64::certifi-2021.10.8-py38h06a4308_2 cffi pkgs/main/linux-64::cffi-1.15.0-py38hd667e15_1 charset-normalizer pkgs/main/noarch::charset-normalizer-2.0.4-pyhd3eb1b0_0 colorama pkgs/main/noarch::colorama-0.4.4-pyhd3eb1b0_0 conda pkgs/main/linux-64::conda-4.12.0-py38h06a4308_0 conda-content-tru~ pkgs/main/noarch::conda-content-trust-0.1.1-pyhd3eb1b0_0 conda-package-han~ pkgs/main/linux-64::conda-package-handling-1.8.1-py38h7f8727e_0 cryptography pkgs/main/linux-64::cryptography-36.0.0-py38h9ce1e76_0 idna pkgs/main/noarch::idna-3.3-pyhd3eb1b0_0 ld_impl_linux-64 pkgs/main/linux-64::ld_impl_linux-64-2.35.1-h7274673_9 libffi pkgs/main/linux-64::libffi-3.3-he6710b0_2 libgcc-ng pkgs/main/linux-64::libgcc-ng-9.3.0-h5101ec6_17 libgomp pkgs/main/linux-64::libgomp-9.3.0-h5101ec6_17 libstdcxx-ng pkgs/main/linux-64::libstdcxx-ng-9.3.0-hd4cf53a_17 ncurses pkgs/main/linux-64::ncurses-6.3-h7f8727e_2 openssl pkgs/main/linux-64::openssl-1.1.1n-h7f8727e_0 pip pkgs/main/linux-64::pip-21.2.4-py38h06a4308_0 pycosat pkgs/main/linux-64::pycosat-0.6.3-py38h7b6447c_1 pycparser pkgs/main/noarch::pycparser-2.21-pyhd3eb1b0_0 pyopenssl pkgs/main/noarch::pyopenssl-22.0.0-pyhd3eb1b0_0 pysocks pkgs/main/linux-64::pysocks-1.7.1-py38h06a4308_0 python pkgs/main/linux-64::python-3.8.13-h12debd9_0 readline pkgs/main/linux-64::readline-8.1.2-h7f8727e_1 requests pkgs/main/noarch::requests-2.27.1-pyhd3eb1b0_0 ruamel_yaml pkgs/main/linux-64::ruamel_yaml-0.15.100-py38h27cfd23_0 setuptools pkgs/main/linux-64::setuptools-61.2.0-py38h06a4308_0 six pkgs/main/noarch::six-1.16.0-pyhd3eb1b0_1 sqlite pkgs/main/linux-64::sqlite-3.38.2-hc218d9a_0 tk pkgs/main/linux-64::tk-8.6.11-h1ccaba5_0 tqdm pkgs/main/noarch::tqdm-4.63.0-pyhd3eb1b0_0 urllib3 pkgs/main/noarch::urllib3-1.26.8-pyhd3eb1b0_0 wheel pkgs/main/noarch::wheel-0.37.1-pyhd3eb1b0_0 xz pkgs/main/linux-64::xz-5.2.5-h7b6447c_0 yaml pkgs/main/linux-64::yaml-0.2.5-h7b6447c_0 zlib pkgs/main/linux-64::zlib-1.2.12-h7f8727e_1 Preparing transaction: done Executing transaction: done installation finished. Do you wish the installer to initialize Miniconda3 # 输入yes,回车继续 by running conda init? [yes|no] [no] >>> yes no change /home/lwj/miniconda3/condabin/conda no change /home/lwj/miniconda3/bin/conda no change /home/lwj/miniconda3/bin/conda-env no change /home/lwj/miniconda3/bin/activate no change /home/lwj/miniconda3/bin/deactivate no change /home/lwj/miniconda3/etc/profile.d/conda.sh no change /home/lwj/miniconda3/etc/fish/conf.d/conda.fish no change /home/lwj/miniconda3/shell/condabin/Conda.psm1 no change /home/lwj/miniconda3/shell/condabin/conda-hook.ps1 no change /home/lwj/miniconda3/lib/python3.8/site-packages/xontrib/conda.xsh no change /home/lwj/miniconda3/etc/profile.d/conda.csh modified /home/lwj/.zshrc ==> For changes to take effect, close and re-open your current shell. <== If you'd prefer that conda's base environment not be activated on startup, set the auto_activate_base parameter to false: conda config --set auto_activate_base false # 看到这行代表安装完成 Thank you for installing Miniconda3!
2.4.3 验证
打开新的终端,发现左上角出现(base)
,代表conda安装成功。
(base) ┌──(lwj㉿kali)-[~/Desktop/caldera]
└─$
2.4.4 使用conda查找支持的python版本
(base) ┌──(lwj㉿kali)-[~]
└─$ conda search --full --name python
Loading channels: done
# Name Version Build Channel
python 2.7.13 hac47a24_15 pkgs/main
python 2.7.13 heccc3f1_16 pkgs/main
python 2.7.13 hfff3488_13 pkgs/main
python 2.7.14 h1571d57_29 pkgs/main
python 2.7.14 h1571d57_30 pkgs/main
python 2.7.14