From 739204b86d33f90141f9ffc4530d206dcca0bc98 Mon Sep 17 00:00:00 2001 From: Meatballs Date: Thu, 31 Jan 2013 20:17:25 +0000 Subject: [PATCH] Build upon A.Maloteaux's SMB fixes --- lib/rex/proto/smb/client.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rex/proto/smb/client.rb b/lib/rex/proto/smb/client.rb index b16d4c666b..42267652aa 100644 --- a/lib/rex/proto/smb/client.rb +++ b/lib/rex/proto/smb/client.rb @@ -1046,6 +1046,7 @@ NTLM_UTILS = Rex::Proto::NTLM::Utils pkt = CONST::SMB_TREE_CONN_PKT.make_struct self.smb_defaults(pkt['Payload']['SMB']) + pkt['Payload']['SMB'].v['TreeID'] = 0 pkt['Payload']['SMB'].v['Command'] = CONST::SMB_COM_TREE_CONNECT_ANDX pkt['Payload']['SMB'].v['Flags1'] = 0x18