Network Performance Monitor

    ubering

    0.0.7 • Public • Published

    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

    • instal as dependency: "npm install ubering" or clone from https://github.com/tamnil/ubering

    • copy .env.sample to .env or set environment variables:

      .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

    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.

    Install

    npm i ubering

    DownloadsWeekly Downloads

    1

    Version

    0.0.7

    License

    MIT

    Unpacked Size

    13.2 kB

    Total Files

    12

    Last publish

    Collaborators

    • tamnil