prajitdas / androidanalytics Goto Github PK
View Code? Open in Web Editor NEWSystem call analysis and Google Play Store data and app permission analysis.
Home Page: https://mithril.online/
License: MIT License
System call analysis and Google Play Store data and app permission analysis.
Home Page: https://mithril.online/
License: MIT License
Directly extract the permissions from the Google Play Store instead of using the apk decompilation technique.
It would seem that the data returned by the query
SELECT * FROM appurls WHERE parsed = 0
may contain a url which does not have a corresponding app in the Google Play Store. This is happening, perhaps because the developer pulled the app or it was removed by Google for some reason. In this case we should remove the url from our own database and continue getting data for other apps. The exception Traceback for the call can be seen below. Fix this!
Error is in code for both getting data and urls in the crawlURLs.py
Traceback (most recent call last):
File "./crawlURLs.py", line 311, in
sys.exit(main(sys.argv))
File "./crawlURLs.py", line 306, in main
doTask(sys.argv[1])
File "./crawlURLs.py", line 294, in doTask
getURLsForParsingAppData(dbHandle) # Extract app data
File "./crawlURLs.py", line 283, in getURLsForParsingAppData
extractAppDataAndStore(dbHandle,row[1])
File "./crawlURLs.py", line 171, in extractAppDataAndStore
page = urllib2.urlopen(req).read()
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found
DB config is hardcoded in downloadAPKs.py and crawlURLs.py. Use config files instead.
The permission extracted column should be updated when the permissions for an app has been extracted. This is not necessarily a bug if we want to update permissions in the future but in order to extract data from the sites we are getting blocked so we need to maybe mark extracted apps so that we can reduce repetitions.
Add a column to the developer table called developer country. Populate that using a separate script. Use the developer address information whenever possible or get the information from DBpedia or other sources.
In the JSON for com.iqmobile.iqburpingphone.json we found a permission denoted as: "'android.permission.INTERNET'". So, we have to sanitize the data now!!!
A wrapper code for the individual APIs do not exist right now. Such a wrapper would make using this API a lot easier. There are plans to do that eventually. At the moment the individual modules can be used to accomplish the necessary tasks.
Change developer country column to developer location. The column doesn't represent the developer country but represents the address if it's there on the Google Play Store website.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.