Created
December 8, 2016 03:26
-
-
Save zhuowei/223ea8afb97067082de50044a5964b01 to your computer and use it in GitHub Desktop.
Google Trusted Contacts API reversing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"configurations": [{ | |
"name": "main", | |
"call_config": { | |
"use_tls": "true", | |
"oauth_config": { | |
"access_token_credentials": { | |
"access_token_path": "emer/access.token" | |
} | |
} | |
} | |
}] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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