I am trying to make a metasploit script to execute a shell command. The commands that I want to be execute in metasploit is the following
shell
cd /data/data/com.metasploit.stage/files
sh and.sh
exit
I'm not familiar with ruby. Can anybody tell me how I can make it to work
I try to use exec('shell') for the first command but it doesn't work.