fix for target_idx bug
git-svn-id: file:///home/svn/incoming/trunk@3203 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
e591af64bd
commit
70a565a4e9
|
@ -72,7 +72,7 @@ class VncInject
|
|||
self.class.type
|
||||
end
|
||||
|
||||
def _interact
|
||||
def _interact # :nodoc:
|
||||
raise EOFError if (self.conn_eof == true)
|
||||
|
||||
sleep(1)
|
||||
|
|
|
@ -81,10 +81,6 @@ module Exploit
|
|||
# If we still have no target index, try to use the datastore's index
|
||||
target_idx = opts['Target'] || exploit.default_target
|
||||
|
||||
if (target_idx == nil)
|
||||
driver.exploit.target_idx = exploit.datastore['TARGET']
|
||||
end
|
||||
|
||||
# Convert it to an integer if it's valid
|
||||
if (target_idx)
|
||||
target_idx = target_idx.to_i
|
||||
|
|
Loading…
Reference in New Issue