1
0
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:
fyodor
2006-10-14 06:02:43 +00:00
parent e4ee4d5e4c
commit c608b64dfd
7 changed files with 288 additions and 26 deletions

View File

@@ -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

View File

@@ -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;
}
}