{% extends "analysis_plugins/general_information.html" %}
{% block styles %}
{% endblock %}
{% block analysis_result_details %}
{% if 'files' in firmware.processed_analysis[selected_analysis] %}
Results for Included Files
|
{% for uid, result in firmware.processed_analysis[selected_analysis]['files'].items() %}
|
{{ result['path'] }}
{% if result['executable'] %}
{% else %}
{% endif %}
|
| Executable in QEMU: |
{{ result['executable'] }} |
{% if result['results'] %}
| Individual Results: |
{% for arch in result['results'] %}
{% if "strace" in result['results'][arch] %}
|
{% else %}
|
{% endif %}
{{ arch }}
|
{% for option in result['results'][arch] %}
{% if option != 'strace' %}
{% set option_result = result['results'][arch][option] %}
{{ option }} |
stdout |
{% if option_result['stdout'] %}
{{ '$ .' + result['path'] + ' ' + option + '\n' + option_result['stdout'] }}
{% else %}Empty{% endif %}
|
| stderr |
{% if option_result['stderr'] %}
{{ '$ .' + result['path'] + ' ' + option + '\n' + option_result['stderr'] }}
{% else %}Empty{% endif %}
|
| return code |
{{ option_result['return_code'] }} |
{% endif %}
{% endfor %}
{% if 'strace' in result['results'][arch] %}
| strace |
{% if result['results'][arch]['strace'] %}
{{ result['results'][arch]['strace'] | decompress }}
{% else %}Empty{% endif %}
|
{% else %}
{% endif %}
{% endfor %}
|
{% endif %}
|
{% endfor %}
{% endif %}
{% endblock %}
{% block ajax %}
{% set analysis = firmware.processed_analysis[selected_analysis] %}
{% if 'parent_flag' in analysis and analysis.parent_flag == True %}
{% endif %}
{% endblock %}