Noticed samrdump.py has an issue when it receives data from connection:
Yes, I had permission to scan this machine.Code:# python ./samrdump.py 192.168.13.x Retrieving endpoint list from 192.168.13.x Trying protocol 445/SMB... Found domain(s): . x . Builtin Looking up users in domain x Found user: x, uid = 1010 Found user: x, uid = 501 Found user: x, uid = 1026 Found user: x, uid = 1202 .... (shortened for simplicity) games (1010)/Enabled: true games (1010)/Last Logon: Traceback (most recent call last): File "./samrdump.py", line 182, in <module> dumper.dump(address) File "./samrdump.py", line 81, in dump print base + '/Last Logon:', user.get_logon_time() File "/usr/lib/pymodules/python2.5/impacket/dcerpc/samr.py", line 128, in get_logon_time return display_time(self._logon_time_high, self._logon_time_low) File "/usr/lib/pymodules/python2.5/impacket/dcerpc/samr.py", line 33, in display_time r = (strftime("%a, %d %b %Y %H:%M:%S",gmtime(d)), minutes_utc/60)[0] ValueError: timestamp out of range for platform time_t


