Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeEncodeError: 'ascii' codec can't encode character u'\u02ce' in position 34: ordinal not in range(128) #24

Open
sadshade opened this issue Nov 5, 2019 · 0 comments

Comments

@sadshade
Copy link

sadshade commented Nov 5, 2019

APP - https://play.down-apk.com/download/by-token/download?token=AOTCm0Q2S0Y9oJJYCbac4h6T2MtUEqMt2A1iNDyeBiKzOa_6tgOctmDhrJ_IC3nF9T9ckMZ0CHHh8m1O-AwpnEThBK6tduUM8l2HM3AraV0mn-J1VXgyO3BCRLDPV6AQ_oY9jGLwYIaVDb8zZCqrMuUZLx6QlPTjQdCPRp5luKFtqeOZgouR2XkB733YdqNfWI8RpTt5kfyW5GtBBS2iMKhTBH5jbT0bPE3jXFvKDk-CQwx8sDpVg4o_ZaG5i_IhA4NFTLJIs4OhmaQqltTIo-zUw_LA-7QWi5OEZXvmVEyVYROJGtW_YTazwSGYcU_NsfhHsjBJ5J7tr6n50Xv9HE7t5_TtctotHDNJElLPbps&cpn=c-GXKuyrIhX4S4QD&name=kz.anytime.mobile.android_20.285

# python2 androwarn.py -i kz.anytime.mobile.android_20.285.apk -v 3 -w
[+] Androwarn version 1.6

[+] Loading the APK file...
Traceback (most recent call last):
  File "androwarn.py", line 96, in <module>
    main()
  File "androwarn.py", line 86, in main
    data = perform_analysis(options.input, a, d, x, options.with_playstore_lookup)
  File "/data/Learning/Labs/Mobile/Android/androwarn/warn/analysis/analysis.py", line 65, in perform_analysis
    ( 'device_settings_harvesting',              gather_device_settings_harvesting(x) ),
  File "/data/Learning/Labs/Mobile/Android/androwarn/warn/search/malicious_behaviours/device_settings.py", line 102, in gather_device_settings_harvesting
    result.extend( detect_log(x) )
  File "/data/Learning/Labs/Mobile/Android/androwarn/warn/search/malicious_behaviours/device_settings.py", line 44, in detect_log
    for registers in data_flow_analysis(structural_analysis_results, x):
  File "/data/Learning/Labs/Mobile/Android/androwarn/warn/core/core.py", line 412, in data_flow_analysis
    registers = backtrace_registers_before_call(x, parent_method, calling_offset)
  File "/data/Learning/Labs/Mobile/Android/androwarn/warn/core/core.py", line 239, in backtrace_registers_before_call
    instruction_name, local_register_number, local_register_value, registers_found = match_current_instruction(current_instruction, registers_found)
  File "/data/Learning/Labs/Mobile/Android/androwarn/warn/core/core.py", line 67, in match_current_instruction
    current_instruction = "{} {}".format(current_instruction.get_name(), current_instruction.get_output())
UnicodeEncodeError: 'ascii' codec can't encode character u'\u02ce' in position 34: ordinal not in range(128)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant