Re: Farewell to Rob Collins

2016-11-16 Thread Sean Son
Rest in Peace Rob

On Wed, Nov 16, 2016 at 12:48 PM, Ben Finney 
wrote:

> "M.-A. Lemburg"  writes:
>
> > Rob was a true Pythonista from the heart. He will always be remembered
> > for his humor, great spirit and kindness.
>
> Robert and I had many conversations about the Bazaar version control
> system, and I owe to him my passion for distributed version control.
>
> When I needed to convince my workplace to try this strange new idea,
> Robert kindly donated his time to visit our offices and give a
> presentation on why distributed version control was better and why
> Bazaar was a good choice for us.
>
> He also inspired me to get serious about unit testing as a way to
> increase confidence in a code base.
>
> You touched many lives, and you are missed. Vale, Rob.
>
> --
>  \ “What you have become is the price you paid to get what you |
>   `\ used to want.” —Mignon McLaughlin |
> _o__)  |
> Ben Finney
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


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

2016-05-27 Thread Sean Son
Hello

Thank you for your reply. So the error isnt due to a bug in function
itself? It is due to a possible error in the Android APK file?  If that is
the case, it would take a while to figure this out. I tried contacted the
author of the project but I have yet to hear back from him .

Thanks



On Thu, May 26, 2016 at 8:31 PM, Michael Torrie  wrote:

> On 05/26/2016 05:57 PM, Michael Torrie wrote:
> > You could try emailing the author who's email address is listed on the
> > project's main github page.  I suspect the project itself is abandoned.
>
> Ahem. That should have been whose. Sigh.
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


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

2016-05-26 Thread Sean Son
Here are the links to the other scripts mentioned in the error messages:

https://github.com/mz/androwarn/blob/master/androwarn/search/malicious_behaviours/device_settings.py

https://github.com/mz/androwarn/blob/master/androwarn/analysis/analysis.py

and the main androwarn.py script:

https://github.com/mz/androwarn/blob/master/androwarn.py

Hopefully those help in any troubleshooting steps that you all recommend to
me!

Thank you!

On Thu, May 26, 2016 at 1:25 PM, Sean Son 
wrote:

> Hello all
>
> From what I can tell from the error message that I received, line 257 of
> the util.py script is causing the error.  Here is a link to this script:
>
> https://github.com/mz/androwarn/blob/master/androwarn/util/util.py
>
> I am not a python developer myself, unfortunately, so I have no idea how I
> should fix this error.  All help is greatly appreciated!
>
> Thanks
>
> On Tue, May 24, 2016 at 3:46 PM, Sean Son <
> linuxmailinglistsem...@gmail.com> wrote:
>
>> Thanks for the reply.
>>
>> Looks like I am screwed on this one lol
>>
>> On Tue, May 24, 2016 at 3:31 PM, MRAB  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/mz/androwarn
>>>>
>>>> using the instructions found on:
>>>>
>>>> https://github.com/mz/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 
>>>> 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/mz/androwarn/issues/10
>>>
>>> dating from 11 Dec 2014 and as yet unanswered.
>>>
>>> --
>>> https://mail.python.org/mailman/listinfo/python-list
>>>
>>
>>
>
-- 
https://mail.python.org/mailman/listinfo/python-list


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

2016-05-26 Thread Sean Son
Hello all

>From what I can tell from the error message that I received, line 257 of
the util.py script is causing the error.  Here is a link to this script:

https://github.com/mz/androwarn/blob/master/androwarn/util/util.py

I am not a python developer myself, unfortunately, so I have no idea how I
should fix this error.  All help is greatly appreciated!

Thanks

On Tue, May 24, 2016 at 3:46 PM, Sean Son 
wrote:

> Thanks for the reply.
>
> Looks like I am screwed on this one lol
>
> On Tue, May 24, 2016 at 3:31 PM, MRAB  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/mz/androwarn
>>>
>>> using the instructions found on:
>>>
>>> https://github.com/mz/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 
>>> 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/mz/androwarn/issues/10
>>
>> dating from 11 Dec 2014 and as yet unanswered.
>>
>> --
>> https://mail.python.org/mailman/listinfo/python-list
>>
>
>
-- 
https://mail.python.org/mailman/listinfo/python-list


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

2016-05-24 Thread Sean Son
Thanks for the reply.

Looks like I am screwed on this one lol

On Tue, May 24, 2016 at 3:31 PM, MRAB  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/mz/androwarn
>>
>> using the instructions found on:
>>
>> https://github.com/mz/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 
>> 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/mz/androwarn/issues/10
>
> dating from 11 Dec 2014 and as yet unanswered.
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


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

2016-05-24 Thread Sean Son
hello all

I am testing out a script called androwarn.py, which I downloaded from:

https://github.com/mz/androwarn

using the instructions found on:

https://github.com/mz/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 
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!
-- 
https://mail.python.org/mailman/listinfo/python-list