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

I get some error 401. #1

Open
IMnewer opened this issue Dec 10, 2020 · 5 comments
Open

I get some error 401. #1

IMnewer opened this issue Dec 10, 2020 · 5 comments

Comments

@IMnewer
Copy link

IMnewer commented Dec 10, 2020

I can login EWS from browser, but failed with same username and password in this exp.
I get 401 error. Why?

Microsoft.Exchange.WebServices.Data.ServiceRequestException: The request failed. The remote server returned an error: (401) Unauthorized. --
-> System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Exchange.WebServices.Data.EwsHttpWebRequest.Microsoft.Exchange.WebServices.Data.IEwsHttpWebRequest.GetResponse()
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
--- End of inner exception stack trace ---
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest(IEwsHttpWebRequest& request)
at Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase.InternalExecute()
at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
at Microsoft.Exchange.WebServices.Data.ExchangeService.BindToFolder(FolderId folderId, PropertySet propertySet)
at Microsoft.Exchange.WebServices.Data.ExchangeService.BindToFolder[TFolder](FolderId folderId, PropertySet propertySet)
at Microsoft.Exchange.WebServices.Data.Folder.Bind(ExchangeService service, WellKnownFolderName name)
at Zcg.Exploit.Remote.Exchange.Exchange2010AutoTag.Main(String[] args)

@zcgonvh
Copy link
Owner

zcgonvh commented Dec 10, 2020 via email

@IMnewer
Copy link
Author

IMnewer commented Dec 10, 2020

NO, just letter and number.
Note that I can login EWS/exchange.asmx from browser, I don't know why.

@IMnewer
Copy link
Author

IMnewer commented Dec 10, 2020

Maybe it's related with authentication method of server.

@IMnewer
Copy link
Author

IMnewer commented Dec 11, 2020

Hello, which version this exp affects? Just Exchange 2010 SP3 CU30?

@zcgonvh
Copy link
Owner

zcgonvh commented Dec 11, 2020 via email

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