I'm working on exploiting a bug on Windows XP SP2 by using Metasploit and I do this from Ubuntu terminal.
Now, I have connected to Windows Shell but now I have small problem with saving my text file. I am using edit file.txt
command and then type the content of file. The problem is when I press CTRL+Z
it closes my msfconsole
without saving the file.
What are other ways to save that file without GUI?
Like @dbenham suggested, you can do something like:
Note:
...
is not a command, it's just to represent the lines that would be in between.