9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions
comment 8y ago · link · parent
To find the code that scans WiFi networks, grep the files for getScanResults which is the method name from Android API. You will find a file classes/com/baidu/android/pushservice/util/l.java (and several other files). Someone posted this file here: https://pastebin.com/6cXv2itK
If you look at the method
public static String a(Context paramContext, String paramString)
at line 114 you'll see that it gets WiFi scan results and then does something that looks like composing a POST request to https://cp01-rdqa-dev404.cp01.baidu.com:8443/rest/2.0/zwifi/... (which doesn't resolve currently).I didn't have time to examine the code thoroughly.
By the way, the code in a paper [1] mentions a shared property named "pst":
SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("pst", 0);
If you search Uber sources for "pst", you'll find a file classes/com/baidu/frontia/a/d/b$b.java (here: https://pastebin.com/4zDp8dSz ) that also uses this property: localObject1 = "pst";
...
localObject1 = paramContext.getSharedPreferences((String)localObject1, 0);
You can also search for "push_sync", which was mentioned in the paper, and you'll find that several files contain this string:classes/com/baidu/android/pushservice/c/b.java
classes/com/baidu/android/pushservice/PushLightapp.java
classes/com/baidu/android/pushservice/PushManager.java
classes/com/baidu/android/pushservice/util/i.java
You can also search for other keywords, for example 'http' and you'll find interesting URLs like 'http://127.0.0.1:7777/native'.
Finally, you can search for getSubscriberId which is an Android API method that returns an IMSI and you'll also find several matches:
classes/com/baidu/location/h/b.java
classes/com/baidu/platform/comapi/util/f.java
classes/com/baidu/vi/VDeviceAPI.java
classes/com/baidu/android/pushservice/message/f.java
[1] https://www.virusbulletin.com/virusbulletin/2018/03/vb2016-p...
comment 8y ago · link · parent
[1] https://play.google.com/store/search?q=facebook&c=apps&hl=en
[2] https://play.google.com/store/apps/details?id=com.facebook.k...
comment 8y ago · link · parent
comment 8y ago · link · parent
Some time ago I looked into Uber app and saw inside a Baidu SDK if I remember correctly. It had the class that was collecting WiFi network ids and sending them to some server. Of course, I cannot say that this code was really invoked by the app, but anyway this was very suspicious.
Some regulation is definitely necessary. The market cannot do anything with it and it needs help.
comment 8y ago · link · parent
It would be even better if Google reviewed ROMs before certification. I have a noname chinese phone that sends data about the phone including a phone number to China (but Google is not much better - every time you enable geolocation it displays an annoying popup asking to agree to send GPS data to Google. Well, at least they ask for permission).
comment 8y ago · link · parent
comment 8y ago · link · parent
This should work on any blogger page.
Source: deprecate Google technology https://developers.google.com/webmasters/ajax-crawling/docs/...
This is crazy. They serve light HTML page for robots and a slow loading JS app for humans. And if an exception occurs inside their app humans get a blank page.
comment 8y ago · link · parent
comment 8y ago · link · parent
To log in you have to either confirm your number (receive SMS or a call) or to give a code sent to your previously logged in device. There is no traditional login and password as far as I know.
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
At least Wikipedia says [1]:
> In general terms, in the U.S., whoever can be troubled to key in the data, is deemed to own the right to store and use it, even if the data was collected without permission, except to any extent regulated by laws and rules...
[1] https://en.wikipedia.org/wiki/Information_privacy_law#United...