ExchangeRelayX icon indicating copy to clipboard operation
ExchangeRelayX copied to clipboard

HTTPSRelayClient

Open FunkyCold-DC940 opened this issue 7 years ago • 9 comments

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.

FunkyCold-DC940 avatar Sep 10 '18 21:09 FunkyCold-DC940

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

quickbreach avatar Sep 14 '18 23:09 quickbreach

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

FunkyCold-DC940 avatar Sep 15 '18 00:09 FunkyCold-DC940

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

skorov avatar Oct 02 '18 05:10 skorov

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

FunkyCold-DC940 avatar Oct 04 '18 04:10 FunkyCold-DC940

@skorov the command you have is what I ran.

FunkyCold-DC940 avatar Oct 12 '18 01:10 FunkyCold-DC940

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)'

skorov avatar Oct 12 '18 02:10 skorov

Impacket v0.9.16-dev is my current installed version

FunkyCold-DC940 avatar Oct 16 '18 12:10 FunkyCold-DC940

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?

skorov avatar Oct 16 '18 21:10 skorov

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

FunkyCold-DC940 avatar Oct 18 '18 17:10 FunkyCold-DC940