Hi guys i need a shell script that can open for example msfconsole and then type commands in it, i made a very basic script but of course it stops when msfconsole starts... can you give me some example?
thanks!
this is the basic dumb script i made:
#!/bin/bash
service postgresql start && sleep 4 && msfconsole && sleep 15 && quit
As you can see i first start postgresql and then i start msfconsole and when i try to close it i can't because i'm not in the shell but im into metasploit.