-
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.
Add report templates and modify request to get all results
- Loading branch information
root
committed
Jul 4, 2018
1 parent
851da3f
commit 161ecd4
Showing
3 changed files
with
85 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<div class="panel panel-info" ng-if="success"> | ||
<div class="panel-heading"> | ||
<a href="https://hunter.io" target="_blank">hunter.io</a> domain search to find email addresses | ||
<br/> Report for | ||
<strong>{{artifact.data}}</strong> | ||
</div> | ||
<div class="panel-body" ng-if="content.meta"> | ||
|
||
<h4 class="dl-horizontal">{{content.meta.results}} addresses found.</h4> | ||
|
||
|
||
<div ng-if="content.data"> | ||
|
||
<h5> | ||
Pattern : {{content.data.pattern}} | ||
</h5> | ||
|
||
<h5> | ||
Organization: {{content.data.organization}} | ||
</h5> | ||
|
||
<table class="table table-bordered"> | ||
<tr> | ||
<th>Email</th> | ||
<th>Name</th> | ||
<th>Position</th> | ||
<th>Type</th> | ||
<th>Twitter</th> | ||
<th>LinkedIn</th> | ||
<th>Phone</th> | ||
<th>Confidence</th> | ||
<th>Sources</th> | ||
</tr> | ||
<tr ng-repeat="email in ::content.data.emails"> | ||
<td class="text-info">{{email.value}}</td> | ||
<td>{{email.fisrtname}} {{email.lastname}}</td> | ||
<td>{{email.position}}</td> | ||
<td>{{email.type}}</td> | ||
<td><a ng-if="email.twitter" href="https://twitter.com/{{email.twitter}}" target="_blank">{{email.twitter}}</a></td> | ||
<td><a ng-if="email.linkedin" href="{{email.linkedin}}" target="_blank">{{email.linkedin}}</a></td> | ||
<td>{{email.phone_number}}</td> | ||
<td> | ||
<span class="label label-default">{{email.confidence}}</span> | ||
</td> | ||
<td> | ||
<ul> | ||
<li ng-repeat="src in ::email.sources">{{src.domain}}</li> | ||
</ul> | ||
</td> | ||
</tr> | ||
</table> | ||
</div> | ||
|
||
<div class="panel-body" ng-if="!content.meta"> | ||
No results found | ||
</div> | ||
</div> | ||
|
||
<div class="panel panel-danger" ng-if="!success"> | ||
<div class="panel-heading"> | ||
<strong>{{(artifact.data || artifact.attachment.name) | fang}}</strong> | ||
</div> | ||
<div class="panel-body"> | ||
{{content.errorMessage}} | ||
</div> | ||
</div> |
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,3 @@ | ||
<span class="label" ng-repeat="t in content.taxonomies" ng-class="{'info': 'label-info', 'safe': 'label-success', 'suspicious': 'label-warning', 'malicious':'label-danger'}[t.level]"> | ||
{{t.namespace}}:{{t.predicate}}={{t.value}} | ||
</span> |