Skip to content

lib/ruby_smb/fscc/file_information.rb Missing Several File Information Classes #224

@gwillcox-r7

Description

@gwillcox-r7

Not sure if we intend to add more file information classes here but seeing as this is just a mapping of numbers to names it might be good to add this in. From what I can see we are at the very least missing the following, don't have time to do a complete review:

FileAllocationInformation -> 19
FileAlternateNameInformation -> 21
FileAttributeTagInformation -> 35
FileCompressionInformation -> 28
FileHardLinkInformation -> 46

Might be good to look at https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/4718fc40-e539-4014-8e33-b675af74e3e1 which seems to define this and then update https://github.com/rapid7/ruby_smb/blob/master/lib/ruby_smb/fscc/file_information.rb accordingly to use these values. Should also update the spec reference URL whilst we are at it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions