<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>🧽Pen Test on ClearSec Wiki</title><link>https://www.clearsec.org/wikis/ise/pentest/</link><description>Recent content in 🧽Pen Test on ClearSec Wiki</description><generator>Hugo</generator><language>zh-cn</language><atom:link href="https://www.clearsec.org/wikis/ise/pentest/index.xml" rel="self" type="application/rss+xml"/><item><title>§01_信息收集</title><link>https://www.clearsec.org/wikis/ise/pentest/0_%E4%BF%A1%E6%81%AF%E6%94%B6%E9%9B%86/</link><pubDate>Sun, 17 Nov 2024 09:44:26 +0800</pubDate><guid>https://www.clearsec.org/wikis/ise/pentest/0_%E4%BF%A1%E6%81%AF%E6%94%B6%E9%9B%86/</guid><description>&lt;h1 id="1-google-hacking"&gt;1. Google Hacking&lt;/h1&gt;
&lt;p&gt;Google Hacking Database(GHDB)：&lt;a href="https://www.exploit-db.com/google-hacking-database"&gt;https://www.exploit-db.com/google-hacking-database&lt;/a&gt;&lt;br&gt;
谷歌搜索语法介绍：&lt;a href="https://program-think.blogspot.com/2013/03/internet-resource-discovery-2.html"&gt;https://program-think.blogspot.com/2013/03/internet-resource-discovery-2.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;常见案例：&lt;/p&gt;
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;搜索语法&lt;/th&gt;
					&lt;th&gt;作用&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;a href="https://www.google.com/search?q=site:edu.cn&amp;#43;filetype:xls&amp;#43;%22%E8%BA%AB%E4%BB%BD%E8%AF%81%22"&gt;site:edu.cn filetype:xls “身份证”&lt;/a&gt;&lt;/td&gt;
					&lt;td&gt;查找教育机构的带有“身份证”字段的excel表格&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;a href="https://www.google.com/search?q=inurl:phpmyadmin/index.php?server=1"&gt;inurl:phpmyadmin/index.php?server=1&lt;/a&gt;&lt;/td&gt;
					&lt;td&gt;查找phpmyadmin登录页&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;a href="https://www.google.com/search?q=inurl:info.php&amp;#43;intext:%22PHP&amp;#43;Version%22&amp;#43;intitle:%22phpinfo%28%29%22"&gt;inurl:info.php intext:”PHP Version” intitle:”phpinfo()&lt;/a&gt;&lt;/td&gt;
					&lt;td&gt;查找展示phpinfo()的站点&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;a href="https://www.google.com/search?q=inurl:%22.php?id=%22&amp;#43;%22You&amp;#43;have&amp;#43;an&amp;#43;error&amp;#43;in&amp;#43;your&amp;#43;SQL&amp;#43;syntax%22"&gt;inurl:”.php?id=” “You have an error in your SQL syntax”&lt;/a&gt;&lt;/td&gt;
					&lt;td&gt;查找可能存在SQL注入的站点&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;a href="https://www.google.com/search?q=intitle:%22%E5%90%8E%E5%8F%B0%E7%99%BB%E9%99%86%22&amp;#43;inurl:http:"&gt;intitle:后台登陆 inurl:http:&lt;/a&gt;&lt;/td&gt;
					&lt;td&gt;查找登录页为http的站点&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;a href="https://www.google.com/search?q=intitle:%22index&amp;#43;of%22&amp;#43;intext:%22Last&amp;#43;modified%22"&gt;intitle:”index of” intext:”Last modified”&lt;/a&gt;&lt;/td&gt;
					&lt;td&gt;查找存在目录遍历的站点&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;blockquote&gt;
&lt;p&gt;注意：频繁进行Google Hacking会被谷歌识别为异常流量而进行人机验证&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="2-网络空间资产测绘平台"&gt;2. 网络空间资产测绘平台&lt;/h2&gt;
&lt;h2 id="21-shodanˈʃoʊdæn"&gt;2.1 Shodan(/ˈʃoʊ.dæn/)&lt;/h2&gt;
&lt;p&gt;官网(需登录使用)：&lt;a href="https://www.shodan.io/"&gt;https://www.shodan.io/&lt;/a&gt;&lt;br&gt;
浏览器扩展：&lt;a href="https://chromewebstore.google.com/detail/shodan/jjalcfnidlmpjhdfepjhjbhnhkbgleap"&gt;https://chromewebstore.google.com/detail/shodan/jjalcfnidlmpjhdfepjhjbhnhkbgleap&lt;/a&gt;&lt;br&gt;
&lt;a href="https://help.shodan.io/command-line-interface/0-installation"&gt;CLI使用&lt;/a&gt;：&lt;code&gt;python -m pip install shodan -i https://pypi.tuna.tsinghua.edu.cn/simple&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;[&lt;img src="https://www.clearsec.org/wikis/_resources/%C2%A70_%E4%BF%A1%E6%81%AF%E6%94%B6%E9%9B%86/465a87b209d26fec31b78c0d0aa7b010_MD5.png" alt="alt text"&gt;]&lt;/p&gt;
&lt;p&gt;常见案例：&lt;/p&gt;
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;&lt;a href="https://www.shodan.io/search/examples"&gt;搜索语法&lt;/a&gt;&lt;/th&gt;
					&lt;th&gt;作用&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;a href="https://www.shodan.io/search?query=Hikvision-Webs&amp;#43;country:cn&amp;#43;city:changsha"&gt;Hikvision-Webs country:cn city:changsha&lt;/a&gt;&lt;/td&gt;
					&lt;td&gt;搜索长沙的海康威视摄像头后台页&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;a href="https://www.shodan.io/search?query=port:3389&amp;#43;country:cn&amp;#43;city:beijing"&gt;port:3389 country:cn city:beijing&lt;/a&gt;&lt;/td&gt;
					&lt;td&gt;搜索北京的开启了RDP的服务器&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;a href="https://www.shodan.io/search?query=vuln:CVE-2017-0144&amp;#43;country:cn"&gt;vuln:CVE-2017-0144 country:cn&lt;/a&gt;&lt;/td&gt;
					&lt;td&gt;搜索存在永恒之蓝漏洞的中国设备(漏洞搜索需要付费)&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;a href="https://www.shodan.io/search?query=country:cn&amp;#43;city:changsha&amp;#43;nginx"&gt;country:cn city:changsha nginx&lt;/a&gt;&lt;/td&gt;
					&lt;td&gt;搜索长沙的Nginx服务器&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;a href="https://www.shodan.io/search?query=isp:huawei&amp;#43;country:cn"&gt;isp:huawei country:cn&lt;/a&gt;&lt;/td&gt;
					&lt;td&gt;搜索华为的基础设施设备&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="22-fofa"&gt;2.2 FOFA&lt;/h2&gt;
&lt;p&gt;官网：&lt;a href="https://fofa.info/"&gt;https://fofa.info/&lt;/a&gt;&lt;br&gt;
浏览器扩展(非官方)：&lt;a href="https://chromewebstore.google.com/detail/fofa-pro-view/dobbfkjhgbkmmcooahlnllfopfmhcoln"&gt;https://chromewebstore.google.com/detail/fofa-pro-view/dobbfkjhgbkmmcooahlnllfopfmhcoln&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>