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


Groups > comp.lang.python > #109085

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

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From MRAB <python@mrabarnett.plus.com>
Newsgroups comp.lang.python
Subject Re: Strange Python related errors for androwarn.py. Please help!
Date Tue, 24 May 2016 20:31:21 +0100
Lines 54
Message-ID <mailman.67.1464118288.20402.python-list@python.org> (permalink)
References <CAOKpjz84NvMxLbVKovDQW=f5NXQLUfJUw3PWggTRH50oPmZMzw@mail.gmail.com> <64b92fce-be57-c7ec-3be9-8a5272035b80@mrabarnett.plus.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de 8wOw/Fb78MCTl27EjHdiTA3CE5/pBNklpmeaO6fyZdPQ==
Return-Path <python@mrabarnett.plus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'valueerror:': 0.07; 'subject:help': 0.07; 'errors:': 0.09; 'issue:': 0.09; 'literal': 0.09; 'skip:" 80': 0.09; 'subject:related': 0.09; 'subject:skip:a 10': 0.09; 'url:github': 0.09; 'python': 0.10; '2014': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'received:192.168.1.4': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'url:issues': 0.16; 'wrote:': 0.16; 'skip:" 40': 0.20; 'fix': 0.21; 'fixing': 0.22; 'sean': 0.22; 'dec': 0.23; '(most': 0.24; 'downloaded': 0.24; 'header:In-Reply- To:1': 0.24; 'script': 0.25; 'testing': 0.25; 'header:User- Agent:1': 0.26; 'looks': 0.29; 'url:wiki': 0.30; 'skip:g 30': 0.30; 'anyone': 0.32; 'flags': 0.33; 'traceback': 0.33; "skip:' 20": 0.34; 'file': 0.34; 'skip:d 20': 0.34; 'skip:" 50': 0.35; 'but': 0.36; 'should': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'guys': 0.38; 'loss': 0.38; 'skip:p 20': 0.38; 'test': 0.39; 'data': 0.39; 'from:': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'called': 0.40; 'son': 0.61; 'skip:n 10': 0.62; 'subject:. ': 0.67; 'url:10': 0.79; 'tasked': 0.84; 'absolutely': 0.88; 'dating': 0.91
X-CM-Score 0.00
X-CNFS-Analysis v=2.1 cv=K//fZHiI c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=NEAV23lmAAAA:8 a=RpX2X2nuC6lOPNjNuHUA:9 a=QEXdDO2ut3YA:10 a=Bn2pgwyD2vrAyMmN8A2t:22
X-AUTH mrabarnett@:2500
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0
In-Reply-To <CAOKpjz84NvMxLbVKovDQW=f5NXQLUfJUw3PWggTRH50oPmZMzw@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <64b92fce-be57-c7ec-3be9-8a5272035b80@mrabarnett.plus.com>
X-Mailman-Original-References <CAOKpjz84NvMxLbVKovDQW=f5NXQLUfJUw3PWggTRH50oPmZMzw@mail.gmail.com>
Xref csiph.com comp.lang.python:109085

Show key headers only | View raw


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.

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


Thread

Re: Strange Python related errors for androwarn.py. Please help! MRAB <python@mrabarnett.plus.com> - 2016-05-24 20:31 +0100

csiph-web