After a Meterpreter session has been established, you can start an interactive shell on the target host using the shell
command. In the shell, I'm trying to switch between previously entered commands using the up/down keys. However, the up-key gets translated to ^[[A
and the down-key gets translated to ^[[B
. My victim host is using Windows 10.
The only known workaround that I'm aware of is using rlwrap
, but I'd like to get this to work with Metasploit. Is there a way to switch between historic commands when using the Meterpreter standard shell?