updated to what was changed for the networkservice

This commit is contained in:
Josh
2020-03-31 20:21:53 -07:00
parent a038dee9d8
commit 591ebf6d83

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