Files
blog/_posts/2019-05-03-origip.md
T
2022-01-04 20:42:55 +08:00

20 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
layout: post
title: 如何“人肉”服务器?
tags: [服务器, CDN, IP]
---
没错,我就是来安利Censys的!<!--more-->
# 起因
当今有不少网站都喜欢在外面套CDN,因为CDN既能加速,又能节约服务器带宽,还能保护服务器(没错,说的就是Cloudflare,不过不止Ta一家)。但是用了CDN后就不知道源站IP了,这还是挺糟糕的,那怎么办呢?
# 方案
不错,接下来该[Censys](https://censys.io)出场了,假如我对[ESUWiki](https://esu.wiki)感觉很不爽 ~~(我花火学园服务器加域名一年也花不了$100,你ESUWiki倒好,一年$1000+,是在搞什么?)~~ ,然后我发现Ta也套了一层Cloudflare。好,那么接下来就让我们打开Censys搜一下Ta吧!
以esu.wiki为关键词搜索,搜到IP:`149.56.110.126` 然后实际访问一下<https://149.56.110.126>,果然跳转到了ESUWiki,看来就是Ta了?
不过好像也不完全是这样,Ta先跳到<https://weiki.esu.zone/>,然后才跳到<https://esu.wiki>,这就很麻烦了……算啦,反正这个服务器肯定和ESUWiki脱不了干系~
# 结果
通过Censys可以找到不少Cloudflare后面的IP,但也不代表这就没救了,只要设置防火墙白名单就能解决!
Censys还有更多功能,像端口扫描之类的都可以,虽然也有其他类似的网站,不过既然Censys用的顺手, ~~而且名字又好听23333~~ 所以,就好好用Ta吧!