This is going here just so I don't have to go looking for it again.
I was trying to figure out how to clear the Metasploit command history to have a fresh msfconsole experience. It turns out that it is stored in the /root/.msf4/history file.
So we check the file sizes of the history and log files using tree -ha
and clear them out.
echo "" > /root/.msf4/history
Done
No comments:
Post a Comment