I'm trying to figure out why msfconsole is exiting when started from with a detached screen, but not when started from a non detached screen.
Here are the steps:
screen -d -m -S msf
screen -S msf -p 0 -X stuff "msfconsole\n"
screen -R -S msf
msfconsole exits right after loading where:
screen -S msf
msfconsole <-from within screen
allows it to actually run without exiting after loading. How do I fix this?