Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: [NSE] snmp-ios-config - Config grabber
From: Vikas Singhal <vikas.programmer () gmail com>
Date: Sun, 9 Jan 2011 23:29:23 -0600

The downloaded configuration is the whole config info of a IOS router/switch
.. it can be pretty big .. I don't see it fitting in the nmap output.

I can cleanup the code, thats no problem.

On Sun, Jan 9, 2011 at 11:00 PM, David Fifield <david () bamsoftware com>wrote:

On Mon, Jan 03, 2011 at 12:58:14PM +0530, Vikas Singhal wrote:
Just developed my first NSE script after seeing Fyodor Blackhat 2010
This script basically downloads Cisco IOS configuration to a given TFTP
server using the SNMP RW string.

PFA the script, let me know if thats something useful to go in nmap
collection. I will work on making it v2/v3 compatible, I am also working
IOS-XR config download (no tools have this), will update the script if I

Hi Vikas. Thanks for this script.

What does the downloaded config information look like? Is it very large
or would it fit in Nmap output if it could be downloaded directly?

You have good documentation of what each OID is doing. Each SNMP request
uses a lot of duplicated code though. How about factoring out the parts
that don't change into a local function?

David Fifield

Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]