Welcome star, issue and pull requests.
- Generate random
ECC
key-pair to create a new session. - Get the file’s download url without
invalid X-Device-Id
.
- Set the
deviceId
in line 7. - Set the
userId
in line 8. - Set the
authorization
in line 34. - (Optional) Set the private key in line 11,12. (Only if you want to use custom key-pair.)
-
deviceId
could be found inDevTools
->Application
->Local Storage
->cna
. -
userId
could be found inDevTools
->Application
->Local Storage
->token
->user_id
. -
authorization
could be found inNetwork
, choose any request,Request Headers
->authorization
. -
private key
could be found inDevTools
->IndexedDB
->ALIYUN_DRIVE_CLIENT_SIGNATURE
->signature
->privateKey
.private key
will be generated automatically, so there’s no need to specificate.
There’re some problems need to be solved.
- How to generate a
deviceId
? - How to generate
authorization
from cookie or local storage? - How often is
nonce
updated?
Anti-996-License.