mirror of
https://github.com/nmap/nmap.git
synced 2026-01-06 14:39:03 +00:00
NSE committed
This commit is contained in:
@@ -1141,7 +1141,7 @@ void parse_nmap_service_probe_file(AllProbes *AP, char *filename) {
|
||||
static void parse_nmap_service_probes(AllProbes *AP) {
|
||||
char filename[256];
|
||||
|
||||
if (nmap_fetchfile(filename, sizeof(filename), "nmap-service-probes") == -1){
|
||||
if (nmap_fetchfile(filename, sizeof(filename), "nmap-service-probes") != 1){
|
||||
fatal("Service scan requested but I cannot find nmap-service-probes file. It should be in %s, ~/.nmap/ or .", NMAPDATADIR);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user