Forwarded from Web to Album
Cheeky student protest at Beijing’s Communication University of China after students disciplined for shooting funny video.
They put up notices parodying campus police:
“Taking photos is forbidden”
“Freezing over is forbidden”
“Sunrise is forbidden”
“Forbidding is forbidden” source
They put up notices parodying campus police:
“Taking photos is forbidden”
“Freezing over is forbidden”
“Sunrise is forbidden”
“Forbidding is forbidden” source
#今天又看了啥 #Security
#GitHub Actions 今年年初被发现一个漏洞使任何人可以通过 fork 的方式在源仓库的 context 下运行任意 Actions,原因是 commit 在源仓库和 fork 中是共享的
https://blog.teddykatz.com/2021/03/17/github-actions-write-access.html
#GitHub Actions 今年年初被发现一个漏洞使任何人可以通过 fork 的方式在源仓库的 context 下运行任意 Actions,原因是 commit 在源仓库和 fork 中是共享的
https://blog.teddykatz.com/2021/03/17/github-actions-write-access.html
Teddy Katz’s Blog
Stealing arbitrary GitHub Actions secrets
I’m a big fan of the “try weird stuff and see what happens” approach to security research. Modern software has a huge number of bugs, and engineering teams often have to prioritize which bugs to fix, based in part on the number of users affected by each bug.…
#今天又看了啥
常数时间计算
https://stackoverflow.com/q/10670379/5958455
常数时间计算
a^(a+1)^...^(a+n) 的方法,很巧妙def f(a):(注意:两端闭区间,而不是习惯性的左闭右开)
return [a, 1, a+1, 0][a%4}
def xor_chain(a, n):
return f(a-1) ^ f(a+n)
https://stackoverflow.com/q/10670379/5958455
Stack Overflow
Find XOR of all numbers in a given range
You are given a large range [a,b] where 'a' and 'b' can be typically between 1 and 4,000,000,000 inclusive. You have to find out the XOR of all the numbers in the given range.
This problem was used...
This problem was used...
Forwarded from 层叠 - The Cascading
CentOS Linux(注意不是 Stream) 8 支持期结束。
https://www.centos.org/centos-linux-eol/
linksrc: https://t.me/allo_9b/4340
#CentOS #RedHat #EOL
https://www.centos.org/centos-linux-eol/
linksrc: https://t.me/allo_9b/4340
#CentOS #RedHat #EOL
Telegram
yet_another_channel
CentOS 8 維護週期終止
隨著 2021 年最後一個日子即將畫上句號,作為 RHEL 姊妹的最後一個 CentOS 大版本的生命週期也終於隨之結束。
再見 CentOS 8,也謝謝所有的魚。
#Linux #CentOS #Distro #Communty #RHEL #Clone #EOL #FLOSS #Tech
https://www.centos.org/centos-linux-eol/
隨著 2021 年最後一個日子即將畫上句號,作為 RHEL 姊妹的最後一個 CentOS 大版本的生命週期也終於隨之結束。
再見 CentOS 8,也謝謝所有的魚。
#Linux #CentOS #Distro #Communty #RHEL #Clone #EOL #FLOSS #Tech
https://www.centos.org/centos-linux-eol/
Forwarded from taoky 的日常记事本
新年的第一个 bug:
一觉起来发现负责维护的某个网站证书过期了,renew 证书的脚本是放在了 /etc/cron.daily/acme.sh(内容是负责的另一个同学写的脚本),但是好像根本没有被执行。最后发现:放在这类目录里的脚本会定时被 run-parts 执行,但是它只会执行目录里文件名满足一定条件的可执行文件。
一觉起来发现负责维护的某个网站证书过期了,renew 证书的脚本是放在了 /etc/cron.daily/acme.sh(内容是负责的另一个同学写的脚本),但是好像根本没有被执行。最后发现:放在这类目录里的脚本会定时被 run-parts 执行,但是它只会执行目录里文件名满足一定条件的可执行文件。
If neither the --lsbsysinit option nor the --regex option is given then the names must consist entirely of ASCII upper- and lower-case letters, ASCII digits, ASCII underscores, and ASCII minus-hyphens.
因为 acme.sh 里面有个点,所以不会被 run-parts 执行。Forwarded from 苍穹の下 · 小丑皇の门😅😅😅
12月31日,最高法、最高检召开发布会,发布《关于办理危害食品安全刑事案件适用法律若干问题的解释》和典型案例。
会上最高人民法院刑一庭副庭长安翱指出,近年来,一些不良商家抓住老年人有保健需求的心理,通过“免费体检”、“健康讲座”、“专家义诊”、“夸大疗效”等花样繁多的手段,虚构保健食品具有包治百病的神奇疗效,欺骗老年人高价购买,牟取暴利。此类“保健品坑老”案件频发,犯罪性质恶劣,人民群众反映强烈。
对此,《解释》明确规定,实施此类犯罪,符合诈骗罪规定的,依照诈骗罪定罪处罚。如果销售的食品不合格,同时构成生产、销售伪劣产品罪等犯罪的,依照处罚较重的犯罪定罪处罚。
最离谱的地方在于,这玩意之前居然还能不算诈骗?🤒🤒
会上最高人民法院刑一庭副庭长安翱指出,近年来,一些不良商家抓住老年人有保健需求的心理,通过“免费体检”、“健康讲座”、“专家义诊”、“夸大疗效”等花样繁多的手段,虚构保健食品具有包治百病的神奇疗效,欺骗老年人高价购买,牟取暴利。此类“保健品坑老”案件频发,犯罪性质恶劣,人民群众反映强烈。
对此,《解释》明确规定,实施此类犯罪,符合诈骗罪规定的,依照诈骗罪定罪处罚。如果销售的食品不合格,同时构成生产、销售伪劣产品罪等犯罪的,依照处罚较重的犯罪定罪处罚。
最离谱的地方在于,这玩意之前居然还能不算诈骗?🤒🤒