1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-10 09:49:05 +00:00

reword error message

This commit is contained in:
fyodor
2007-11-14 22:58:37 +00:00
parent 34763e08f4
commit 0cdedc07fc
2 changed files with 17 additions and 4 deletions

View File

@@ -398,19 +398,19 @@ void NmapOps::ValidateOptions() {
#endif
if (ackscan|finscan|idlescan|ipprotscan|maimonscan|nullscan|synscan|udpscan|windowscan|xmasscan) {
fatal("You requested a scan type which requires %s. Sorry dude.\n", privreq);
fatal("You requested a scan type which requires %s.", privreq);
}
if (numdecoys > 0) {
fatal("Sorry, but decoys (-D) require %s.\n", privreq);
fatal("Sorry, but decoys (-D) require %s.", privreq);
}
if (fragscan) {
fatal("Sorry, but fragscan requires %s\n", privreq);
fatal("Sorry, but fragscan requires %s.", privreq);
}
if (osscan) {
fatal("TCP/IP fingerprinting (for OS scan) requires %s. Sorry, dude.\n", privreq);
fatal("TCP/IP fingerprinting (for OS scan) requires %s.", privreq);
}
if (ipoptionslen)