【问题标题】:Cannot find chmod[metasploit installation]找不到 chmod [metasploit 安装]
【发布时间】:2016-08-17 21:01:45
【问题描述】:

在下图中,您可以看到它说 chmod command is not found 但它已安装 chmod。我直接从终端安装 metasploit(我没有安装任何桌面环境,也不想从那里运行 msf)。有没有办法解决这个问题?我很乐意感谢任何答复。

【问题讨论】:

    标签: linux installation chmod metasploit


    【解决方案1】:

    从复合 Bash 命令中删除反斜杠,它们在 Linux 中用于转义空格字符。例如,ỳou 必须输入:

    cd ~/Documents/My\ Folder 
    

    访问

    ~/Documents/My Folder
    

    通过按照您查找“chmod”命令而不是“chmod”的方式编写命令,您基本上在命令名称前插入了一个空格。 我建议在进入 Metasploit 之前学习 Linux Bash 脚本。 否则,您会不断遇到此类问题,而且如果您想从其命令控制台使用 Metasploit,则必须学习 Linux Bash 脚本(以及整个 Linux 操作系统)。

    【讨论】:

      【解决方案2】:

      不用那个命令,用这个代替

      curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && chmod 755 msfinstall && ./msfinstall

      【讨论】:

        猜你喜欢
        • 2014-12-17
        • 2022-10-16
        • 2014-01-02
        • 2021-06-30
        • 2014-10-13
        • 2016-10-04
        • 2016-11-12
        • 2017-10-17
        • 2014-12-11
        相关资源
        最近更新 更多