un33k / impacket

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

psexec.py script throwing exceptions #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.python psexec.py <user>:<password>@<host>
2.
3.

What is the expected output? What do you see instead?
Expect to log in, instead get exception.

Impacket v0.9.12 - Copyright 2002-2014 Core Security Technologies

Trying protocol 445/SMB...

Traceback (most recent call last):
  File "psexec.py", line 445, in <module>
    executer.run(address)
  File "psexec.py", line 96, in run
    rpctransport.set_credentials(self.__username, self.__password, self.__domain, self.__lmhash, self.__nthash, self.__aesKey)
TypeError: set_credentials() takes at most 6 arguments (7 given)

What version of the product are you using? On what operating system?
impacket 0.9.12
svn/ trunk/ examples/ psexec.py r1411
Red Hat Enterprise Linux Server release 6.6

Please provide any additional information below.
installed impacket via pip and got psexec.py from the trunk in your svn repo

Original issue reported on code.google.com by kathy.ch...@gmail.com on 27 Mar 2015 at 1:28

GoogleCodeExporter commented 9 years ago
Hey Katie:

The problem is you're using psexec.py from trunk and the rest of the library 
from 0.9.12.

You either use the 0.9.12 psexec.py version or you download and install trunk. 

Let me know if you need help on that.

cheers!
beto

Original comment by bet...@gmail.com on 27 Mar 2015 at 12:45