{"id":15509841,"url":"https://github.com/smortex/harbour-teretahiti","last_synced_at":"2026-02-26T10:36:27.020Z","repository":{"id":145501900,"uuid":"314430889","full_name":"smortex/harbour-teretahiti","owner":"smortex","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-08T22:07:28.000Z","size":115,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-31T11:31:56.621Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"QML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smortex.png","metadata":{"files":{"readme":"docs/README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-11-20T02:59:02.000Z","updated_at":"2024-11-08T22:07:32.000Z","dependencies_parsed_at":"2024-11-08T14:42:10.656Z","dependency_job_id":"902b629b-fce2-41ea-9ddc-ee183bb813e3","html_url":"https://github.com/smortex/harbour-teretahiti","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.25,"last_synced_commit":"47487c4346fa802a23f3267be94fc48c0b8abcae"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/smortex/harbour-teretahiti","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Fharbour-teretahiti","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Fharbour-teretahiti/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Fharbour-teretahiti/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Fharbour-teretahiti/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smortex","download_url":"https://codeload.github.com/smortex/harbour-teretahiti/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Fharbour-teretahiti/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29856738,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T08:51:08.701Z","status":"ssl_error","status_checked_at":"2026-02-26T08:50:19.607Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T09:44:21.232Z","updated_at":"2026-02-26T10:36:26.988Z","avatar_url":"https://github.com/smortex.png","language":"QML","funding_links":[],"categories":[],"sub_categories":[],"readme":"After [downloading the .apk\nfile](https://apkpure.com/region-free-apk-download?p=com.spec.mobiv.teretahiti),\nit can be extracted (it's a .zip file) and interesting data can be found in the\n`assets/app.bundle` file:\n\n```\nsiteBase:'http://locbusrtct.dataccessor.com:20082'\n\nget(siteBase+'/api/bus/logs-course/'+t.id)\nget(siteBase+'/api/disruption/active')\nget(siteBase+'/api/places/all')\nget(siteBase+'/api/routes/0')\n\npost(siteBase+'/api/gtfs/trip',{date:t,time:this.state.timeTrip,from:this.state.fromLieuId,to:this.state.toLieuId})\npost(siteBase+'/api/itinerary/running',{routeId:this.state.route.id,direction:this.state.direction})\npost(siteBase+'/api/shape/get',{itineraryIds:[t],fullName:!0})\npost(siteBase+'/api/shape/get',{itineraryIds:[this.state.itineraryId],fullName:!0})\npost(siteBase+'/api/stop-time/next-line-live',{routeId:this.props.route.id,routeDirection:this.props.selectedRoute.direction})\npost(siteBase+'/api/stop-time/next-line-live',{routeId:this.state.route.id,routeDirection:this.state.direction}\npost(siteBase+'/api/stop-time/next-stop-live',{lieuId:t.id})\npost(siteBase+'/api/stop-time/next-stop-live',{lieuId:t})\n```\n\nWe can then use `curl(1)` to get data from these API endpoints, .e.g:\n\n```\ncurl -d '{\"routeId\":\"1034\",\"routeDirection\":0}' http://locbusrtct.dataccessor.com:20082/api/stop-time/next-line-live\n```\n\nThe `scan/scan.sh` script automates fetching some URL's result for reverse engeenering the data provided by this API.\n\nThe `teretahiti.pcap` file contains a dump of all traffic on port 20082 when\nrunning the application in an [android\nemulator](https://developer.android.com/studio/run/emulator).  The application\nwas started at 15:15 GMT-10, I browsed into _lines_, _11 PPT \u003e PAMATAI_,\nclicked on _Fare tony_.  Then at 15:17 _stops_, _Faa'a école Pamatai_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmortex%2Fharbour-teretahiti","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmortex%2Fharbour-teretahiti","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmortex%2Fharbour-teretahiti/lists"}