当前位置:网站首页>web渗透测试----5、暴力破解漏洞--(9)MS-SQL密码破解
web渗透测试----5、暴力破解漏洞--(9)MS-SQL密码破解
2022-06-24 03:49:00 【七天啊】
MS SQL是指微软的SQLServer数据库服务器,它是一个数据库平台,提供数据库的从服务器到终端的完整的解决方案,其中数据库服务器部分,是一个数据库管理系统,用于建立、使用和维护数据库。默认端口:1433。
一、hydra
Hydra 是一个并行的登录破解器,它支持多种攻击协议。它非常快速和灵活,并且新模块很容易添加。kali工具集已集成。
hydra项目地址:
https://github.com/vanhauser-thc/thc-hydra/releases全版本
hydra支持:
Cisco AAA、Cisco auth、Cisco enable、CVS、FTP、HTTP(S)-FORM-GET、HTTP(S)-FORM-POST、HTTP(S)-GET、HTTP(S)-HEAD、HTTP-代理、ICQ、IMAP、IRC、LDAP、MS-SQL、MySQL、NNTP、Oracle 侦听器、Oracle SID、PC-Anywhere、PC-NFS、POP3、PostgreSQL、RDP、Rexec、Rlogin、Rsh、SIP、SMB(NT)、SMTP、SMTP 枚举、SNMP v1+v2+v3、SOCKS5、SSH(v1 和 v2)、SSHKEY、Subversion、Teamspeak (TS2)、Telnet、VMware-Auth、VNC 和 XMPP`。
hydra -L /root/Desktop/user.txt –P /root/Desktop/pass.txt IP mssql
-L:指定用户名字典路径-P:指定密码字典路径
二、Medusa
Medusa 是一个快速、并行和模块化的登录暴力破解器。目标是支持尽可能多的允许远程身份验证的服务。kalikali工具集已集成。
文档:
www.foofus.net/jmk/medusa/medusa.html
源代码:https://github.com/jmk-foofus/medusahttps://github.com/jmk-foofus/medusa/archive/2.2.tar.gz
主要功能如下:
1、基于线程的并行测试:可以同时针对多个主机、用户或密码执行蛮力测试。
2、灵活的用户输入:可以通过多种方式指定目标信息(主机/用户/密码)。例如,每个项目可以是单个条目,也可以是包含多个条目的文件。此外,组合文件格式允许用户细化他们的目标列表。
3、模块化设计:每个服务模块作为一个独立的 .mod 文件存在。这意味着无需对核心应用程序进行任何修改即可扩展支持的服务列表以进行暴力破解。
4、支持多种协议:当前支持许多服务(例如 SMB、HTTP、POP3、MS-SQL、SSHv2 等)。
medusa -h IP –U /root/Desktop/user.txt –P /root/Desktop/pass.txt –M mssql
-U:表示用户名列表的路径-P:表示密码列表的路径-M:指定爆破参数类型
三、Metasploit
use auxiliary/scanner/mssql/mssql_login
msf auxiliary(scanner/mssql/mssql_login) > set rhosts IP
msf auxiliary(scanner/mssql/mssql_login) > set user_file /root/Desktop/user.txt
msf auxiliary(scanner/mssql/mssql_login) > set pass_file /root/Desktop/pass.txt
msf auxiliary(scanner/mssql/mssql_login) > set stop_on_success true
msf auxiliary(scanner/mssql/mssql_login) > run
四、NMAP
nmap -p 1433 –script ms-sql-brute –script-args userdb=/root/Desktop/user.txt,passdb=/root/Desktop/pass.txt IP
-p:指定端口号161-n:不做DNS解析--script ms-sql-brute:指定使用ms-sql-brute脚本进行扫描--script-args:指定脚本参数userdb:指定用户名和密码列表路径/root/Desktop/user.txt,passdb=/root/Desktop/pass.txt
边栏推荐
- Black hat SEO practice: General 301 weight PR hijacking
- [Mid Autumn Festival greeting new year with good gifts] Tengyun pioneer feedback exchange group received new benefits!
- How to monitor multiple platforms simultaneously when easydss/easygbs platform runs real-time monitoring?
- How to select the application of the server?
- Several good books for learning data
- Analysis of grafana SSO authentication process based on keyloak
- Easyplayer consumes traffic but does not play video and reports an error libdecoder Wasm404 troubleshooting
- Configuration process of easygbs access to law enforcement recorder
- Prometheus pushgateway
- Multi task video recommendation scheme, baidu engineers' actual combat experience sharing
猜你喜欢

黑帽实战SEO之永不被发现的劫持

黑帽SEO实战之通用301权重pr劫持

Kubernetes 资源拓扑感知调度优化

Installation of pytorch in pycharm

15+ urban road element segmentation application, this segmentation model is enough

Common content of pine script script

The results of the 2022 open source summer were announced, and 449 college students will contribute to open source projects

Kubernetes resource topology aware scheduling optimization

Clang代码覆盖率检测(插桩技术)

黑帽SEO实战之目录轮链批量生成百万页面
随机推荐
黑帽实战SEO之永不被发现的劫持
Life reopens simulation / synthetic big watermelon / small air conditioner Inventory of 2021 popular open source projects
微博国际版更名为微博轻享版
How to do the right thing in digital marketing of consumer goods enterprises?
Several good books for learning data
Clang code coverage detection (pile insertion technology)
openEuler Kernel 技术分享第 20 期 | 执行实体创建与切换
LeetCode 938. Range sum of binary search tree
openEuler社区理事长江大勇:共推欧拉开源新模式 共建开源新体系
Black hat SEO actual combat search engine snapshot hijacking
What should I pay attention to when choosing a data center?
web技术分享| 【地图】实现自定义的轨迹回放
15+ urban road element segmentation application, this segmentation model is enough
How to adjust the incompleteness before and after TS slicing of easydss video recording?
华为云GaussDB(for Redis)揭秘第19期:GaussDB(for Redis)全面对比Codis
Oceanbase community OBD deployment example primary replica
Browser rendering mechanism
Backup method of mysqldump
Go operation mongodb
Web technology sharing | [map] to realize customized track playback