SNMP Enumerator
Project description
SNMPen (SNMP Enumerator)
You know snmpcheck? Good, snmpen is doing the same. It's another enumerator for SNMP enabled hosts. It's started as a drop-in replacement for snmpcheck which was no longer maintained back in 2018/2019. Nowadays, snmpen has it's own heart and mind but still shares a similar CLI interface with snmpcheck.
Enummerations are happening against RFC1157-compliant systems. The heavy lifting is done by pysnmp.
Setup
$ pip install snmpen
Usage
The tools support IPv4 addresses, IPv6 addresses and FQDNs as input.
$ snmpen -h
options:
-p, --port PORT SNMP port (default: 161)
-c, --community COMMUNITY
SNMP community string (default: public)
-s, --snmp-version VERSION
SNMP version: 1 or 2c (default: 1)
-w, --write Detect write access (not part of the enumeration)
-d, --disable_tcp Disable TCP connections enumeration
-t, --timeout SECONDS
Timeout in seconds (default: 5)
-r, --retries RETRIES
Request retries (default: 1)
-o, --output FILE Write formatted enumeration output to FILE
--output-format FORMAT
Output format: auto, plain, or rich (default: auto)
-f, --hosts-file FILE
Read targets from FILE (one host per line)
-v, --version Show script version and exit
-h, --help Show this help message and exit
Usage examples:
snmpen 172.16.1.1
snmpen 2001:db8::10
snmpen demo.pysnmp.com
snmpen 172.16.1.1 -o
snmpen -f hosts.txt
snmpen --output-format plain -f hosts.txt
snmpen --output-format rich -o report.txt 172.16.1.1
snmpen -c private -s 2c 172.16.1.1
snmpen -w -d -t 10 172.16.1.1
The hosts file supports one target per line. Empty lines and lines starting with # are ignored.
When -o is used without a filename, snmpen writes one file per successful target using <target>.txt.
The system information section also shows the detected supported SNMP versions for the host (currently SNMPv1 and SNMPv2c detection).
License
snmpen is licensed under MIT.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file snmpen-1.1.0.tar.gz.
File metadata
- Download URL: snmpen-1.1.0.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2598d7d98c8c165f52e5fc0e42d825d5d688bea72560c283d2235166ce8fdc21
|
|
| MD5 |
3afbc3936c7d5e437ff6e4d7372feff0
|
|
| BLAKE2b-256 |
7e5a4fefe6799694a57b54a15e099c66381cf689d3b9edd7f38e4ea2bf8d1c81
|
Provenance
The following attestation bundles were made for snmpen-1.1.0.tar.gz:
Publisher:
publish-to-pypi.yml on fabaff/snmpen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
snmpen-1.1.0.tar.gz -
Subject digest:
2598d7d98c8c165f52e5fc0e42d825d5d688bea72560c283d2235166ce8fdc21 - Sigstore transparency entry: 1258931498
- Sigstore integration time:
-
Permalink:
fabaff/snmpen@c862ba4dd16171ed84629d88641617e1ec8b2ca3 -
Branch / Tag:
refs/tags/1.1.0 - Owner: https://github.com/fabaff
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@c862ba4dd16171ed84629d88641617e1ec8b2ca3 -
Trigger Event:
release
-
Statement type:
File details
Details for the file snmpen-1.1.0-py3-none-any.whl.
File metadata
- Download URL: snmpen-1.1.0-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20e0c68208caa9c46a9e4a3d301863fa78bbb42c55b3c562d7caae5717e65619
|
|
| MD5 |
83b00d9950298507121ab57cc49e24c4
|
|
| BLAKE2b-256 |
3557d13463f17e9510c0d64dbafc35678333ad5705660c4ee24a436ab3b25a32
|
Provenance
The following attestation bundles were made for snmpen-1.1.0-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on fabaff/snmpen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
snmpen-1.1.0-py3-none-any.whl -
Subject digest:
20e0c68208caa9c46a9e4a3d301863fa78bbb42c55b3c562d7caae5717e65619 - Sigstore transparency entry: 1258931547
- Sigstore integration time:
-
Permalink:
fabaff/snmpen@c862ba4dd16171ed84629d88641617e1ec8b2ca3 -
Branch / Tag:
refs/tags/1.1.0 - Owner: https://github.com/fabaff
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@c862ba4dd16171ed84629d88641617e1ec8b2ca3 -
Trigger Event:
release
-
Statement type: