From 4ee248bf3e4c88bc453bba29cd093f8c670597d0 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Thu, 13 Mar 2008 15:46:33 +0000 Subject: [PATCH] Pass the IP address in the IPC$ tree connect (required by novell) git-svn-id: file:///home/svn/framework3/trunk@5441 4d416f70-5f16-0410-b530-b9f4589650da --- lib/msf/core/exploit/smb.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/core/exploit/smb.rb b/lib/msf/core/exploit/smb.rb index c091c7000b..24f3469f20 100644 --- a/lib/msf/core/exploit/smb.rb +++ b/lib/msf/core/exploit/smb.rb @@ -99,7 +99,7 @@ module Exploit::Remote::SMB datastore['SMBDomain'] ) - simple.connect('IPC$') + simple.connect("\\\\#{datastore['RHOST']}\\IPC$") end # This method returns the native operating system of the peer