
Security News
NVD Quietly Sweeps 100K+ CVEs Into a “Deferred” Black Hole
NVD now marks all pre-2018 CVEs as "Deferred," signaling it will no longer enrich older vulnerabilities, further eroding trust in its data.
Gather - The Ultimate Source of Truth. Gather everything you ever wanted to know about your IT infrastructure into one simple searchable file, the GatherDB. Gather is a tool that creates a comprehensive Source of Truth (SOT) for your IT infrastructure. The GatherDB contains an unlimited amount of configuration management data as well as configuration state data.
One of the prime features of Gather is its speed. Gather allows you to get a deep understanding of the configuration and state of an infrastructure in a few minutes. In addition, Gather allows you to run ad hoc commands such as "show running-config" on a large campus environment in a few seconds.
GATHER
INSTALLATION
First make sure you are running the latest version of pip3 by upgrading your version of pip using the following command.
"pip3 install --upgrade pip" OR "python3 -m pip install --upgrade pip"
After uprading pip to the latest version, install gather using the following command:
"pip3 install gogather" OR "pip install gogather" if you only running python3 on your device
USAGE:
gather -h
usage: gather [-h] [-c COMMANDFILE] [-sc SINGLECOMMAND] [-o OUTFILE] [-u USERNAME] [-t TARGETFILE] [-st SINGLETARGET] [-p PASSWD] [-notag]
optional arguments:
-h, --help show this help message and exit
-c COMMANDFILE Enter Command File - One Per Line
-sc SINGLECOMMAND Enter A Single Command Enclosed in Quotes - Example "show version"
-o OUTFILE Enter Output Log File Name - If not specified default is GatherDB...
-u USERNAME Username
-t TARGETFILE Host File - One Per Line
-st SINGLETARGET Enter One Target Host Only
-p PASSWD Enter Password
-notag NO TAG places untagged output into seperate files
CLI Examples:
gather -u -p -t <target_file> -c <command_file> -o <output_file>
gather -u -p -st -sc "command" <--- Output file will be defaulted to GatherDB
gather -u -p -st -sc "command" -o <output_file>
gather -u -p -st -sc "command" -o <output_file> -notag <--- -notag places untagged output into seperate files
OR run gather in interactive mode:
VIRTUALENV % gather
Username? username
Password: password (not visible on terminal)
command file? command_file
target file? target_file
output filename? output_file
Gather logs in via SSH and issues the commands placed in the command file. Additionally, Gather tags the output flowing to output file with the target name as well as the command issued. I suggest placing every device in your data center in the target file.
SEE: commands.txt
show version
show running-config
show running-config section bgp
show interface status
show vlan
show ip int brief
show running-config section ospf
show lldp neighbor
Any other command that is relevant to your specific equipment
A commands.txt sample file is included in this repo.
Gather tags every line of the output with the name of device and the name of the command, every line is searchable. Unix text search and manipulation tools such as: AWK, SED, GREP (-v, -i), uniq, uniq -c, wc -l (count number of lines), allow you to easily search your entire infrastructure at once for permanent and semi permanent data.
SEE: SAMPLE_QUERIES.md file for examples
FAQs
GatherDB - Go Gather
We found that gogather demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NVD now marks all pre-2018 CVEs as "Deferred," signaling it will no longer enrich older vulnerabilities, further eroding trust in its data.
Research
Security News
Lazarus-linked threat actors expand their npm malware campaign with new RAT loaders, hex obfuscation, and over 5,600 downloads across 11 packages.
Security News
Safari 18.4 adds support for Iterator Helpers and two other TC39 JavaScript features, bringing full cross-browser coverage to key parts of the ECMAScript spec.