Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #109086

Re: Strange Python related errors for androwarn.py. Please help!

From Sean Son <linuxmailinglistsemail@gmail.com>
Newsgroups comp.lang.python
Subject Re: Strange Python related errors for androwarn.py. Please help!
Date 2016-05-24 15:46 -0400
Message-ID <mailman.68.1464119167.20402.python-list@python.org> (permalink)
References <CAOKpjz84NvMxLbVKovDQW=f5NXQLUfJUw3PWggTRH50oPmZMzw@mail.gmail.com> <64b92fce-be57-c7ec-3be9-8a5272035b80@mrabarnett.plus.com> <CAOKpjz8eddsotG_WSU=UFsLQkUDTMF+O5qFjupGJ63QrY9UTPw@mail.gmail.com>

Show all headers | View raw


Thanks for the reply.

Looks like I am screwed on this one lol

On Tue, May 24, 2016 at 3:31 PM, MRAB <python@mrabarnett.plus.com> wrote:

> On 2016-05-24 20:04, Sean Son wrote:
>
>> hello all
>>
>> I am testing out a script called androwarn.py, which I downloaded from:
>>
>> https://github.com/maaaaz/androwarn
>>
>> using the instructions found on:
>>
>> https://github.com/maaaaz/androwarn/wiki/Installation
>>
>> When I ran the following commands to test the APK for AirBNB:
>>
>>
>>  python androwarn.py -i SampleApplication/bin/"Airbnb 5.19.0.apk" -v 3 -r
>> html -n
>>
>>
>> I received the following errors:
>>
>> Traceback (most recent call last):
>>   File "androwarn.py", line 116, in <module>
>>     main(options, arguments)
>>   File "androwarn.py", line 99, in main
>>     data = perform_analysis(APK_FILE, a, d, x, no_connection)
>>   File "/home/dost/androwarn/androwarn/analysis/analysis.py", line 115, in
>> perform_analysis
>>     ( 'device_settings_harvesting',
>> gather_device_settings_harvesting(x) ),
>>   File
>>
>> "/home/dost/androwarn/androwarn/search/malicious_behaviours/device_settings.py",
>> line 96, in gather_device_settings_harvesting
>>     result.extend( detect_get_package_info(x) )
>>   File
>>
>> "/home/dost/androwarn/androwarn/search/malicious_behaviours/device_settings.py",
>> line 79, in detect_get_package_info
>>     flags = recover_bitwise_flag_settings(flag,
>> PackageManager_PackageInfo)
>>   File "/home/dost/androwarn/androwarn/util/util.py", line 257, in
>> recover_bitwise_flag_settings
>>     if (int(flag) & option_value) == option_value :
>> ValueError: invalid literal for int() with base 10:
>>
>> 'Lcom/google/android/gms/common/GooglePlayServicesUtil;->zzad(Landroid/content/Context;)V'
>>
>>
>> I am absolutely at a loss as to how I should fix these errors? Anyone have
>> any ideas? Sorry for just throwing this at you guys without warning, but
>> Ive been tasked with fixing this at work and I need assistance please!
>>
>> It looks like this issue:
>
> https://github.com/maaaaz/androwarn/issues/10
>
> dating from 11 Dec 2014 and as yet unanswered.
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Strange Python related errors for androwarn.py. Please help! Sean Son <linuxmailinglistsemail@gmail.com> - 2016-05-24 15:46 -0400

csiph-web