Comments (4)
摘抄如下:
URL 识别逻辑把 URL 后面的内容搬运到搜索框并触发搜索
页面加载时自动搜索 URL # 后面的文字
搜索逻辑检测到隐藏参数,把 localStorage 修改为指定的内容
特殊参数形如 //setflag APPSWITCHER_ITEMS={"switcher_2": {"fix": {"hole": "..."}}}
下次访问时从 localStorage 读取代码并执行
热修复逻辑使用 eval
解决方法
扔掉热修复逻辑
from pkuholecommunity.
麻烦在 issue 中摘抄主要内容,方便其他人阅读。
xmcp 有删库前科,及时备份很重要 😏
我没来得及仔细看,猜测是 CTF 比赛在另一个地方故意弄了个 bug 吧,否则出题人不首先报告 bug 那道德上有问题。
from pkuholecommunity.
from pkuholecommunity.
摘抄如下:
URL 识别逻辑把 URL 后面的内容搬运到搜索框并触发搜索
页面加载时自动搜索 URL # 后面的文字
搜索逻辑检测到隐藏参数,把 localStorage 修改为指定的内容
特殊参数形如
//setflag APPSWITCHER_ITEMS={"switcher_2": {"fix": {"hole": "..."}}}
下次访问时从 localStorage 读取代码并执行
热修复逻辑使用
eval
解决方法
扔掉热修复逻辑
👏
from pkuholecommunity.
Related Issues (20)
- bug: 在 sidebar 的 box 中出现了多余的文本元素 HOT 2
- 超过 36 小时就是 2 天了 HOT 3
- 路线规划(草稿) HOT 7
- 关注列表按最后回复时间排序 HOT 8
- 更换图标解决方案 HOT 7
- v0.2.5 Release (Plan) HOT 1
- 上方的“树洞”按钮会跳回原版树洞 HOT 2
- 解决 beta 版本和 stable 版本之间的冲突 HOT 6
- 关注列表分组 HOT 2
- 发布树洞后不能滚动
- 【Feature Request】兼容T大树洞,或者兼容双token登录 HOT 5
- 图标和背景图加载不出 HOT 3
- 关于个人隐私的保护问题 HOT 3
- 安卓手机版Firefox不能选择图片 HOT 7
- 想问一下北大是官方支持树洞的运营嘛 HOT 3
- 有没有考虑对删除洞进行自动备份+页面显示 HOT 3
- 登录后显示:TypeError: Cannot read property 'length' of undefined HOT 3
- 后端错误返回,无法显示帖子:Cannot read property of undefined HOT 11
- 树洞更新 HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pkuholecommunity.