From 338dca4cffa6521216a3dd08d8d7ee61ed3608c9 Mon Sep 17 00:00:00 2001 From: jah Date: Mon, 21 Apr 2014 14:03:57 +0000 Subject: [PATCH] Add a pattern for a "no match found" type of response from LACNIC. --- scripts/whois-ip.nse | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/whois-ip.nse b/scripts/whois-ip.nse index b02c3e2ac..2588b771c 100644 --- a/scripts/whois-ip.nse +++ b/scripts/whois-ip.nse @@ -1625,7 +1625,8 @@ function script_init( ) "\n%s*([Rr]eserved:%s*$addr)", "\n[^\n]*([Nn]ot%s[Aa]ssigned[^\n]*$addr)", "\n%s*(No match!!)%s*\n", - "(Invalid IP or CIDR block:%s*$addr)" + "(Invalid IP or CIDR block:%s*$addr)", + "\n%s*%%%s*(Unallocated and unassigned in LACNIC block:%s*$addr)", } nmap.registry.whois.m_err = { "\n%s*([Aa]n [Ee]rror [Oo]ccured)%s*\n",