Giter Club home page Giter Club logo

byond2ip's Introduction

Byond2IP

A web scraper that can convert byond://BYOND.world.[123456789] into [IP ADDR]:[PORT] format.

About

Byond2IP was created to facilitate requirements for a larger project that will be able to track and graph individual players movements on the Byond hub.

Configuration

While this project is currently only monitoring Space Station 13 servers the byond hub URL can be modified in ./scripts/GetByond.sh.

Converting

To convert a single Byond URL into an IP address you can add it to ./config/worlds.txt in the format:

[Server Name]:[Byond DIGITS]
-->
Test Server:123456789

Alternatively the list can be automatically generated from the byond hub by running ./scripts/generate.sh.

How it works

Byond2IP starts up a minimal Byond application that reads the list of worlds from ./config/worlds.txt and then uses world.Export() to query servers with the ?ping command via world/Topic(). Through this exchange the byond hub decodes the Byond URL and a connection is opened to the actual IP address. This address is then retrieved by referencing the output of netstat. Due to this requirement Byond2IP will only output reliable results on a system with minimal network traffic.

Future Work

Byond2IP should store a persistant list of IP addresses it finds rather than wiping the whole list and starting again each time.

byond2ip's People

Contributors

stuicey avatar

Watchers

James Cloos avatar  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.