Skip to content

BlackBox-CSP/cdpcrawler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cdpcrawler

Script uses ssh and telnet to crawl a network and display cdp neighbor information. This information is parsed and the neighbors are connected to and so on.

Usage: cdpscanner.py [Options]
  Note: All options are optional.  User is prompted or defaults are used.
  -h or --help:  This help screen
  -i or --inputfile: specifies a file containing hosts to connect to.
  -u or --username: specifies a username to use
  -p or --password: Specifies the password to use
  -v or --verbose: Enables verbose output
  -t or --telnet:  Enables fallback to telnet
  -o or --output:  Prints the inventory of all of the devices at the end
  -H or --hosts:  specifies hosts via comma seperated values
  -T or --threads:  specifices the number of threads (defaults to 8)
  -g or --graph:  enables graphing of the network and specifices the output file

Project dependancies:

netmiko

openpyxl

Graphing function also requires

pydot

Graphviz

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%