Searched refs:input_bytes (Results 1 – 1 of 1) sorted by relevance
46 def get_version(input_bytes, start_idx): argument47 null_idx = input_bytes.find('\x00', start_idx)51 linux_banner = input_bytes[start_idx:null_idx].decode()60 def dump_version(input_bytes): argument63 idx = input_bytes.find(LINUX_BANNER_PREFIX, idx)67 version = get_version(input_bytes, idx)74 def dump_configs(input_bytes): argument84 idx = input_bytes.find(CONFIG_PREFIX + GZIP_HEADER)93 o, _ = sp.communicate(input=input_bytes[idx:])103 def try_decompress_bytes(cmd, input_bytes): argument[all …]