From 407a953537a8a4f02e98aa7f62a7d7c9bcb9dbac Mon Sep 17 00:00:00 2001 From: justinbastress <33579608+justinbastress@users.noreply.github.com> Date: Sun, 2 Dec 2018 22:14:17 -0500 Subject: [PATCH] make IPP types IndexedBinary (#183) https://github.com/zmap/zgrab2/pull/183 --- zgrab2_schemas/zgrab2/ipp.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/zgrab2_schemas/zgrab2/ipp.py b/zgrab2_schemas/zgrab2/ipp.py index 2277ce8..97f8be5 100644 --- a/zgrab2_schemas/zgrab2/ipp.py +++ b/zgrab2_schemas/zgrab2/ipp.py @@ -154,22 +154,22 @@ http_response_full = SubRecord({ # From RFC 8010 Section 3.5.2 (https://tools.ietf.org/html/rfc8010#section-3.5.2) # Note: value-tag values are camelCase because the names are specified that way in RFC ipp_attribute_value = SubRecord({ - "raw": Binary(), + "raw": IndexedBinary(), "integer": Signed32BitInteger(), "boolean": Boolean(), "enum": String(), - "octetString": Binary(), + "octetString": IndexedBinary(), "dateTime": DateTime(), # TODO: Determine appropriate type for resolution - "resolution": Binary(), + "resolution": IndexedBinary(), # TODO: Determine appropriate type for range of Integers (probably {min, max} pair) - "rangeOfInteger": Binary(), + "rangeOfInteger": IndexedBinary(), # TODO: Determine appropriate type for beginning of attribute collection - "begCollection": Binary(), + "bagCollection": IndexedBinary(), "textWithLanguage": String(), "nameWithLanguage": String(), # TODO: Determine appropriate type for end of attribute collection - "endCollection": Binary(), + "endCollection": IndexedBinary(), "textWithoutLanguage": String(), "nameWithoutLanguage": String(), "keyword": String(),