vmware内kali Linux安装其他工具方法
程序员文章站
2022-07-14 17:34:34
...
以安装telnet为例
apt-get install xinetd telnet
y
此过程可能报错,源不对,无法安装
找到 文件系统 / etc / apt / sources.list 配置如下
#
#deb cdrom:[Debian GNU/Linux 2018.2 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20180412-10:55]/ kali-last-snapshot contrib main non-free
#deb cdrom:[Debian GNU/Linux 2018.2 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20180412-10:55]/ kali-last-snapshot contrib main non-free
# 官方源
# deb-src http://http.kali.org/kali/ kali-rolling main non-free contrib
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb http://http.kali.org/kali kali-rolling main non-free contrib
# 中科大源
deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib
deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free
# 阿里云kali源
deb http://mirrors.aliyun.com/kali kali main non-free contrib
deb http://mirrors.aliyun.com/kali sana main non-free contrib
deb http://mirrors.aliyun.com/kali-security sana/updates main contrib non-free
deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free
deb-src http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
deb http://mirrors.163.com/debian wheezy main non-free contrib
deb-src http://mirrors.163.com/debian wheezy main non-free contrib
deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
deb http://http.kali.org/kali kali-rolling main non-free contrib
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
打开终端,更新下源
apt-get update
如果想复制粘贴的话,新建记事本,然后共享到虚拟机内就好了,虚拟机能联网直接复制也可以,下面是共享文件夹的步骤,需要的话可以看看
1.安装vmware Tools
启动图形化kali虚拟机,找到桌面上的vmware-tools-distrib光盘图标文件夹内的压缩包,解压到内部的任意文件夹内,不能解压到当前目录下,会提示无权限,我这里解压到了公共文件夹下
找到刚才解压的文件夹,打开后右键vmware-install.pl选择“在这里打开终端”,在终端内输入
./vmware-install.pl
一路enter,直到再次出现命令行
如果安装中如果权限不够,需要切换root用户
打开终端
sudo passwd root
输入当前密码
输入两次新密码
su
切换用户
安装完vmware tools后,可以共享文件
点击vmware内的 虚拟机>设置 弹窗内点击“选项”标签,找到共享文件夹选择总是启用,在下边添加路径,创建共享文件夹,随后将需要共享的文件放进刚才创建的文件夹内就可以了,kali对应路径是文件系统>mnt>hgfs , 这之后客户机就可以和虚拟机交互了
上一篇: 安卓扫码Zxing旋转90及270度
下一篇: 利用WireShark分析H264码流
推荐阅读
-
VMware Workstation/Fusion 中安装 Fedora 23/24 及其他 Linux 系统时使用 Open VM Tools 代替 VMware Tools 增强工具的方法
-
VMware Workstation/Fusion 中安装 Fedora 23/24 及其他 Linux 系统时使用 Open VM Tools 代替 VMware Tools 增强工具的方法
-
vmware内kali Linux安装其他工具方法
-
vmware内kali Linux安装其他工具的方法
-
kali linux Python环境配置-(包的安装方法、工具的选择与使用)
-
vmware内kali Linux安装其他工具的方法