如何从IIS欢迎页面中快速挖掘漏洞

admin 2024年11月1日13:47:33评论20 views字数 1082阅读3分36秒阅读模式

信息收集

Google dork

intext:IIS Windows Server site:*.yourtarget.com
inurl:”IIS Windows Server” site:*.yourtarget.com
intitle:”IIS Windows Server” site:*.yourtarget.com

子域收集

subfinder -d target.com -all -recursive -o sbfdr_r1.txt
subfinder -dL sbfdr_r1.txt -all -recursive -o sbfder_r2.txt
assetfinder -subs-only target.com | tee ast_target_subs.txt

bbot

bbot -t target.com -f subdomain-enum -rf passive -o bbot_target_subs.txt

amass

amass enum -d target.com -o target_subs_normal_scan.txt
amass enum -active -d target.com -o target_subs_active_scan.txt
amass enum -passive -d example.com -o target_subs_passive_scan.txt

当然子域收集工具还有很多,选择更多的工具,收获也会更多。

寻找 IIS 欢迎页

完成子域收集后,就可以使用httpx命令来查找存活的 IIS 欢迎页了:

httpx -l final_subs.txt -sc -td — title

如何从IIS欢迎页面中快速挖掘漏洞

Burp插件

习惯用Burp的同学,可以使用IIs Tlide Enumration Scanner插件,来一键帮你完成扫描。

如何从IIS欢迎页面中快速挖掘漏洞

扫描结束后,可以在下方看到相应的扫描结果。

短文件名扫描

推荐使用shortscan这款开源工具,安装如下:

go install github.com/bitquark/shortscan/cmd/shortscan@latest

使用也很简单:

shortscan http:target.com -F

如何从IIS欢迎页面中快速挖掘漏洞

当然,短文件名工具也有不少:

https://github.com/irsdl/IIS-ShortName-Scanner
https://github.com/sw33tLie/sns
https://github.com/lijiejie/IIS_shortname_Scanner
https://github.com/0xRTH/IISRecon

根据个人喜好选择食用即可。

你学会了么?

原文始发于微信公众号(骨哥说事):如何从IIS欢迎页面中快速挖掘漏洞

免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2024年11月1日13:47:33
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   如何从IIS欢迎页面中快速挖掘漏洞https://cn-sec.com/archives/3340779.html
                  免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉.

发表评论

匿名网友 填写信息