«

»

10月 18

备份:如何找逼站弹幕发送者

简单说:

弹幕发送者ID是他mid的CRC32.

原文如下。

 

https://github.com/fuckbilibili/Danmaku-De-annoymous/blob/master/README.md

Danmaku-De-annoymous

A simple webpage to dig out some Keyboard Man

Fancy, but how does it works?

Let me try to put this in human language.

Every article of Bilibili would be assigned an unique aid: this is the so-called “av number”.

There can be 1 or more pages under one aid. For every content(most of the times are videos) in this page, a unique content ID, cid is assigned.

By calling the view API, we can retrieve the cid with aid: should there exists more pages, a page should be attached to specific one particular content.

The hash is generated as: (all the example code comes from Biligrab)

The complete API call looks like:

The sample response is:

The view API is also available with JSONP output.

The danmaku file is available at http://comment.bilibili.com/{cid}.xml. In this case I do not count historical comments.

The format of a particular line of danmaku looks like:

in human language:

It is possible to run a brute-force decrypt of CRC32; or, the preferred way is a small rainbow table with cache, which would significantly reduce the server load.

The user ID is called mid.

The user space is available at http://space.bilibili.com/{mid}.

Jackpot.

2 comments

  1. yu

    代码部分全跪了….

    1. Beining

      在github看看就是,这个是复制粘贴。

发表评论

电子邮件地址不会被公开。 必填项已用*标注

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">