Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help with implementing QUERY_INFO #59

Open
mogadanez opened this issue Jan 18, 2020 · 0 comments
Open

help with implementing QUERY_INFO #59

mogadanez opened this issue Jan 18, 2020 · 0 comments

Comments

@mogadanez
Copy link

trying to make QUERY_INFO command
according to https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-smb2/d623b2f7-a5cd-4639-8cc9-71fa7d9f9ba9
adding structure file:

request: [
    ['StructureSize', 2, 41],
    ['InfoType', 1,0x1],
    ['FileInfoClass', 1, 0x12], 
    ['OutputBufferLength', 4, 0x00010000],
    ['InputBufferOffset', 2, 0],
    ['Reserved', 2, 0],
    ['InputBufferLength', 4, 0],
    ['AdditionalInformation', 4, 0],
    ['Flags', 1, 0],
    ['FileId', 16],
    ['Buffer', "InputBufferLength"],
  ],

but server respond with
STATUS_INVALID_PARAMETER (0xC000000D) : An invalid parameter was passed to a service or function.

where I'm wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant