0.0.7 • Published 4 years ago

ubering v0.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Ubering ( Uber Hack ) - bowser and mobile api reverse engineered

Uber's browser API endpoints HACK - reverse engineered Uber API endpoints and usefull commands

  • Uses browser credentials (No needs to register in the uber's developer portal!!!)

Tamnil Saito Junior tamnil@gmail.com

WARNING!!!: Misuse can leak your personal data and some bad behaviors in UBER's app

Novices please keep out!!!

This is a reverse engineered endpoint's hack and it's not based on oficial api!!! Can be deprecated or blocked by UBER without advice

Description

based on browser's API endpoint behavior to get info about uber locations and taxes.

Available Functions:

  • getFareEstimates(origin, destination)
  • locationAutocomplete(location)
  • getLocationDetails(locationId,provider="google_maps")
  • getStatus( , uuid,latitude=0,longitude=0)
  • getAppData()
  • getNavigation(pickupLocation,destination)

secondary functions

  • getUUID()

Install

.env file:

  UBER_COOKIE_SID=
  UBER_COOKIE_CSID=

*nix enviroment vars:

  export UBER_COOKIE_SID=
  export UBER_COOKIE_CSID=


  ```

windows : https://superuser.com/questions/949560/how-do-i-set-system-environment-variables-in-windows-10


###    How to get these values ( CSID, SID ):
  log into uber (https://www.uber.com/) and open devTools
  you can get the sid and csid in application->cookie tab  or typing "document.cookie" in console tab


### Tests
- clone repository from github https://github.com/tamnil/ubering
- install and set up "sid" and "csid" enviroment variables
- run npm install
- run "jest" or "npm test"


## Notes:

You may have some CORS issues.

### some sketeches for dev propouses
https://riders.uber.com/api/getTripsForClient
--data-binary '{"limit":10,"offset":"0","range":{"fromTime":null,"toTime":null},"tenancy":"uber/production"}'




## Copyright

### Again! this can lead to data leakages and other unwanted behaviors

#### THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago