Merge pull request #1885 from beefproject/update_networkservice

updated to what was changed for the networkservice
This commit is contained in:
jcrew99
2020-04-01 13:30:33 +10:00
committed by GitHub

View File

@@ -40,7 +40,7 @@ class Port_scanner < BeEF::Core::Command
proto = 'http'
if BeEF::Filters.is_valid_ip?(ip)
print_debug("Hooked browser found network service [ip: #{ip}, port: #{port}]")
BeEF::Core::Models::NetworkService.create(:hooked_browser_id => session_id, :proto => proto, :ip => ip, :port => port, :type => service)
BeEF::Core::Models::NetworkService.create(:hooked_browser_id => session_id, :proto => proto, :ip => ip, :port => port, :ntype => service)
end
end