def do_EOF(self, args):
        #exiting from the do_EOF method does not create a newline automatically
        #so we add it manually
        print
        return True
The escape character ctrl+d exits the session
dataset/ETHPy150Open cowrie/cowrie/utils/fsctl.py/fseditCmd.do_EOF