avonar / impacket

Automatically exported from code.google.com/p/impacket
Other
0 stars 0 forks source link

SMBTransport instance has no attribute 'get_dce_rpc' #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download 0.9.10 tgz
2. python setup.py install
3. python psexec.py USER:PASSWORD@IP cmd.exe

What is the expected output?

cmd.exe prompt

What do you see instead?

Impacket v0.9.10 - Copyright 2002-2013 Core Security Technologies

Trying protocol 445/SMB...

Traceback (most recent call last):
  File "psexec.py", line 428, in <module>
    executer.run(address)
  File "psexec.py", line 96, in run
    self.doStuff(rpctransport)
  File "psexec.py", line 120, in doStuff
    dce = rpctransport.get_dce_rpc()
AttributeError: SMBTransport instance has no attribute 'get_dce_rpc'

What version of the product are you using? On what operating system?

Impacket 0.9.10
Fedora 19 64bit

Please provide any additional information below.

I tested with python and python3 without luck. Installation went OK.

Original issue reported on code.google.com by sebastian.treu on 12 Jan 2014 at 5:58

GoogleCodeExporter commented 9 years ago
Hey Sebastien..

There's something wrong there.. You're saying you're using impacket 0.9.10, but 
the get_dce_rpc() method was added a few months ago to trunk.. so there's no 
way that can be on the psexec version of impacket 0.9.10.

So.. looks like you have a mix of versions on your system..

If you're using impacket 0.9.10, you should use the psexec.py that comes with 
that version. 
If you wanna use the lastest development version (trunk), you should checkout 
and install trunk.

If you don't understand let me know, and I'll help you out.

cheers,
beto

Original comment by bet...@gmail.com on 12 Jan 2014 at 1:21

GoogleCodeExporter commented 9 years ago
Hi, you were right.

I got version mixed up somehow. I was reading psexec.py code and I have 
downloaded the file alone. After downloading and installing impacket, I didn't 
realize I was using the download source file.

Thanks for your support.
Regards

Original comment by sebastian.treu on 13 Jan 2014 at 6:43

GoogleCodeExporter commented 9 years ago
No worries Sebastien..

Could you make it work?.. 

cheers
beto

Original comment by bet...@gmail.com on 13 Jan 2014 at 6:48

GoogleCodeExporter commented 9 years ago
Yes indeed.

Thanks.

Original comment by sebastian.treu on 13 Jan 2014 at 7:07

GoogleCodeExporter commented 9 years ago
Good to know.. closing this issue.

cheers!
beto

Original comment by bet...@gmail.com on 13 Jan 2014 at 7:12