【问题标题】:Metasploit meterpreter session editing files with Vi editorMetasploit Meterpreter 会话编辑文件与 Vi 编辑器
【发布时间】:2015-08-18 23:53:35
【问题描述】:

在利用系统后的meterpreter会话中,我想在打开的meterpreter会话中编辑一个.txt文件。我使用了命令:

meterpreter > edit mypasswords.txt

之后,它打开了 Vi 编辑器进行编辑,但我真的一点也不喜欢 Vi 编辑器。我想知道是否有办法将meterpreter的默认编辑器(Vi)更改为Nano。

【问题讨论】:

    标签: editor exploit metasploit


    【解决方案1】:

    IIRC 它使用您的默认编辑器。您可以通过在 ~/.profile 文件中添加或修改以下行来将默认编辑器更改为 nano:

    EDITOR=nano
    VISUAL=$EDITOR
    export EDITOR VISUAL
    

    【讨论】:

      猜你喜欢
      • 2011-05-07
      • 1970-01-01
      • 2010-12-18
      • 1970-01-01
      • 2015-09-06
      • 1970-01-01
      • 2013-06-04
      • 2013-09-16
      • 2017-01-14
      相关资源
      最近更新 更多