Git Product home page Git Product logo

douyin_signature's Introduction

douyin_signature

贝拉,我真的好喜欢你啊!为了你,我要逆抖音 VM!

本项目为抖音 Web https://www.iesdouyin.com/web/api 系列 API 接口,_signature 参数计算代码。

抖音 Web 端使用 JavaScript 实现了一个基于栈的虚拟机,虚拟机源码见 vm.js,来实现对 _signature 参数的计算。

经过对虚拟机 opcode 的分析,并打印出程序的运行流程进行分析。纯靠着眼拔把整个流程给理清了。其中流程有尝试创建 canvas 元素来确保是在浏览器中运行,_signature 参数基于用户输入的字符串、当前时间戳、浏览器 User-Agent 生成。

逆向整理后的源码在 douyin_signature.js,Web 手第一次做逆向,也不会编译原理,只能在 opcode 中打印 log 硬怼。😅

douyin_signature's People

Contributors

wuhan005 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.