Giter Site home page Giter Site logo

taobao-sign's Introduction

taobao-sign

淘宝系部分api sign参数的破解

淘宝系的部分api会加sign参数校验有效性

加密方法参见sign.js

用于加密的参数一般形式如下

var token = getToken(document.cookie);

var signParams = token + "&" + time + "&" + appKey + "&" + JSON.stringify(data);

var sign = makeSign(signParams);

其中document.cookie就是淘宝系(*.taobao.com)网站的cookie

其中appKey 可在相关api中查到,一般是对应app的key,是个固定值

其中data就是此http(s)请求的相关核心参数,具体依不同的api而不同

getToken 和 makeSign 详见本项目sign.js

avatar

taobao-sign's People

Contributors

jiaoyanfei 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.