Nmap Development mailing list archives

Re: SNMP scripts update


From: David Fifield <david () bamsoftware com>
Date: Mon, 15 Feb 2010 15:44:12 -0700

On Tue, Jan 19, 2010 at 11:38:20PM +0100, Patrik Karlsson wrote:
Hi all,

I've just finished another snmp script that outputs (more or less) the equivalent of a netstat. I also renamed the 
snmp-get-windows-processes to snmp-get-processes as it works against my Linux environment as well.

I also ditched the zip-archive and published the scripts one-by-one for easier update/access.
In order for the scripts to work you need an updated snmp.lua. Until the patches make it into svn, I've published the 
latest library on my blog.

http://www.cqure.net/wp/nmap-scripts/

Here I'm responding to http://seclists.org/nmap-dev/2010/q1/534, a
response I accidentally put in the thread about LDAP scripts.

The snmp library, the asn1 library, and the new snmp scripts are ready
to be committed. I gave them another try with the newest version in the
nselib-asn1 branch and I'm happy with them now. You can commit them any
time.

Here are just a couple more things I thought of.

Is it possible to instatiate one asn1 encoder and decoder when the
library is loaded, instead of making a new one on every call to
snap.encode?

It looks like the snmp_walk function used in the scripts is useful and
general enough that it should be factored out into the snmp library. You
don't have to do that, and even if you do the merge should certainly
come first.

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: