Linus 这是怎么了,发脾气了吗哈哈

2022-01-26 15:11:42 +08:00
 lnanddj

https://github.com/torvalds/linux/tree/8bcab0346d4fcf21b97046eb44db8cf37ddd6da0

hey guys its me linus torvalds, author of the smash hit linux. yes its me you can look at the url of the repo and the thingy at the top of the files it proves its 100% me.

i deleted linux because i hate it now i think it sucks. you should go use this awesome os its called windows xp i just discovered it its great

11962 次点击
所在节点    Linux
21 条回复
zhangxs1989
2022-01-26 15:14:07 +08:00
阴阳怪气是吧
qsmd42
2022-01-26 15:16:37 +08:00
底下不是有个链接吗 点进去看是如何利用 github 漏洞进行恶作剧
learningman
2022-01-26 15:17:05 +08:00
底下的链接写了,是一次展示伪造 commit 的行为艺术
lnanddj
2022-01-26 15:19:54 +08:00
@learningman 哈哈哈哈啊哈 果然是,没注意到
imzcg2
2022-01-26 15:20:33 +08:00
linus ,虽然创造了 git ,但好像一直都讨厌 github
dingwen07
2022-01-26 15:21:06 +08:00
一直开启 Vigilant mode ,这样没有签名的 commit 就会显示成 unverified
drackzy
2022-01-26 15:22:41 +08:00
之前漏洞,可以伪造 linus commit 你的代码
wonderfulcxm
2022-01-26 15:23:14 +08:00
Others probably have not fully realized this yet, but with GitHub one can:
1) Publish arbitrary commits under your https://github.com/my/project URL, e.g. a fake https://github.com/my/project/blob/<faked_commit>/README.md in your project describing how to install it that actually describes installing malware.

2) Publish those commits under your name, with your email address, and GitHub will prominently display it as if you made the commit (most do not use GPG signatures, and most do not know to look for "Verified" anyway)

It seemed only a matter of time before this behavior got abused for something (anti-DMCA action is perhaps the best outcome of this situation I can imagine..)
txoooy
2022-01-26 15:38:28 +08:00
@drackzy 这算是个 bug 吗, 我记得.git 里面内容本来就可以随意篡改的
czfy
2022-01-26 15:56:58 +08:00
毕竟是曾经公开 fuck you nvidia 的男人
ysc3839
2022-01-26 16:05:04 +08:00
这是 GitHub 架构的缺陷吧,GitHub 中 fork 的仓库和原仓库在内部是共用一个存储库的,你在你 fork 的仓库中提交,在原仓库也可以通过 commit hash 访问到。

https://github.com/torvalds/linux/commit/8bcab0346d4fcf21b97046eb44db8cf37ddd6da0
这里可以看到
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SekiBetu
2022-01-26 20:18:22 +08:00
挺好玩的,github 不认为这是漏洞
harwck
2022-01-26 20:20:10 +08:00
f u Nvidia +1
Biwood
2022-01-26 20:41:59 +08:00
github 不认为是漏洞?感觉很容易伪造一个捐款入口啊
Jooooooooo
2022-01-26 20:54:44 +08:00
像是他会说的话.
DGideas
2022-01-26 21:00:12 +08:00
@Biwood 这个切入点好!我都没有想到
ncepuzs
2022-01-26 21:52:30 +08:00
可以伪造他人 commit 的,建议使用 GPG signature
Mexion
2022-01-27 10:52:00 +08:00
@qsmd42 学到了
EldersJavas
2022-01-27 11:30:51 +08:00
翻译:
大家好,我是 Linus torvalds, linux 畅销书的作者。是的,这就是我。

你可以看看回购的 url 和文件顶部的东西,它证明了 100%的我。

我删除了 Linux ,因为我讨厌它,现在我觉得它糟透了。你应该使用这个很棒的操作系统,它叫 Windows xp ,我刚发现它很棒
shadeofgod
2022-01-27 14:45:54 +08:00

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/830735

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX