我未专为Fuckbilibili项目开发过任何部分,亦不为其可能造成的任何不良后果负责。
截止声明时,Fuckbilibili网站所援引的的大量源码违反了GPL协议,所谓自行开发的源码违反了MIT协议。
请自行斟酌使用该项目中的任何部分。部分可能的后果会造成直接的人身、财产和/或名誉伤害。
Beining
又及:
关于直接上传到乐视云:
参见
更新:我写插件了:
https://github.com/cnbeining/acfun-api-replace-server/tree/master/chrome
Acfun fix chrome 插件。
Chrome有很多插件,可以直接重定向请求。
我喜欢Switcheroo Redirector 。
加规则:
把
http://cdn.aixifan.com/player/sslhomura/AcNewPlayer151029.swf
重定向到
https://acfun-api.cnbeining.com/static/AcNewPlayer151029.swf
;
http://www.acfun.tv/video/getVideo.aspx?
到
https://acfun-api.cnbeining.com/getVideo?
。
服务端在Openshift,前面挂了CF。
懒得配置环境,人多了我也不知道怎样,随便吧。
服务端:https://github.com/cnbeining/acfun-api-replace-server
欢迎反馈。
aid和mid自己想办法,要是不会就别用了。
https://gist.github.com/cnbeining/a3b710bacfdc10074695
即使是packer这坨屎也能挖出花来。
代码下面。
Continue reading
EDIT:
偶尔其他渠道收不到确认邮件。
等2分钟,直接去取证书就是。
手残?回复,我帮你签。
两种方法,先说一个:
1. 把玉米解析到IP段:
83.170.64.0 - 83.170.127.255
109.123.64.0 - 109.123.127.255
77.92.64.0 - 77.92.95.255
要是不行换个
2. 要么关WHOIS隐私 要么保证admin@ webmaster@ 这种常见邮箱可以收信
3. 生成CSR等
4. https://ssl.uk2.net/cgi-bin/certificate-apply.pl 申请
记住订单号!!!!!
5. WHOIS邮箱收信,去链接确认
6. https://ssl.uk2.net/cgi-bin/retrieve-certificate.pl 取证书
反正Letsencrypt要来了,这东西很快就烂了。无伤大雅。
虽然我不用他的垃圾直播。
试试两个传图片的API,还有百度OCR的API。
求测试后反馈,无论是不是好用。
https://github.com/cnbeining/bilibili-grab-sliver
Continue reading
简单说:
弹幕发送者ID是他mid的CRC32.
原文如下。
Continue reading
http://live.bilibili.com/api/h5playurl?roomid=5067
({"durl":[{"order":1,"length":0,"url":"http://live-play.acgvideo.com/live/live_227933_332_c521e483/playlist.m3u8"}]})
逼我用浏览器UA?怕啥 不服就干。
https://github.com/cnbeining/Biligrab
代码下面。
Continue reading
DNSPod感觉不靠谱。
CloudXNS。。。国内无爱。
Route53要钱。
Linode的大陆封。
所以老老实实,Cloudflare。
好处是没什么限制,TTL2分钟也够良心。
当然了,缺点是看不见记录:没办法了。
声明:喝了酒翻译的,出问题不负责。
原文:
http://blog.ejbca.org/2013/09/certificate-transparency-and.html
词汇表:
TBSCertificate:To-Be-Signed, 将要被颁发的证书,https://stackoverflow.com/questions/5304531/certificate-structure
issuerDN:发放者专有名称,http://www-01.ibm.com/support/knowledgecenter/SSPLFC_7.2.2/com.ibm.taddm.doc_7.2.2/zemainstall/zema_install_cce_api_appendix_PUT_eccapi_admin_config_certificates_alias.html?lang=zh
subjectDN:主题专有名称,同上
CT:Certificate Transparency,证书透明度
On to PreCertificates...
前证书:
PreCertificates are defined in section "3.1. Log Entries" as (text trimed by me) "The Precertificate is constructed from the certificate to be issued by adding a special critical poison extension to the end-entity TBSCertificate". Then it describes how it can be produced and it is mentioned throughout the spec in many places.
rfc6962 3.1节称,“前证书是”TBSCertificate前部加一个关键扩展,描述证书如何生成。RFC接下来用了很多这个名词。
A PreCertificate is a essentially a certificate signed with one of two options:
有两种办法签发前证书:
1. PreCertificates signed by the real CA.
This sounds very dangerous as will break the fundamental X.509 rule of unique issuerDN/serialNumber pairs. The consequences of having two "certificates" with the same issuerDN/serialNumber in the wild can not possibly be estimated, making this practice quite dangerous imho.
1.用真实CA签发
听起来很危险,因为破坏了X.509中唯一发放者专有名称/序列号对的规则。有可能会出现两个有效的证书,在我看来很危险。
2. PreCertificates signed by a separate PreCertificate signing CA, which is a SubCA to the real signing CA. This is a less scary, since it is normal practice that different CAs can issue certificate with the same subjectDN/serialNumber, just not the same issuerDN.
2. 用专门的根CA下属的前证书CA签发。
这样看起来好多了,因为不同的CA可以发出同样主题专有名称/序列号对的证书,只是发放者专有名称不同。
The actual implementation of issuing PreCertificates makes it quite impractical. I would believe that most CA implementations creates theTBSCertificate as part of the actual certificate issuance. The CA will not create the TBSCertificate to have is lying around for a couple of days before using it to issue the real certificate.
发放前证书的过程让这个东西不使用。我觉得大部分CA都不会在发放证书前先发放一个这个,就为了在发放真证书前混几天。
Thus, if the CA is to create a PreCertificate to send to the CT log, it might as well issue the real certificate and send it to the log. The time difference should be in the milliseconds for most CAs.
所以,如果CA想部署证书透明度系统,直接签发真证书就是——就差个几毫秒时间。
If the CA wants to wait before distributing the real certificate, to make sure it's in the logs before put into production, it can surely do so as well.
如果CA想等等再发真实证书,确保日志进入系统,也可以。
The PreCertificate imho suffers from several complicating factors for implementers, both on the CA and the CT log side. The TBSCertificate must have a poison extension inserted, and removed, effectively re-encoding the ASN.1 TBSCertificate several times, all these are points of failure.
所以前证书在CA和日志方面都受影响。TBSCertificate必须包括一个投毒前缀,Blahblah。
The reason for PreCertificates are not clearly explained. Why would you want to use PreCertificates?
那为什么要用前证书啊?
Fine combing through the spec gives me some ideas on why, for example to be able to embed the Certificate extension from PreCertificate CT logs in the final certificate (section 3.3). But the the TBSCertificate of the PreCertificate is then no longer the real TBSCertificate? In that case, why is the PreCertificate the TBSCertificate at all, and not just a new data structure with the data the CT log wants?
例如,将前证书的日志加入最终证书。但是还是很乱啊。
The PreCertificate complicates the CT spec by orders of magnitude, which is not a good thing. There are so many ifs and buts about PreCertificate the RFC is not even itself consitent about what it is.
所以前证书就是胡闹,B事一堆,最终啥都没弄明白,RFC都没想明白这东西是干什么的。
Ok, I know the PreCertificate is is optional, but the best standards, who gets fast, wide and robust deployment, are the simpler ones (KISS). Skipping PreCertificates from the CT spec makes it so much simpler.
恩,前证书是可发可不发的,但是为了简化,就不要他得了。
My suggestion:
- Skip PreCertificates altogether
我的建议:
- 别用前证书了
I see though why people will not accept that just because I say something...so in that case
- Explain the purpose behind PreCertificates well
- Describe what the actual information fro PreCertificate are used
- Be consistent throughout in the RFC