Giter Site home page Giter Site logo

pyline's Introduction

pyLine

NHN Line protocol with Python and thrift [warning: dirty]

##Tech/Protocol

  • HTTPS Server
  • Apache Thrift (TCompactProtocol)
  • RSA for login

[Server] - [Thrift] - (HTTPS) - [Client]

##How to discover

  • Modified Host for Line domain to a lazy server
  • Lazy Server running HTTPS (nginx)
  • dirty PHP Code to redirect request to mitmproxy
  • MITMProxy with Reversed proxy to original domain (pip install mitmproxy)
  • Line application

##Progress

  • Most thrift function defined (Login, Profile, Room List, Send Message, Long Polling)
  • Basic login script (.py)
  • Login packet encrypted
  • Just discoverd how protocol designed

##TODO

  • Everything
  • More thrift function definition (Sticker, Make group chat, etc)

##Thanks to

  • Casey Hall

pyline's People

Contributors

bandoche avatar

Stargazers

 avatar  avatar Ivan avatar Ferdi- avatar  avatar Steven avatar xiaohuo avatar Guijin Ding avatar Dedy Ibnu avatar  avatar jojo avatar  avatar  avatar studenttwok avatar  avatar latyas avatar Shani Pribadi avatar Manuel Fernando Muiños avatar 백운영 avatar Chanwoong Kim avatar Starck Lin avatar JiMyung Lee avatar GyuYong Jung avatar Minku Lee avatar Minyoung Jeong avatar Heungsub Lee avatar Hyunjun Kim avatar Taeho Kim avatar Dongsung "Donny" Kim avatar Taehoon Kim avatar  avatar Wil Tan avatar Eric Lu avatar Shian avatar  avatar  avatar Shane Lin avatar Nessa avatar  avatar  avatar Bob Wei avatar walkure avatar  avatar maddie lim ✨ avatar

Watchers

maddie lim ✨ avatar  avatar Santiago26 avatar cywang avatar Swiss avatar clara avatar

pyline's Issues

Can you provide simple HOW TO doc...

This program is very cool

I already used thrift -r --gen py ......
But I dont know how to make it work ....
Can you provides little explanation, thanks !

How to "Modified Host for Line domain"?

In the section of "How to discover" in the README file, you said first "Modified Host for Line domain to a lazy server". But how did you do that? Does that mean to change the host in the Python Client? I see the code below in the Python Client file. Could you please help to make it more clear? Thank you so much for you cool project and help.

    # Make socket
    # make Reverse proxy for NHN Line (gd2.line.naver.jp) if you want to see the traffic. otherwise, just connect to https://gd2.line.naver.jp

    transport = THttpClient.THttpClient('http://localhost:8080/api/v4/TalkService.do')
    # transport = THttpClient.THttpClient('http://localhost:30303/')

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.