0

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

meterpreter > edit mypasswords.txt

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

4

1 回答 1

0

IIRC it uses your default editor. You can change your default editor to nano by adding or modifying the following lines in your ~/.profile file:

EDITOR=nano
VISUAL=$EDITOR
export EDITOR VISUAL
于 2015-06-28T23:45:52.383 回答