-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#370 Fix template folder names, and log template of PassveDNS analyzer
- Loading branch information
Showing
7 changed files
with
67 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 0 additions & 65 deletions
65
thehive-templates/SecurityTrails_Passive_DNS_1.0/long.html
This file was deleted.
Oops, something went wrong.
63 changes: 63 additions & 0 deletions
63
thehive-templates/SecurityTrails_Passive_DNS_1_0/long.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<div class="panel panel-info" ng-if="success" ng-init="results_limit = 20"> | ||
<div class="panel-heading"> | ||
SecurityTrails PassiveDNS report ({{content.meta.query}}) | ||
<span class="pull-right" ng-show="content.records.length > 20"> | ||
<a href ng-show="results_limit===20" ng-click="results_limit = undefined">Show All | ||
({{content.records.length}})</a> | ||
<a href ng-show="!results_limit" ng-click="results_limit = 20">Show less</a> | ||
</span> | ||
</div> | ||
<div class="panel-body"> | ||
<div ng-if="content.records.length === 0"> | ||
No records found | ||
</div> | ||
<div ng-if="content.records.length !== 0"> | ||
<table class="table table-hover"> | ||
<tr> | ||
<th>hostname</th> | ||
<th>whois expires date</th> | ||
<th>whois created date</th> | ||
<th>whois registrar</th> | ||
<th>host provider</th> | ||
<th>mail provider</th> | ||
</tr> | ||
<tr ng-repeat="r in content.records | limitTo:results_limit | orderBy:'-task.time'"> | ||
<td>{{r.hostname}}</td> | ||
<td> | ||
<span ng-if="r.whois.expiresDate"> | ||
{{r.whois.expiresDate | date:'yyyy-MM-dd'}} | ||
</span> | ||
<span ng-if="!r.whois.expiresDate">-</span> | ||
</td> | ||
<td> | ||
<span ng-if="r.whois.expiresDate"> | ||
{{r.whois.createdDate | date:'yyyy-MM-dd'}} | ||
</span> | ||
<span ng-if="!r.whois.expiresDate">-</span> | ||
</td> | ||
<td>{{r.whois.registrar || "-"}}</td> | ||
<td> | ||
<span ng-repeat="host_provider in r.host_provider"> <span class="label label-info">{{host_provider}}</span></span> | ||
</td> | ||
<td> | ||
<span ng-repeat="mail_provider in r.mail_provider"> <span class="label label-info">{{mail_provider}}</span></span> | ||
</td> | ||
</tr> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- General error --> | ||
<div class="panel panel-danger" ng-if="!success"> | ||
<div class="panel-heading"> | ||
<strong>{{artifact.data | fang}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
<dl class="dl-horizontal" ng-if="content.errorMessage"> | ||
<dt> | ||
<i class="fa fa-warning"></i></dt> | ||
<dd class="wrap">{{content.errorMessage}}</dd> | ||
</dl> | ||
</div> | ||
</div> |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...plates/SecurityTrails_Whois_1.0/long.html → ...plates/SecurityTrails_Whois_1_0/long.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.