-
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.
#56 Virusshare() and short reports + bump version
- Loading branch information
1 parent
355913c
commit 4a24c01
Showing
2 changed files
with
61 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<div class="panel panel-danger" ng-if="success && content.isonvs && content.isonvs != 'unknown'"> | ||
<div class="panel-heading"> | ||
Virusshare Report | ||
</div> | ||
<div class="panel-body"> | ||
<dl class="dl-horizontal"> | ||
<dt>MD5</dt> | ||
<dd>{{content.md5}}</dd> | ||
<dt></dt> | ||
<dd> | ||
<form method="POST" action="https://virusshare.com/search.4n6" target="_blank"> | ||
<input type="hidden" value="{{content.md5}}" name="search"> | ||
<input class="btn btn-danger" type="submit" value="Open on Virusshare.com (Login first!)"> | ||
</form> | ||
</dd> | ||
</dl> | ||
</div> | ||
</div> | ||
<div class="panel panel-danger" ng-if="success && content.isonvs === 'unknown'"> | ||
<div class="panel-heading"> | ||
Virusshare Report | ||
</div> | ||
<div class="panel-body"> | ||
<dl class="dl-horizontal"> | ||
<dt>Error</dt> | ||
<dd>{{content.hash}} is not MD5</dd> | ||
<dt></dt> | ||
<dd>Still try to search:<br /> | ||
<form method="POST" action="https://virusshare.com/search.4n6" target="_blank"> | ||
<input type="hidden" value="{{content.hash}}" name="search"> | ||
<input class="btn btn-danger" type="submit" value="Open on Virusshare.com (Login first!)"> | ||
</form> | ||
</dd> | ||
</dl> | ||
</div> | ||
</div> | ||
|
||
<div class="panel panel-success" ng-if="success && !content.isonvs"> | ||
<div class="panel-heading"> | ||
Virusshare Report | ||
</div> | ||
<div class="panel-body"> | ||
<span>No match.</span> | ||
</div> | ||
</div> | ||
|
||
<!-- General error --> | ||
<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"> | ||
<dl class="dl-horizontal" ng-if="content.errorMessage"> | ||
<dt><i class="fa fa-warning"></i> PassiveDNS: </dt> | ||
<dd class="wrap">{{content.errorMessage}}</dd> | ||
</dl> | ||
</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> |