GithubHelp home page GithubHelp logo

fidget77 / bncs.py Goto Github PK

View Code? Open in Web Editor NEW

This project forked from davnit/bncs.py

1.0 0.0 0.0 82 KB

Python library for classic Battle.net client development.

License: MIT License

Python 100.00%

bncs.py's Introduction

bncs.py

Python library for classic Battle.net client development.

For more information on available functions and classes, refer to the wiki.

Packages

  • bncs - contains functions related to the Battle.net Chat Service
    • DataBuffer, DataReader - binary packet buffer for writing and reading respectively
    • KeyDecoder - decodes CD keys and returns hashing values
    • NLS_Client, NLS_Server - client and server implementations of the 'new login system' (NLS)
    • check_signature(sig, ip) - server signature verification
    • xsha(), hash_password, double_hash_password - Broken SHA-1 (xsha) hashing
    • BncsClient - a lightweight BNCS client for connecting to Battle.net
  • bnls - contains functions related to the Battle.net Logon Service (3rd party)
    • BnlsClient - a client for connecting to and interacting with a BNLS server
  • bnftp - contains clients for the Battle.net FTP service
    • BnftpClient - downloads files available through V1 of the BNFTP protocol

Both packages also contain constants used with each system. (SID_AUTH_INFO, BNLS_AUTHORIZE, EID_SHOWUSER, etc).

Scripts

  • bncs_client.py - a command-line implementation of bncs.BncsClient providing a very basic chat experience
    • To run: python bncs_client.py <server> <product> <key1>,[key2] <account> <password>
      • eg: python bncs_client.py useast.battle.net WAR3 xxx myuser mypass
  • bnftp_client.py - a command-line implementation of bnftp.BnftpClient allowing retrieval of files from the BNFTP service.
    • To run: python bnftp_client.py <file> [--server useast.battle.net] [--product D2DV]
      • eg: python bnftp_client.py CheckRevision.mpq --server useast.battle.net --product D2DV
    • More options are available, use python bnftp_client.py -h for full help.

bncs.py's People

Contributors

davnit avatar

Stargazers

 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.