mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 22:21:29 +00:00
Integrate the latest fingerprint submissions
This commit is contained in:
@@ -280,7 +280,9 @@ static void merge_sp_or_isr(struct AVal *result, char values[][AVLEN], int num)
|
||||
printf("[WARN] Zero value occurs in attribute SEQ.%s. A constant ISN sequence?\n", result->attribute);
|
||||
}
|
||||
if(i == 0) {
|
||||
low = high = val1;
|
||||
/* Start it out with a variance of five in each direction */
|
||||
low = MAX(0, val1 - 5);
|
||||
high = val1 + 5;
|
||||
} else {
|
||||
if(low == high && val1 != low) {
|
||||
// expand it in both directions
|
||||
|
||||
@@ -126,7 +126,7 @@ static int checkFP(char *FP) {
|
||||
} else {
|
||||
tmp = *(p+3);
|
||||
if(tmp != 'Y') {
|
||||
printf("[WARN] One fingerprint is not good\n");
|
||||
printf("[WARN] One fingerprint is NOT GOOD (G=N)\n");
|
||||
founderr = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user