snmp 默认团体名检测利用

[root@izj6c2n1nth4tg8emd8h58z tmp]# lsb_release 
LSB Version:    :core-4.1-amd64:core-4.1-noarch
[root@izj6c2n1nth4tg8emd8h58z tmp]# lsb_release  -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID:    CentOS
Description:    CentOS Linux release 7.3.1611 (Core)
Release:    7.3.1611
Codename:    Core
[root@izj6c2n1nth4tg8emd8h58z tmp]# yum install snmpcheck
[root@izj6c2n1nth4tg8emd8h58z tmp]# yum install -y net-snmp-utils
利用过程:
[root@izj6c2n1nth4tg8emd8h58z tmp]# snmpcheck -t *.*.*.162 
snmpcheck.pl v1.8 - SNMP enumerator
Copyright (c) 2005-2011 by Matteo Cantoni (www.nothink.org)

 [*] Try to connect to *.*.*.162
 [*] Connected to *.*.*.162
 [*] Starting enumeration at 2017-12-01 16:43:56

 [*] System information
 -----------------------------------------------------------------------------------------------

 Hostname               : PEK1SRX001
 Description            : Juniper Networks, Inc. srx550 internet router, kernel JUNOS 12.3X48-D40.5, Build date: 2016-10-28 02:43:35 UTC Copyright (c) 1996-2016 Juniper Networks, Inc.
 Uptime system          : 80 days, 02:06:26.30
 Uptime SNMP daemon     : 80 days, 02:04:22.29
 Motd                   : -
...

[root@izj6c2n1nth4tg8emd8h58z tmp]# snmpbulkwalk  -v 2c -c public *.*.*.162 .1.3.6.1.2.1.1 
SNMPv2-MIB::sysDescr.0 = STRING: Juniper Networks, Inc. srx550 internet router, kernel JUNOS 12.3X48-D40.5, Build date: 2016-10-28 02:43:35 UTC Copyright (c) 1996-2016 Juniper Networks, Inc.
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.2636.1.1.1.2.86
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (691968872) 80 days, 2:08:08.72
SNMPv2-MIB::sysContact.0 = STRING: 
SNMPv2-MIB::sysName.0 = STRING: PEK1SRX001
SNMPv2-MIB::sysLocation.0 = STRING: 
SNMPv2-MIB::sysServices.0 = INTEGER: 4
 
   

参考:

  https://wenku.baidu.com/view/c70591ee5ef7ba0d4a733b92.html

  http://www.linuxidc.com/Linux/2013-10/91718p6.htm

 

转载于:https://www.cnblogs.com/zheh/p/7943366.html

你可能感兴趣的:(snmp 默认团体名检测利用)