ENDPOINTS.md (3400B)
1 # Endpoints 2 3 Comment: 4 - The RequestBody is displayed as raw data. So propably not readable 5 - As I have no idea if the Google API key is per user or global It isn't in here. 6 - Mitmproxy is currently not able to do all HTTP2.0 stuff thats why these are only the Requests. 7 8 ## Send 9 ### Text Messages 10 Usage: sending Text Messages 11 12 URL: PUT https://instantmessaging-pa.googleapis.com/google.internal.communications.instantmessaging.v1.IM/SendMessage HTTP/2.0 13 14 RequestHeaders: 15 ``` 16 :authority: instantmessaging-pa.googleapis.com 17 user-agent: FB/1/20018674 grpc-java-cronet/0.0 18 content-type: application/grpc 19 te: trailers 20 x-client-data: COzijQk= 21 x-goog-api-key: GOOGLEAPIKEY_WOULD_BE_HERE 22 grpc-accept-encoding: gzip 23 grpc-census-bin: 24 grpc-timeout: 599999m 25 ``` 26 27 RequestBody: 28 ``` 29 \x00\x00\x00\x00\x9d 30 \x15\x08\x01\x12 31 HERE_WOULD_BE_MY_PHONE_NUMBER\x1a\x02FB\x125 32 $4bd30ffb-3155-46bd-87cc-f2c447431efa\x10\x02(\x02b?\xa2\x06\x06\x08?J\x02\x08\x01\x1aM2.\x00V\xaa\xdbVz#\xa5}Q\xc9\xa4\xd9'.%\xd6.UI\xfcJ\xa9(\xfd\xe5\xe8-?\xfb=\xd6\xfe\xc5\xcb<\x0cN\xba= 33 p\xe7a\x98\x9c\x1e:?\x18\xf2\xeb\xc5?8\x04H\x01J\x10xW\x1d\xe5\x9b\xe9I\x81\x8cd\x93\x128\xd7-G 34 ``` 35 36 ### GetBotList 37 Usage: Unknown 38 39 URL: PUT https://instantmessaging-pa.googleapis.com/google.internal.communications.instantmessaging.v1.IM/GetBotList HTTP/2.0 40 41 RequestHeaders: 42 ``` 43 :authority: instantmessaging-pa.googleapis.com 44 user-agent: FB/1/20018674 grpc-java-cronet/0.0 45 content-type: application/grpc 46 te: trailers 47 x-client-data: COzijQk= 48 x-goog-api-key: GOOGLEAPIKEY_WOULD_BE_HERE 49 grpc-accept-encoding: gzip 50 grpc-census-bin: 51 grpc-timeout: 599999m 52 ``` 53 54 RequestBody: 55 ``` 56 \x00\x00\x00\x00\xe6 57 M2.\x00V\xaa\xdbVz#\xa5}Q\xc9\xa4\xd9'.%\xd6.UI\xfcJ\xa9(\xfd\xe5\xe8-?\xfb=\xd6\xfe\xc5\xcb<\x0cN\xba=p\xe7a\x98\x9c\x1e:?\x18\xf2\xeb\xc5?8\x04H\x01J\x10}\x05\xb9bLDB\x1d\xbc\x92\x8dvl\xcf.J\x1a\x94\x01 58 \x8b\x01ya29.CmLHA-RPH5vBrETnpbW1X7r3_Phq9ckhuvS4gzHvXtdlkDim8aoifYn7vrumNXZZlcHfLk_pe4ziBbpEpDGnWL2EJSp-or5mvueE-ZDzQ-_ARK95NUF49LY4uqlidhj7N6gR_w\x12\x04prod 59 ``` 60 61 ## Remove 62 ### Remove Text 63 64 Usage: Removing Text Messages 65 66 URL: PUT https://instantmessaging-pa.googleapis.com/google.internal.communications.instantmessaging.v1.IM/DeleteUserMessages HTTP/2.0 67 68 RequestHeaders: 69 ``` 70 :authority: instantmessaging-pa.googleapis.com 71 user-agent: FB/1/20018674 grpc-java-cronet/0.0 72 content-type: application/grpc 73 te: trailers 74 x-client-data: COzijQk= 75 x-goog-api-key: GOOGLEAPIKEY_WOULD_BE_HERE 76 grpc-accept-encoding: gzip 77 grpc-census-bin: 78 grpc-timeout: 599999m 79 ``` 80 81 RequestBody: 82 ``` 83 \x00\x00\x00\x00w 84 M2.\x00V\xaa\xdbVz#\xa5}Q\xc9\xa4\xd9'.%\xd6.UI\xfcJ\xa9(\xfd\xe5\xe8-?\xfb=\xd6\xfe\xc5\xcb<\x0cN\xba=p\xe7a\x98\x9c\x1e:?\x18\xf2\xeb\xc5?8\x04H\x01J\x10 \xbe\x97VN2H\xae\x95:\xf9\xea\xc4\x18\xa3b\x12& 85 $c4025afe-b725-48e3-a12a-70626e81abc6 86 ``` 87 88 # Stickers 89 Usage: Propably get Stickers 90 91 URL: GET https://www.gstatic.com/allo/stickers/current_version HTTP/2.0 92 93 RequestHeaders: 94 ``` 95 :authority: www.gstatic.com 96 user-agent: com.google.android.apps.fireball/20018674 (Linux; U; Android 6.0.1; de_DE; A0001; Build/MOB31K; Cronet/56.0.2913.4) 97 accept-encoding: gzip, deflate 98 if-modified-since: Fri, 09 Dec 2016 13:45:00 GMT 99 ```