def FormatCommand(self, Command):
        #print "self.Options['RHOST']=" + str(self.Options['RHOST']) + "self.Options['RPORT']=" + str(self.Options['RPORT']) + "Command=" + str(Command)
        if "RHOST" in self.Options and 'RPORT' in self.Options:  # Interactive shell on remote connection
            return self.Options['RHOST'] + ':' + self.Options['RPORT'] + ' - ' + Command
        else:
            return "Interactive - " + Command
dataset/ETHPy150Open owtf/owtf/framework/shell/pexpect_shell.py/PExpectShell.FormatCommand/original