<!-- Faraday Penetration Test IDE -->
<!-- Copyright (C) 2017  Infobyte LLC (http://www.infobytesec.com/) -->
<!-- See the file 'doc/LICENSE' for the license information -->

<div class="modal-header">
    <h3 class="modal-title">
        <span class="glyphicon glyphicon-ok">
        </span> Exploit(s) found for vulnerability!
    </h3>
</div>

<div class="modal-body"  ng-repeat="cve in objsCve">
    <div>
        <span> Based on the {{cve.cveid}} the following has been found:</span>
        <h2>Metasploit</h2>
    </div>

    <div style="Padding:7px" ng-repeat="n in cve.metasploit">
        <span><b>{{n.title | lowercase}}</b></span>
        <h5 style="Padding:3px;background-color: #eee">{{ n.id.replace('MSF:','use ') | lowercase }}</h5>
        <span><a ng-href="https://www.rapid7.com/db/modules/{{ n.id.replace('MSF:','') | lowercase }}">https://www.rapid7.com/db/modules/{{ n.id.replace('MSF:','') | lowercase }}</a></span>
    </div>

    <div>
        <h2>ExploitDB</h2>
    </div>

    <div style="Padding:7px" ng-repeat="n in cve.exploitdb">
        <b>{{n.id}} | {{n.title}}</b>
        <h5>
            <div><a ng-href="{{n.href}}">{{n.href}}</a></div>
        </h5>
    </div>

</div>
<div class="modal-footer">
    <button class="btn btn-success" ng-click="ok()">OK</button>
</div>
