mirror of
https://github.com/maierfelix/POGOserver.git
synced 2026-08-26 20:44:00 -05:00
Update README.md
This commit is contained in:
32
README.md
32
README.md
@@ -13,3 +13,35 @@ ______ _____ _____ _____
|
||||
<a href="https://discord.gg/M3bdv">
|
||||
<img src="https://img.shields.io/badge/Discord-Join%20Chat%20%E2%86%92-738bd7.svg?style=flat-square" />
|
||||
</a>
|
||||
|
||||
# Getting started
|
||||
|
||||
## Tunneling setup
|
||||
You need to intercept the traffic between the app and original server and forward it to this custom server implementation.
|
||||
I'm using [Fiddler](http://www.telerik.com/fiddler) for this purpose. After installing Fiddler, go to ``Rules->Customize Rules`` and search for the function ``OnBeforeRequest``.
|
||||
Append the following code into the functions body:
|
||||
````swift
|
||||
if (oSession.HostnameIs("pgorelease.nianticlabs.com")) {
|
||||
if (oSession.HTTPMethodIs("CONNECT")) {
|
||||
oSession["x-replywithtunnel"] = "127.0.0.1:3000";
|
||||
return;
|
||||
}
|
||||
oSession.fullUrl = "http://127.0.0.1:3000" + oSession.PathAndQuery;
|
||||
}
|
||||
````
|
||||
Now go to `Tools->Telerik Fiddler Options->HTTPS` and enable ``Decrypt HTTPS traffic``.
|
||||
I'm using [Nox App Player](http://en.bignox.com/pokemongo/) for android emulation, so open ``Settings->Wi-Fi->WiredSSID->Modify network`` and setup a proxy with the following settings:
|
||||
````swift
|
||||
Hostname: 192.168.178.x // your local ip4
|
||||
Port: 8888 // fiddler default port
|
||||
````
|
||||
|
||||
By ``0.31.0`` [certificate pinning](https://eaton-works.com/2016/07/31/reverse-engineering-and-removing-pokemon-gos-certificate-pinning/) was added. To bypass it, you need to install [this great app](https://github.com/rastapasta/pokemon-go-xposed). Just follow the readme guide to install it.
|
||||
|
||||
## Server setup
|
||||
|
||||
You need a running mongodb service, enter your credentials into ``./cfg.js``.
|
||||
|
||||
If everything went fine, it should look like:
|
||||
|
||||

|
||||
Reference in New Issue
Block a user