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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -