当前位置:网站首页>【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
边栏推荐
- 数据库系统原理与应用教程(071)—— MySQL 练习题:操作题 110-120(十五):综合练习
- Keras deep learning practice - traffic sign recognition
- 数值矩阵的图形表示
- 【Redis】缓存雪崩、缓存穿透、缓存预热、缓存更新、缓存击穿、缓存降级
- 57:第五章:开发admin管理服务:10:开发【从MongoDB的GridFS中,获取文件,接口】;(从GridFS中,获取文件的SOP)(不使用MongoDB的服务,可以排除其自动加载类)
- 1个小时!从零制作一个! AI图片识别WEB应用!
- 网站建设流程
- Database Plus 的云上之旅:SphereEx 正式开源 ShardingSphere on Cloud 解决方案
- datax - 艰难debug路
- 智能硬件开发怎么做?机智云全套自助式开发工具助力高效开发
猜你喜欢

openresty 动态黑白名单

What should I do if the Win11 campus network cannot be connected?Win11 can't connect to campus network solution

GZIPOutputStream 类源码分析
![DAO development tutorial [WEB3.0]](/img/fa/4406317241973d15d776c4f2f0890d.png)
DAO development tutorial [WEB3.0]

部署zabbix

MLX90640 Infrared Thermal Imager Temperature Measurement Module Development Notes (Complete)

kubernetes - deploy nfs storage class

密码学的基础:X.690和对应的BER CER DER编码

工作5年,测试用例都设计不好?来看看大神的用例设计总结

终于有人把AB实验讲明白了
随机推荐
17. Load balancing
手撸代码,Redis发布订阅机制实现
How to record and analyze your alchemy process - use notes of the visual artifact Wandb [1]
1个小时!从零制作一个! AI图片识别WEB应用!
Compose实战-实现一个带下拉加载更多功能的LazyColumn
To drive efficient upstream and downstream collaboration, how can cross-border B2B e-commerce platforms release the core value of the LED industry supply chain?
Heavy cover special | build the first line of defense, cloud firewall offensive and defensive drills best practices
第58章 结构、纪录与类
{ValueError}Number of classes, 1, does not match size of target_names, 2. Tr
在GBase 8c数据库后台,使用什么样的命令来对gtm、dn节点进行主备切换的操作?
Tencent Cloud Hosting Security x Lightweight Application Server | Powerful Joint Hosting Security Pratt & Whitney Version Released
安装GBase 8c数据库的时候,报错显示“Resource:gbase8c already in use”,这怎么处理呢?
win10,在proe/creo中鼠标中键不能放大缩小
随时随地写代码--基于Code-server部署自己的云开发环境
Win11校园网无法连接怎么办?Win11连接不到校园网的解决方法
明日盛会|ApacheCon Asia 2022 Pulsar 技术议题一览
1个小时!从零制作一个! AI图片识别WEB应用!
Greenplum Database Source Code Analysis - Analysis of Standby Master Operation Tools
How to query database configuration parameters in GBase 8c, such as datestyle.What function or syntax to use?
The graphic details Eureka's caching mechanism/level 3 cache
