small fix

bug/bundler_fix
m-1-k-3 2013-01-21 13:41:42 +01:00
parent 62ff52280a
commit 11c13500be
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class Metasploit3 < Msf::Auxiliary
# using the RHOST for the correct lan IP settings
# WARNING: Attacks via the WAN IP are breaking the LAN configuration of the device!
if datastore['LANIP'] =~ /<RHOST>/
if datastore['LANIP'] !~ /<RHOST>/
ip = datastore['LANIP'].split('.')
else
ip = rhost.split('.')