metasploit-framework/lib/rex/proto/smb
sinn3r 719db5d2b1 Fix #4119 - SMB lost search ID (sid) in find_first method
This will fix issue #4119. A bug in the find_first method in rex
SMB.

When the SMB client requests a TRANS2_FIND_FIRST2 for retriving
information about what items a directory has, the server returns
a response that contains an SID - a search identifier for the
transaction. If the SMB client wants more data, it must send a
TRANS2_FIND_NEXT2 request with the same SID. And then the server
will continue sending more until it runs out.

The root cause of this bug is that after the TRANS2_FIND_FIRST2
request is sent, our SMB's find_first method forgets the SID at
the end of the loop (out of scope).
2014-11-11 12:35:07 -06:00
..
simpleclient Retab lib 2013-08-30 16:28:33 -05:00
client.rb Fix #4119 - SMB lost search ID (sid) in find_first method 2014-11-11 12:35:07 -06:00
constants.rb Fix typo in the constant name 2014-06-23 12:51:26 -05:00
crypt.rb Retab lib 2013-08-30 16:28:33 -05:00
evasions.rb Retab lib 2013-08-30 16:28:33 -05:00
exceptions.rb Move error_name to InvalidPacket and check for nil 2014-07-15 15:02:53 -05:00
simpleclient.rb Fix #4089 - undefined method `downcase' for nil:NilClass 2014-11-07 02:45:22 -06:00
utils.rb Retab lib 2013-08-30 16:28:33 -05:00