title: Using python script to run commands on msfconsole
body: <p>Even though it is older, in python you can use <code>os.system()</code> to run commands in the terminal.</p>
  
  <p>My question is, if you enter metasploit using <code>msfconsole</code>, do the proceeding <code>os.system()</code> calls enter the commands into the msfconsole?</p>