Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.
/ pubg-lobby-proxy Public archive

Eazy way to view and modify PLAYERUNKNOWN'S BATTLEGROUNDS lobby traffic

Notifications You must be signed in to change notification settings

aaa4xu/pubg-lobby-proxy

Repository files navigation

PUBG lobby proxy

English

Eazy way to view and modify PLAYERUNKNOWN'S BATTLEGROUNDS lobby traffic

Install

  1. Clone or download this repository
  2. Execute npm install
  3. Append to file C:\Windows\System32\drivers\etc\hosts new lines
127.0.0.1 prod-live-front.playbattlegrounds.com
127.0.0.1 pctest-live-front.playbattlegrounds.com
  1. Execute npm start for production server or npm run start:test for test server

If you already have some webserver on port 443, make redirect from prod-live-front.playbattlegrounds.com to 127.0.0.1:{someport} and set this port inside index.js

PUBG Lobby browser debug mode

  1. Start PUBG lobby proxy
  2. Login to game
  3. Go to http://127.0.0.1/debug.html

Use Google Chrome for better experience

Access to API via HTTP

  1. Start PUBG lobby proxy
  2. Login to game
  3. Send requests to http://127.0.0.1/api/:interface/:method/ (For example: http://127.0.0.1/api/UserProxyApi/GetOpenGameInfo/)(Use POST with json body for requests with arguments, flags, etc)

Русский

Простой способ просмотра и редактирования трафика лобби игры PLAYERUNKNOWN'S BATTLEGROUNDS

Установка

  1. Склонируй или скачай код из этого репозитория
  2. Выполни npm install
  3. Добавь в файл C:\Windows\System32\drivers\etc\hosts новые строки
127.0.0.1 prod-live-front.playbattlegrounds.com
127.0.0.1 pctest-live-front.playbattlegrounds.com
  1. Выполни npm start для публичного сервера или npm run start:test для тестового сервера

Если у тебя уже висит вебсервер на порту 443, сделай в нем редирект с prod-live-front.playbattlegrounds.com на 127.0.0.1:{порт} и измени порт в файле index.js

Отладка лобби PUBG в браузере

  1. Запусти прокси
  2. Авторизируйся в игре
  3. Перейди в браузере http://127.0.0.1/debug.html

Лучше всего работает в Google Chrome

Доступ к API через HTTP

  1. Запусти прокси
  2. Авторизируйся в игре
  3. Отправляй запросы на url вида http://127.0.0.1/api/:interface/:method/ (Например, http://127.0.0.1/api/UserProxyApi/GetOpenGameInfo/)(Используй POST с json телом для запросов с аргументами, флагами и т.д.)

About

Eazy way to view and modify PLAYERUNKNOWN'S BATTLEGROUNDS lobby traffic

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published