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

HTTPSRelayClient #5

Open
FunkyCold-DC940 opened this issue Sep 10, 2018 · 9 comments
Open

HTTPSRelayClient #5

FunkyCold-DC940 opened this issue Sep 10, 2018 · 9 comments

Comments

@FunkyCold-DC940
Copy link

After a clean install of impacket and ExchangeRelayX, I receive the error below

Traceback (most recent call last):
File "exchangeRelayx.py", line 12, in
from impacket.examples.ntlmrelayx.clients.httprelayclient import HTTPSRelayClient
ImportError: cannot import name HTTPSRelayClient

Any suggestions to put me on the path to greatness would be appreciated.

@quickbreach
Copy link
Owner

Can you tell me which version of Python you're running it with, and the version of impacket you have installed?

@FunkyCold-DC940
Copy link
Author

Python 2.7.15+
Impacket 0.9.18.dev0, I have also tried 0.9.17

@skorov
Copy link

skorov commented Oct 2, 2018

@ubermedina You're probably running in a virtualenv right? Try running like this instead:
python exchangeRelayx.py -t https://mail.example.com

@FunkyCold-DC940
Copy link
Author

I will validate but I am pretty sure that's exactly what I ran.

@FunkyCold-DC940
Copy link
Author

@skorov the command you have is what I ran.

@skorov
Copy link

skorov commented Oct 12, 2018

Hmm strange. The error you are getting suggests that you're referencing an older version of impacket.
What output does this command give you?
python -c 'from impacket.version import BANNER; print(BANNER)'

@FunkyCold-DC940
Copy link
Author

Impacket v0.9.16-dev is my current installed version

@skorov
Copy link

skorov commented Oct 16, 2018

There's your problem. You need at least v0.9.17.

Python context is always a tricky thing especially when you've installed impacket using both apt and pip. Which one will it use?

@FunkyCold-DC940
Copy link
Author

okay with v0.9.17 installed I am still having the same issues.

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

3 participants