我有一个简单的脚本如下。
names=("windows" "ubuntu" "raspbian" "debian" "kali linux")
echo "names array length: ${#names[@]}"
for n in ${names[@]}; do
echo $n
done
我的意图和希望是:
names array length: 5
windows
ubuntu
raspbian
debian
kali linux
但结果却是:
names array len
到目前为止,我正在使用Windows 10 &我想在Docker上运行kali Linux。为此,我从卡利官方网站这里获取了这份副本。
但是在运行之后,我发现它只是一个基本的操作系统--它不包含kali著名的所有工具,也不是一个完整的闪存副本。因此,我想要一个完整的卡利形象码头运行,我可以找到完整的卡利与所有的工具副本的码头。
使用和安装解决了列出的元数据包
apt-get更新&和apt-缓存搜索kali-linux - Linux - ARM - Kali - Linux系统Kali - Linux核心- Kali Linux基础系统Kali Linux默认系统Kali Li
root@kali-linux:~/Softwares/Softwares/Tools/dirsearch# array=()
root@kali-linux:~/Softwares/Softwares/Tools/dirsearch# for i in 1 2 3 4
> do
> array+=($i)
> done
root@kali-linux:~/Softwares/Softwares/Tools/dirsearch# echo $array
1
root@kali-linux:~/Softwares/Softwares/Tools/dirsearch# for i
我可以安装gimp,vlc,但是当我尝试运行sudo apt install kali-linux- to 10或sudo apt-linux时,我会得到这个错误。
我尝试在/etc/apt/source.list . lines中键入以下行:https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb http://http.kali.org/kali kali-r
当我尝试apt-get update时,它说:
获取:1 http://archive-3.kali.org/kali Kali滚动InRelease错误:1 http://archive-3.kali.org/kali Kali滚动InRelease以下签名无效: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux devel@kali.org阅读包列表.Done : GPG错误:http://archive-3.kali.org/kali Kali滚动InRelease:下列签名无效: EXPKEYSIG ED444FF07D8D0BF6 kali Linux de
如果我运行cat file1.txt,我有:
linux mint
ubuntu
cent-os
fedora
debian
kali linux
arch linux
kubuntu
open suse
deepin
parrot os
然后cat file2.txt给出:
linux mint
cent-os
fedora
kali linux
arch linux
kubuntu
open
deepin
parrot
ubuntu
debian
但是,如果我想要像这样输出呢?
file1.txt file2.txt
linux mint
卡莉不会让我完全升级的。当我尝试时,我遇到的错误是:
Building module:
Cleaning build area...
make -j2 KERNELRELEASE=6.1.0-kali5-amd64 -C /lib/modules/6.1.0-kali5-amd64/build M=/var/lib/dkms/virtualbox-guest/6.1.12/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-kali5-amd64 (x86_64)
Con
如何安装Kali Linux头?我使用了这个命令apt-get update && apt-get install -y linux-headers-$(uname -r),但是它显示了下面的错误
E:unable to locate package linux-headers-4.6.0-kali1-686 pae'
E: could not find any package by glob 'linux-headers-4.6.0-kali1-686 pae'
E: could not find any package by regex 'l
root@kali:~# aircrack-ng –a2 –b F8:1A:67:56:52:36 –w /root/pass.txt /root/Desktop/*.cap
Opening –a2
open failed: No such file or directory
Opening –b
open failed: No such file or directory
Opening F8:1A:67:56:52:36
open failed: No such file or directory
Opening –w
open failed: No such file or direct