Andrew Gutekanst 6a23130772 Update parsers
2019-12-27 04:41:05 +09:00
2019-12-27 04:04:03 +09:00
2019-12-27 04:41:05 +09:00
2019-12-27 02:45:00 +09:00
2019-12-27 02:45:00 +09:00

Erupe

WARNING

This project is in it's infancy and currently doesn't do anything worth noting. Additionally, it has no documentation, no support, and cannot be used without binary resources that are not in the repo.

General info

Based on the TW version. Requires a local mirror of the original launcher site to be placed in ./www/g6_launcher until I can RE the launcher and figure out which JS callbacks it requires.

Installation

Clone the repo Install PostgreSQL, launch psql shell, CREATE DATABASE erupe;.

Setup db with golang-migrate: go get -tags 'postgres' -u github.com/golang-migrate/migrate/cmd/migrate set POSTGRESQL_URL=postgres://postgres:password@localhost:5432/erupe?sslmode=disable migrate -database %POSTGRESQL_URL% -path migrations up

Open psql shell and manually insert an account into the users table.

Run test.py with python 3 to generate an entrance server response binary because the code isn't ported to Go yet.

Place a copy of the original TW launcher html/js/css in ./www/g6_launcher/, and a copy of the serverlist at ./www/server/serverlist.xml.

Manually extract the binary response from a pcap, strip the header, and decrypt the ~50 packets that are used in ./channelserver/session.go, and place them in ./bin_resp/{OPCODE}_resp.bin.

Languages
Go 92.8%
PLpgSQL 7.2%