Skip to content

will3942/uber-hack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uber-hack

A Ruby Frontend to the private Uber API

We proxied the traffic coming from the Über app so we could see the private endpoints they were using, this allowed us to reverse the API and develop our own public frontend to this private API. We use this frontend to create a web app which has a realtime map showing the location of Uber cabs in 6 cities (New York, Atlanta, San Francisco, Los Angeles, London and their secret location Shanghai)

How to use

You can either use our website to view them in realtime, or if you want to use your own tokens and create your own app with the Uber API then you need to find out your token and deviceID.

To find your token and device ID:

  1. Use a proxy tool to proxy the traffic from your iPhone/Android device (I recommend Charles (http:https://www.charlesproxy.com).
  2. Set your device to use this proxy, open the Uber app and look for a cab.
  3. In Charles you should see some endpoints appear for IP addresses, look in them until you find one requesting "default" (/), look at the request data and you will find your token and deviceID.
  4. Add these as the environment variables (uberdevid and ubertoken).

About

A Ruby Frontend to the private Uber API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages