Results 1 to 2 of 2

Thread: Bug in samrdump.py

Hybrid View

  1. #1
    Member Israel213's Avatar
    Join Date
    Apr 2008
    Posts
    65

    Default Bug in samrdump.py

    Noticed samrdump.py has an issue when it receives data from connection:

    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
    Yes, I had permission to scan this machine.

  2. #2
    Moderator
    Join Date
    Jan 2010
    Posts
    167

    Default Re: Bug in samrdump.py


Similar Threads

  1. samrdump.py error
    By 0x0deeep in forum Beginners Forum
    Replies: 4
    Last Post: 10-06-2010, 06:49 PM
  2. samrdump bug and dirty fix
    By m-1-k-3 in forum BackTrack Bugs
    Replies: 0
    Last Post: 05-14-2010, 02:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •