Nmap Development mailing list archives
Re: SNMP incorrect OID decoding
From: David Fifield <david () bamsoftware com>
Date: Mon, 18 Jan 2010 15:00:42 -0700
On Mon, Jan 18, 2010 at 10:19:06PM +0100, Patrik Karlsson wrote:
I've finished some new SNMP scripts that extract information from Windows systems. During the development of these scripts I ran across a bug in the snmp.lua library which returns an incorrect OID when the last octet is larger than 128. Apparently it should be differently decoded.
Thanks for finding this bug. This is similar to a previously fixed bug, where OID components would be encoded incorrectly. http://seclists.org/nmap-dev/2009/q4/624 Please factor out the code you added into a decode_oid_component function (to go with encode_oid_component). There's a web link above encode_oid_component with documentation on the encoding. David FIfield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- SNMP scripts Patrik Karlsson (Jan 18)
- Re: SNMP incorrect OID decoding David Fifield (Jan 18)