Skip to content

Commit

Permalink
Added nmap fingerprint
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulDoyensec committed Oct 23, 2024
1 parent 8fd16f8 commit 91ce637
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ public boolean canAccept(NetworkService networkService) {

var uriAuthority = NetworkEndpointUtils.toUriAuthority(networkService.getNetworkEndpoint());

boolean canAcceptByNmapReport =
NetworkServiceUtils.getWebServiceName(networkService).equals(TOMCAT_SERVICE);
if (canAcceptByNmapReport) {
return true;
}

if (!NetworkServiceUtils.isWebService(networkService)) {
return false;
}
Expand Down

0 comments on commit 91ce637

Please sign in to comment.