Closed GoogleCodeExporter closed 8 years ago
Hi,
yes show_Permissions will show to you the links between the permission and the
associated methods.
In your sample, you perform a call:
public void testPhoneCall()
{
android.util.Log.v("APKILTest", "[*] testPhoneCall()");
v0 = new android.content.Intent("android.intent.action.CALL");
v0.setData(android.net.Uri.parse("tel:10010"));
this.startActivity(v0);
but the action is a string which can be easily modify in the fly by a classical
malware.
If you would like that in the show_Permissions, we need a deeper analysis.
Original comment by anthony....@gmail.com
on 9 Aug 2012 at 9:47
You didn't use the manifest file?
How did you do permission analysis in the current version?
Is it based on http://www.android-permissions.org/permissionmap.html?
Sorry I didn't read your code in detail.
Kun
Original comment by kel...@gmail.com
on 9 Aug 2012 at 10:06
Of course, get the permission from the manifest file with:
a = APK("yourfile.apk")
a.get_permissions()
but the method you talked used the android-permissions.org filemap to get the
associated methods/perms
Original comment by anthony....@gmail.com
on 9 Aug 2012 at 11:56
Original issue reported on code.google.com by
kel...@gmail.com
on 9 Aug 2012 at 9:42Attachments: