Land #4242, @Meatballs1 fix for sap_service_discovery report_note
* I cannot reproduce @Meatballs1 issue * But I noticed report_note should :update with :unique_data * Fixed the :updatebug/bundler_fix
commit
3ac1f7d4fb
|
@ -227,15 +227,13 @@ class Metasploit4 < Msf::Auxiliary
|
|||
end
|
||||
print_good("#{ip}:#{port}\t - #{service} OPEN")
|
||||
|
||||
begin
|
||||
report_note(
|
||||
:host => "#{ip}",
|
||||
:proto => 'TCP',
|
||||
:port => "#{port}",
|
||||
:type => 'SAP',
|
||||
:data => "#{service}"
|
||||
)
|
||||
end
|
||||
report_note(
|
||||
:host => "#{ip}",
|
||||
:port => "#{port}",
|
||||
:type => 'SAP',
|
||||
:data => "#{service}",
|
||||
:update => :unique_data
|
||||
)
|
||||
r << [ip,port,"open", service]
|
||||
rescue ::Rex::ConnectionRefused
|
||||
vprint_status("#{ip}:#{port}\t - TCP closed")
|
||||
|
|
Loading…
Reference in New Issue