Eazy way to view and modify PLAYERUNKNOWN'S BATTLEGROUNDS lobby traffic
- Clone or download this repository
- Execute
npm install - Append to file
C:\Windows\System32\drivers\etc\hostsnew lines
127.0.0.1 prod-live-front.playbattlegrounds.com
127.0.0.1 pctest-live-front.playbattlegrounds.com
- Execute
npm startfor production server ornpm run start:testfor 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
- Start PUBG lobby proxy
- Login to game
- Go to
http://127.0.0.1/debug.html
Use Google Chrome for better experience
- Start PUBG lobby proxy
- Login to game
- Send requests to
http://127.0.0.1/api/:interface/:method/(For example:http://127.0.0.1/api/UserProxyApi/GetOpenGameInfo/)(UsePOSTwith json body for requests with arguments, flags, etc)
Простой способ просмотра и редактирования трафика лобби игры PLAYERUNKNOWN'S BATTLEGROUNDS
- Склонируй или скачай код из этого репозитория
- Выполни
npm install - Добавь в файл
C:\Windows\System32\drivers\etc\hostsновые строки
127.0.0.1 prod-live-front.playbattlegrounds.com
127.0.0.1 pctest-live-front.playbattlegrounds.com
- Выполни
npm startдля публичного сервера илиnpm run start:testдля тестового сервера
Если у тебя уже висит вебсервер на порту 443, сделай в нем редирект с prod-live-front.playbattlegrounds.com на 127.0.0.1:{порт} и измени порт в файле index.js
- Запусти прокси
- Авторизируйся в игре
- Перейди в браузере
http://127.0.0.1/debug.html
Лучше всего работает в Google Chrome
- Запусти прокси
- Авторизируйся в игре
- Отправляй запросы на url вида
http://127.0.0.1/api/:interface/:method/(Например,http://127.0.0.1/api/UserProxyApi/GetOpenGameInfo/)(ИспользуйPOSTс json телом для запросов с аргументами, флагами и т.д.)