diff --git a/modules/auxiliary/admin/natpmp/natpmp_map.rb b/modules/auxiliary/admin/natpmp/natpmp_map.rb index 1e881959d0..1738a8e425 100644 --- a/modules/auxiliary/admin/natpmp/natpmp_map.rb +++ b/modules/auxiliary/admin/natpmp/natpmp_map.rb @@ -101,7 +101,7 @@ class Metasploit3 < Msf::Auxiliary ) # report the external port as being open - if inside_workspace_boundary(external_address) + if inside_workspace_boundary?(external_address) report_service( :host => external_address, :port => external_port, diff --git a/modules/auxiliary/gather/natpmp_external_address.rb b/modules/auxiliary/gather/natpmp_external_address.rb index 59e7720cf8..8adc4677cb 100644 --- a/modules/auxiliary/gather/natpmp_external_address.rb +++ b/modules/auxiliary/gather/natpmp_external_address.rb @@ -70,7 +70,7 @@ class Metasploit3 < Msf::Auxiliary ) # also report its external address as alive - if inside_workspace_boundary(external_address) + if inside_workspace_boundary?(external_address) report_host( :host => external_address, :state => Msf::HostState::Alive diff --git a/modules/auxiliary/scanner/natpmp/natpmp_portscan.rb b/modules/auxiliary/scanner/natpmp/natpmp_portscan.rb index fdba44374e..b472ed1538 100644 --- a/modules/auxiliary/scanner/natpmp/natpmp_portscan.rb +++ b/modules/auxiliary/scanner/natpmp/natpmp_portscan.rb @@ -102,7 +102,7 @@ class Metasploit3 < Msf::Auxiliary print_status("#{external_addr} - #{int}/#{protocol} #{state} because of code #{result} response") if (datastore['DEBUG']) end - if inside_workspace_boundary(external_addr) + if inside_workspace_boundary?(external_addr) report_service( :host => external_addr, :port => int,