You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ordinal value of the two non-printable characters is 0 (i.e. they are null bytes).
Expected output
Certificate #0
Subject name : Microsoft Windows 20\x00\x00 Publisher
Subject organization: Microsoft Corporation
Subject : /C=US/ST=Washington/L=Redmond/O=Microsoft Corporation/OU=Copyright (c) 20\x00\x00 Microsoft Corp./CN=Microsoft Windows 20\x00\x00 Publisher
Issuer name : Microsoft Windows Verification Intermediate PCA
That is, Subject name should be properly escaped, just like Subject.
Notes
What is interesting is that in the JSON mode, the characters get properly escaped:
In the text mode,
fileinfo
emits non-printable characters for Subject name of a digital certificate of the attached PE file.Input
Run
where
FILE
is:Output
The ordinal value of the two non-printable characters is 0 (i.e. they are null bytes).
Expected output
That is, Subject name should be properly escaped, just like Subject.
Notes
Configuration
master
)The text was updated successfully, but these errors were encountered: