惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Vulnerabilities – Threatpost
U
Unit 42
F
Fortinet All Blogs
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
F
Full Disclosure
月光博客
月光博客
Engineering at Meta
Engineering at Meta
博客园_首页
The Register - Security
The Register - Security
G
Google Developers Blog
The Cloudflare Blog
博客园 - Franky
K
Kaspersky official blog
A
Arctic Wolf
Scott Helme
Scott Helme
C
Cisco Blogs
Hugging Face - Blog
Hugging Face - Blog
C
Check Point Blog
NISL@THU
NISL@THU
AI
AI
D
DataBreaches.Net
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Stack Overflow Blog
Stack Overflow Blog
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
量子位
Vercel News
Vercel News
T
Tor Project blog
P
Privacy International News Feed
D
Docker
I
Intezer
L
LangChain Blog
P
Proofpoint News Feed
Security Latest
Security Latest
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
博客园 - 聂微东
AWS News Blog
AWS News Blog
Martin Fowler
Martin Fowler
P
Privacy & Cybersecurity Law Blog
V
V2EX
Last Week in AI
Last Week in AI
C
Cybersecurity and Infrastructure Security Agency CISA
The Hacker News
The Hacker News
T
Tenable Blog
Blog — PlanetScale
Blog — PlanetScale
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog

开发 - 无垠

使用通行密钥 PRF 扩展在浏览器中安全加密 - 无垠 谈谈 WebAuthn - 无垠 不止更亮:在 Web 中使用 HDR - 无垠 前端时间国际化 101 - 无垠 更新到下一代服务器架构 - 无垠 新的个人页以及对 Nginx 启用 Brotli、TLS 1.3和 Server Push - 无垠 自动检查SSL证书到期情况 - 无垠 PJAX,真的好吗? - 无垠 Hack.init() 2017 Write Up - 无垠 SLock项目开发记录 - 无垠
鸡年红包答案 - 无垠
Axton · 2017-02-04 · via 开发 - 无垠

已经是2月4日了,如约公布鸡年红包的答案。

先来说一下结果。只有1个人解出了答案,在红包发布后的几个小时。这比我预想的2-3人更少😔。

所以公布一下答案。

方法0的答案

先读代码,很明显是一段JavaScript代码,夹杂了jQuery的Ajax(真的有人认成Java...)。

结合注释,可以看出这段代码的大意是从https://flyhigher.top/getrp异步获取一张PNG图像,肉眼识别里面的内容,带入下方的表达式,就能得到答案。

于是进入这个地址,然后得到一堆乱码。

https://acdn.flyhigher.top/wp-content/uploads/2017/02/snipaste20170202_162947.png

???

不要想太多,想想我告诉你了图片格式,再联想网络上最常用的小图片编码方式,答案就很显然了。

Base64。

但是它没有头信息,加上就好啦。随便找个地方解码一下就得到这张图片。

https://acdn.flyhigher.top/wp-content/uploads/2017/02/snipaste20170202_163334.png

所以是7。有人跟我反馈图片看不清(???),再看不清的话看看底下代码的parseInt()还有一堆数学函数也就能理解了。

最后一步带入,得答案为45。

方法1答案

是一段音频,先听一下。

一开始听起来好像是全频率的白噪音,但很快声音就变得很奇怪,就像...

就像一部分频率被切掉了。只要明白这一点,也就很简单了:答案藏在频率的变化中。所以想到要看看频谱图。

???怎么看?音频文件在服务器上啊。这就是为什么我用WordPress原生播放器。在源代码里搜索audio元素,就能找到音频文件的链接(再不行内录也可以嘛,只要质量够高就可以了)。

https://acdn.flyhigher.top/wp-content/uploads/2017/02/snipaste20170202_163454.png

然后看频谱图,一目了然,有点数学基础就可以算出来。

https://acdn.flyhigher.top/wp-content/uploads/2017/02/snipaste20170202_163636.png

答案也是45,一样。

总结

可是就算是这么简单的题目都只有一个人解出来,还是两种方法都解出来了。我本来还想出难点的来着...