Nmap Development mailing list archives

Re: Feature request: Accept decimal notation for target host


From: "DePriest, Jason R." <jrdepriest () gmail com>
Date: Mon, 23 May 2011 13:41:36 -0500

11.1.1.1 is 184615169 in decimal notation
1.11.1.1 is 185270529 in decimal notation

What Paul calls 4-tuple is commonly called dotted-decimal (or just
dot-decimal).  What he calls decimal is commonly called just that:
decimal notation, just not dotted-decimal notation.

Spammers like to use the decimal notation because it makes it
difficult for a user to look up the IP manually on a black list even
though most utilities understand it just fine.

This old site explains it pretty well: http://www.pc-help.org/obscure.htm

-Jason

On Mon, May 23, 2011 at 1:31 PM, Nils Magnus <magnus () linuxtag org> wrote:
Am Montag, 23. Mai 2011 19:48:49 schrieb Paul Eubanks:
Nmap accepts 4-tuple and Hex notation for targets, why not decimal?

e.g.

$ ping 127.0.0.1
$ ping 0x7f000001
$ ping 2130706433

Because it's ambigous? How do you distinct between 11.1.1.1 and 1.11.1.1, for
example?

Regards,

Nils Magnus
--
Director LinuxTag e. V. -- LinuxTag 2011 -- May 11 - 14
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: