我在Kali上运行/mnt/c$ curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && chmod 755 msfinstall && ./msfinstall来安装metasploit,但是当我运行它时,我得到如下信息:
-bash: /mnt/c$: No such file or directory我在wsl.conf中添加了automount并重新启动了wsl,但它仍然无法工作。
发布于 2022-03-16 19:55:56
您错误地复制/粘贴了太多的命令,无法运行。/mnt/c$应该是提示符,不应该作为命令的一部分输入。您将取得更大的进展,运行:
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && chmod 755 msfinstall && ./msfinstallhttps://unix.stackexchange.com/questions/694688
复制相似问题