1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-20 05:09:02 +00:00

Added new SEQ.ISR element, removed SEQ.CL, changed calculation of SEQ.SP

This commit is contained in:
fyodor
2006-08-27 02:43:44 +00:00
parent 1f6fbad3dd
commit 87c4dbdf39
6 changed files with 243 additions and 187 deletions

View File

@@ -1979,7 +1979,7 @@ f --spoof \"/usr/local/bin/pico -z hello.c\" -sS -oN e.log example.com/24\n\n");
char *seqreport1(struct seq_info *seq) {
static char report[512];
snprintf(report, sizeof(report), "TCP Sequence Prediction: Class=%s\n Difficulty=%d (%s)\n", seqclass2ascii(seq->seqclass), seq->index, seqidx2difficultystr1(seq->index));
snprintf(report, sizeof(report), "TCP Sequence Prediction: Difficulty=%d (%s)\n", seq->index, seqidx2difficultystr1(seq->index));
return report;
}
@@ -1992,7 +1992,7 @@ const char *seqidx2difficultystr1(unsigned long idx) {
char *seqreport(struct seq_info *seq) {
static char report[512];
snprintf(report, sizeof(report), "TCP Sequence Prediction: Class=%s\n Difficulty=%d (%s)\n", seqclass2ascii(seq->seqclass), seq->index, seqidx2difficultystr(seq->index));
snprintf(report, sizeof(report), "TCP Sequence Prediction: Difficulty=%d (%s)\n", seq->index, seqidx2difficultystr(seq->index));
return report;
}