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

GetMessageFast starts to receive errors from EXCHANGE when Ruler is downloading more than 21 messages #123

Open
petermolnar11 opened this issue Oct 20, 2020 · 2 comments

Comments

@petermolnar11
Copy link

Hello, dear staaldraad! Thank you for very useful tool!
I use this tool for downloading messages from EXCHANGE (body, attachments, receiver, sender). I am connecting to EXCHANGE via MAPI/HTTP. I am downloading messages from INBOX.

I am using GetMessageFast function with tags:

pidtagdisplayto = PropertyTag{PtypString8, 0x0e04}
pidtagsendername = PropertyTag{PtypString8, 0x0c1a}
pidtagbody = PropertyTag{PtypString8, 0x1000}

When ruler downloads more than 21 messages, GetMessageFast starts to receive errors(0x4de - CODE_NOT_FOUND) and I cant get body, sender and receiver for all next messages. Very strange behavior ...
I hope you can help me :-)

@petermolnar11
Copy link
Author

I tried this on another EXCHANGE server and result is 16 messages. Then I started to receive errors 0x4de from EXCHANGE (on GetMessageFast calls)

@staaldraad
Copy link
Collaborator

hey @petermolnar11

this is probably way too late, but have you looked at how I did this in Liniaal, where I never ran into this issue: https://github.com/sensepost/liniaal/blob/master/liniaal.go#L129-L167

hope that helps?

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

2 participants