hackedteam/test-av

View on GitHub
data/html/sections/dropped.html

Summary

Maintainability
Test Coverage
<section id="dropped">
    <div class="page-header">
        <h1>Dropped Files <small>files created or deleted by the malware</small></h1>
    </div>
    %if dropped:
        <%
            counter = 1
        %>
        %for dropped_file in dropped:
            <div>
                <h3><a href="javascript:showHide('dropped_${counter}');">${dropped_file["name"]}</a></h3>
                <div id="dropped_${counter}" style="display: none;">
                    <table class="table table-striped table-bordered">
                        <colgroup>
                            <col width="150" />
                            <col width="*" />
                        </colgroup>
                        <tr>
                            <td><strong>File name</strong>:</td>
                            <td><span class="mono">${dropped_file["name"]}</span></td>
                        </tr>
                        <tr>
                            <td><strong>File size</strong>:</td>
                            <td><span class="mono">${dropped_file["size"]} bytes</span></td>
                        </tr>
                        <tr>
                            <td><strong>File type</strong>:</td>
                            <td><span class="mono">${dropped_file["type"]}</span></td>
                        </tr>
                        <tr>
                            <td><strong>MD5</strong>:</td>
                            <td><span class="mono">${dropped_file["md5"]}</span></td>
                        </tr>
                        <tr>
                            <td><strong>SHA1</strong>:</td>
                            <td><span class="mono">${dropped_file["sha1"]}</span></td>
                        </tr>
                        <tr>
                            <td><strong>SHA256</strong>:</td>
                            <td><span class="mono">${dropped_file["sha256"]}</span></td>
                        </tr>
                        <tr>
                            <td><strong>SHA512</strong>:</td>
                            <td><span class="mono">${dropped_file["sha512"]}</span></td>
                        </tr>
                        <tr>
                            <td><strong>Ssdeep</strong>:</td>
                            <td><span class="mono">${dropped_file["ssdeep"]}</span></td>
                        </tr>
                    </table>
                </div>
            </div>
            <%
                counter += 1
            %>
        %endfor
    %else:
        Nothing to display.
    %endif
</section>