Skip to content

Instantly share code, notes, and snippets.

@zhuowei
Created December 8, 2016 03:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zhuowei/223ea8afb97067082de50044a5964b01 to your computer and use it in GitHub Desktop.
Save zhuowei/223ea8afb97067082de50044a5964b01 to your computer and use it in GitHub Desktop.
Google Trusted Contacts API reversing
echo {}|java -jar polyglot.jar --proto_discovery_root=emer --command=call --endpoint=personalsafety-pa.googleapis.com:443 --full_method=google.internal.geo.personalsafety.v1.PersonalSafetyService/GetUserIncident --config_set_path=emer/config.json
{
"configurations": [{
"name": "main",
"call_config": {
"use_tls": "true",
"oauth_config": {
"access_token_credentials": {
"access_token_path": "emer/access.token"
}
}
}
}]
}
package google.internal.geo.personalsafety.v1;
service PersonalSafetyService {
rpc GetUserIncident (GetUserIncidentRequest) returns (GetUserIncidentReply) {}
}
message GetUserIncidentRequest {
}
message GetUserIncidentReply {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment