'This method is called when a user writes a command in the shell and hits
enter.
Before calling this method, the framework calls the generic_user_input
method from the shell class.
:param command: The command to handle ( ie. "read", "exec", etc ).
:return: The result of the command.'

@exec_debug
def execute(self, command):

    mutant = self._exploit_mutant.copy()
    uri = mutant.get_uri()
    uri.querystring.update([('cmd', [command])])
    try:
        http_res = self._uri_opener.send_mutant(mutant)
    except BaseFrameworkException as w3:
        return ('Exception    from    the    remote    web    application:    "%s"' % w3)
    except Exception as e:
        return ('Unhandled    exception    from    the    remote    web    application:    "%s"' % e)
    else:
        return shell_handler.extract_result(http_res.get_body())
