Git Product home page Git Product logo

xiudong-go's Introduction

Table of Contents generated with DocToc

xiudong-go

Web 版秀动请求样例学习

github repo: https://github.com/ronething/xiudong-go

usage

  • 下载对应 releases 即可

  • 如果你需要手动编译 可以考虑执行以下命令

git clone https://github.com/ronething/xiudong-go.git && cd xiudong-go/cli
make build

具体使用可参考 ./cli./docs

notice: 此程序更多是学习用途,可以简单分析下自己写 order 命令,祝大家好运~

$ ./showstart         
showstart cli sample

Usage:
  showstart [command]

Available Commands:
  address     查询个人地址
  help        Help about any command
  idCard      查询已绑定观演人 id
  tickets     列出指定场次 ticketId 列表
  version     check version

Flags:
      --config string   config file (default is $HOME/.showstart.yaml)
  -h, --help            help for showstart

Use "showstart [command] --help" for more information about a command.

免责声明

acknowledgement

  • wap.showstart.com

xiudong-go's People

Contributors

dependabot[bot] avatar ronething avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

xiudong-go's Issues

秀动防护机制

请问一下请求order接口的时候,如果过快会提示请勿重复提交数据,想问一下作者对秀动那边的防护机制有了解吗?

软件打开

软件刚打开就闪退
请问一下使用教程

获取ticketId失败

问题描述

已经根据登录信息修改过cli-example.yaml文件,但是运行showstart.exe tickets -a xxx --config cli-sample.yaml命令时会出现如下报错

2023/07/17 11:43:02 globalConfig is &{Sign:51f8ef2xxxxxxxx9b49b StFlpv:klGv0xxxxxI9lirT0xz Token:tduez1nnxxxxxxuccvf06 UserId:0 AesKey:}
2023/07/17 11:43:02 {"@timestamp":"2023-07-17T11:43:02.348+08:00","level":"error","content":"api.go:158 获取票种列表状态发生错误: USER_NOT_LOGIN_DEFAULT"}
2023/07/17 11:43:02 获取观演人列表失败: showstart 状态码错误: USER_NOT_LOGIN_DEFAULT

其中st_flpv就是采用的外层的而非Userinfo中的内容。

接口加解密相关问题

问题描述

看了大佬的代码,感觉基本的加解密好像都破出来了,今天晚上我也简单的看了下秀动的接口请求,好奇为什么没有把 https://wap.showstart.com/v3/nj/order/order 这个接口给搞出来,似乎这样就不需要隔壁的 chrome 模拟点击了?

个人自己尝试分析了一波这个请求的加密算法,和别的请求不太一样的是 headers 多了 Crpsign Crtraceid,以及 order 接口的payload 似乎都加密了,技术有限,对加解密不是很懂哈哈哈哈,有办法的话可以一起整

CleanShot 2023-07-18 at 23 45 30@2x

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.