exploit - Metasploit meterpreter session editing files with Vi editor -
in meterpreter session after exploiting system, wanted edit .txt file within meterpreter session opened. used command:
meterpreter > edit mypasswords.txt
after that, opened vi editor editing not vi editor @ all. want know if there way of changing meterpreter' default editor(vi) nano.
iirc uses default editor. can change default editor nano adding or modifying following lines in ~/.profile
file:
editor=nano visual=$editor export editor visual
Comments
Post a Comment