Nmap Development mailing list archives
Re: SNMP scripts update
From: Patrik Karlsson <patrik () cqure net>
Date: Tue, 16 Feb 2010 10:24:02 +0100
On 15 feb 2010, at 23.44, David Fifield wrote:
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/
Commited as r16775. When I updated the script.db I noticed that it added several other scripts that were missing (mongodb- and db2-das-info). I suspect that it was just missed during the commits of these scripts? Anyway as I wasn't sure of the reason I reverted the changes back and left the script.db unmodified. Let me know if I should commit an updated script.db version. //Patrik -- Patrik Karlsson http://www.cqure.net http://www.twitter.com/nevdull77 _______________________________________________ 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 update Patrik Karlsson (Jan 19)
- Re: SNMP scripts update David Fifield (Feb 01)
- Re: SNMP scripts update Tom Sellers (Feb 01)
- Re: SNMP scripts update David Fifield (Feb 15)
- Re: SNMP scripts update Patrik Karlsson (Feb 16)
- Re: SNMP scripts update Fyodor (Feb 16)
- Re: SNMP scripts update Patrik Karlsson (Feb 16)
- Re: SNMP scripts update Patrik Karlsson (Feb 16)
- Re: SNMP scripts update David Fifield (Feb 01)