make IPP types IndexedBinary (#183)

https://github.com/zmap/zgrab2/pull/183
This commit is contained in:
justinbastress 2018-12-02 22:14:17 -05:00 committed by Andrew Sardone
parent 2f5b77f5b6
commit 407a953537

@ -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) # 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 # Note: value-tag values are camelCase because the names are specified that way in RFC
ipp_attribute_value = SubRecord({ ipp_attribute_value = SubRecord({
"raw": Binary(), "raw": IndexedBinary(),
"integer": Signed32BitInteger(), "integer": Signed32BitInteger(),
"boolean": Boolean(), "boolean": Boolean(),
"enum": String(), "enum": String(),
"octetString": Binary(), "octetString": IndexedBinary(),
"dateTime": DateTime(), "dateTime": DateTime(),
# TODO: Determine appropriate type for resolution # TODO: Determine appropriate type for resolution
"resolution": Binary(), "resolution": IndexedBinary(),
# TODO: Determine appropriate type for range of Integers (probably {min, max} pair) # 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 # TODO: Determine appropriate type for beginning of attribute collection
"begCollection": Binary(), "bagCollection": IndexedBinary(),
"textWithLanguage": String(), "textWithLanguage": String(),
"nameWithLanguage": String(), "nameWithLanguage": String(),
# TODO: Determine appropriate type for end of attribute collection # TODO: Determine appropriate type for end of attribute collection
"endCollection": Binary(), "endCollection": IndexedBinary(),
"textWithoutLanguage": String(), "textWithoutLanguage": String(),
"nameWithoutLanguage": String(), "nameWithoutLanguage": String(),
"keyword": String(), "keyword": String(),