当前位置:网站首页>【kali-信息收集】(1.2)SNMP枚举:Snmpwalk、Snmpcheck;SMTP枚举:smtp-user-enum
【kali-信息收集】(1.2)SNMP枚举:Snmpwalk、Snmpcheck;SMTP枚举:smtp-user-enum
2022-08-01 19:38:00 【黑色地带(崛起)】
目录
一、SNMP枚举
1.1、简介:
简单网络管理协议SNMP用于网络设备的管理。网络设备种类多种多样,不同设备厂商提供的管理接口各不相同,这使得网络管理变得愈发复杂
为解决这一问题,SNMP应运而生。SNMP作为广泛应用于TCP/IP网络的网络管理标准协议,提供了统一的接口,从而实现了不同种类和厂商的网络设备之间的统一管理
SNMP协议:SNMPv1、SNMPv2c、SNMPv3
二、SNMP枚举工具
2.1、Snmpwalk
简介:
Snmpwalk 是一个 SNMP 应用程序 。 它使用 SNMP 的 GETNEXT 请求, 查询指定的所有 OID (SNMP 协议中的对象标识)树信息, 并显示给用户
测试
使用 Snmpwalk 命令测试 Windows 主机
snmpwalk -c public 192.168.190.131 -v 2c
使用 snmpwalk 命令枚举安装的软件
snmpwalk -c public 192.168.41.138 -v 1 I gr ep ftp
使用 Snmpwalk 工具也可以枚举目标主机上打开的 TCP 端口
snmpwalk -c public 192.168.41.138 -v 1 I grep tcpConnState I cut -d "." -f6 I sort-nu
2.2、Snmpcheck
简介:
Snmpcheck 工具允许用户枚举 SNMP 设备的同时将结果以可读的方式输出。
测试:
snmpcheck -t 192.168.190.131
输出的是枚举运行信息
系统信息, 如主机名、 操作系统类型及架构
设备信息, 如设备 ID 号 、 类型和状态等
存储信息, 如设备 id 、 设备类型和文件系统类型等
用户账户信息
进程信息, 如进程ID、 进程名和进程类型等
网络信息, 如TTL值、 TCP段和数据元
网络接口信息, 如接口状态、 速率 、 IP地址和子网掩码等
路由信息, 如目标地址、 下一跳地址、 子网掩码和路径长度值
网络服务信息,如分布式组件对象模型服务、 DHCP 客户端和 DNS 客户端等
监听的 TCP 端口, 如监听的 TCP 端口号有 135 、139 等
监听 UDP 端口信息, 如监听的 UDP 端口有 123、 161 、 4500、 500 和 5355 等
软件组件信息, 如 Visual C++ 2008
Web 服务信息, 如发送的字节数、 文件数和当前匿名用户等
三、SMTP枚举工具
3.1、smtp-user-enum
简介:
smlp-user-enum是针对SMTP服务器的25端口,进行用户名枚举的工具,用以探测服务器已存在的邮箱账户。 在SMTP服务上启动用户的SMTP枚举
安装:
sudo apt install smtp-user-enum
命令:
Usage: smtp-user-enum [options] ( -u username | -U file-of-usernames ) ( -t host | -T file-of-targets ) options are: -m n Maximum number of processes (default: 5) -M mode Method to use for username guessing EXPN, VRFY or RCPT (default: VRFY) -u user Check if user exists on remote system -f addr MAIL FROM email address. Used only in "RCPT TO" mode (default: [email protected]) -D dom Domain to append to supplied user list to make email addresses (Default: none) Use this option when you want to guess valid email addresses instead of just usernames e.g. "-D example.com" would guess [email protected], [email protected], etc. Instead of simply the usernames foo and bar. -U file File of usernames to check via smtp service -t host Server host running smtp service -T file File of hostnames running the smtp service -p port TCP port on which smtp service runs (default: 25) -d Debugging output -w n Wait a maximum of n seconds for reply (default: 5) -v Verbose -h This help message Also see smtp-user-enum-user-docs.pdf from the smtp-user-enum tar ball. Examples: $ smtp-user-enum -M VRFY -U users.txt -t 10.0.0.1 $ smtp-user-enum -M EXPN -u admin1 -t 10.0.0.1 $ smtp-user-enum -M RCPT -U users.txt -T mail-server-ips.txt $ smtp-user-enum -M EXPN -D example.com -U users.txt -t 10.0.0.1测试:
smtp-user-enum -M VRFY -U /tmp/users.txt -t 192.168.190.131
边栏推荐
- Selenium在远程中的截图
- 短视频软件开发,Android开发,使用Kotlin实现WebView
- How to query database configuration parameters in GBase 8c, such as datestyle.What function or syntax to use?
- OSPO 五阶段成熟度模型解析
- datax - 艰难debug路
- MySQL你到底都加了什么锁?
- Combining two ordered arrays
- 不恰当Equatable协议==方法的实现对SwiftUI中@State修饰属性的影响
- Win10, the middle mouse button cannot zoom in and out in proe/creo
- Database Plus 的云上之旅:SphereEx 正式开源 ShardingSphere on Cloud 解决方案
猜你喜欢

PHP 安全最佳实践

Pytorch模型训练实用教程学习笔记:三、损失函数汇总

10 个 PHP 代码安全漏洞扫描程序

openresty 动态黑白名单

Try compiling QT test on Allwinner V853 development board

LabVIEW 使用VISA Close真的关闭COM口了吗

Keras deep learning practice - traffic sign recognition

明日盛会|ApacheCon Asia 2022 Pulsar 技术议题一览

deploy zabbix

57:第五章:开发admin管理服务:10:开发【从MongoDB的GridFS中,获取文件,接口】;(从GridFS中,获取文件的SOP)(不使用MongoDB的服务,可以排除其自动加载类)
随机推荐
重保特辑|拦截99%恶意流量,揭秘WAF攻防演练最佳实践
datax - 艰难debug路
Heavy cover special | intercept 99% malicious traffic, reveal WAF offensive and defensive drills best practices
Creo5.0 rough hexagon is how to draw
From ordinary advanced to excellent test/development programmer, all the way through
Compse编排微服务实战
正则表达式
Win11如何删除升级包?Win11删除升级包的方法
有序双向链表的实现。
Pytorch模型训练实用教程学习笔记:三、损失函数汇总
win10,在proe/creo中鼠标中键不能放大缩小
57: Chapter 5: Develop admin management services: 10: Develop [get files from MongoDB's GridFS, interface]; (from GridFS, get the SOP of files) (Do not use MongoDB's service, you can exclude its autom
力扣刷题之合并两个有序数组
Intranet penetration lanproxy deployment
Combining two ordered arrays
Ha ha!A print function, quite good at playing!
Website construction process
MySQL开发技巧——存储过程
MySQL你到底都加了什么锁?
突破边界,华为存储的破壁之旅
