def identify_os(self): """ Identify the remote operating system by reading different files from the OS. """ try: self._rOS = read_os_detection(self.read) except OSDetectionException, osde: om.out.debug('%s' % osde) self._rOS = 'unknown'
def identify_os(self): """ Identify the remote operating system by reading different files from the OS. """ self._rOS = read_os_detection(self.read) # TODO: Could we determine this by calling some payloads? self._rSystem = 'unknown' self._rSystemName = 'unknown' self._rUser = '******'