2015-06-15 21:49:16 +00:00
|
|
|
{{define "body"}}
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-3 col-md-2 sidebar">
|
|
|
|
<ul class="nav nav-sidebar">
|
2017-02-13 12:07:08 +00:00
|
|
|
<li><a href="/">{{T "Dashboard"}}</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</li>
|
2017-02-13 12:07:08 +00:00
|
|
|
<li class="active"><a href="/campaigns">{{T "Campaigns"}}</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</li>
|
2017-02-14 18:18:55 +00:00
|
|
|
<li><a href="/users">{{T "Users & Groups"}}</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</li>
|
2017-02-13 12:07:08 +00:00
|
|
|
<li><a href="/templates">{{T "Email Templates"}}</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</li>
|
2017-02-13 12:07:08 +00:00
|
|
|
<li><a href="/landing_pages">{{T "Landing Pages"}}</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</li>
|
2017-02-13 12:07:08 +00:00
|
|
|
<li><a href="/sending_profiles">{{T "Sending Profiles"}}</a>
|
2016-02-20 22:39:23 +00:00
|
|
|
</li>
|
2017-02-13 12:07:08 +00:00
|
|
|
<li><a href="/settings">{{T "Settings"}}</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</li>
|
2016-02-20 22:39:23 +00:00
|
|
|
<li><hr></li>
|
2017-02-13 12:07:08 +00:00
|
|
|
<li><a href="https://gophish.gitbooks.io/user-guide/content/">{{T "User Guide"}}</a>
|
2016-02-20 22:39:23 +00:00
|
|
|
</li>
|
2017-02-13 12:07:08 +00:00
|
|
|
<li><a href="/api/">{{T "API Documentation"}}</a>
|
2015-06-15 21:49:16 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-07-30 03:31:39 +00:00
|
|
|
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
|
|
|
|
<div id="loading">
|
|
|
|
<i class="fa fa-spinner fa-spin fa-4x"></i>
|
|
|
|
</div>
|
|
|
|
<div style="display:none;" id="campaignResults">
|
2015-06-15 21:49:16 +00:00
|
|
|
<div class="row">
|
2017-02-13 22:56:31 +00:00
|
|
|
<h1 class="page-header" id="page-title">{{T "Results for"}} campaign.name</h1>
|
2015-06-15 21:49:16 +00:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
2016-01-21 05:37:49 +00:00
|
|
|
<a href="/campaigns" class="btn btn-default">
|
2017-02-13 12:07:08 +00:00
|
|
|
<i class="fa fa-arrow-circle-o-left fa-lg"></i> {{T "Back"}}
|
2016-01-21 05:37:49 +00:00
|
|
|
</a>
|
2016-01-29 19:18:06 +00:00
|
|
|
<div class="btn-group">
|
|
|
|
<button type="button" id="exportButton" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
2017-02-13 12:07:08 +00:00
|
|
|
<i class="fa fa-file-excel-o"></i> {{T "Export CSV"}}
|
2016-01-29 19:18:06 +00:00
|
|
|
<i class="fa fa-caret-down"></i>
|
2016-01-21 00:45:53 +00:00
|
|
|
</button>
|
2016-01-29 19:18:06 +00:00
|
|
|
<ul class="dropdown-menu" aria-labelledby="exportButton">
|
2017-02-13 12:07:08 +00:00
|
|
|
<li><a href="#" onclick="exportAsCSV('results')">{{T "Results"}}</a></li>
|
|
|
|
<li><a href="#" onclick="exportAsCSV('events')">{{T "Raw Events"}}</a></li>
|
2016-01-29 19:18:06 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2016-07-12 03:11:40 +00:00
|
|
|
<button id="complete_button" type="button" class="btn btn-blue" data-toggle="tooltip" onclick="completeCampaign()">
|
2017-02-13 12:07:08 +00:00
|
|
|
<i class="fa fa-flag-checkered"></i> {{T "Complete"}}
|
2016-07-12 03:11:40 +00:00
|
|
|
</button>
|
2016-01-21 00:45:53 +00:00
|
|
|
<button type="button" class="btn btn-danger" data-toggle="tooltip" onclick="deleteCampaign()">
|
2017-02-13 12:07:08 +00:00
|
|
|
<i class="fa fa-trash-o fa-lg"></i> {{T "Delete"}}
|
2015-06-15 21:49:16 +00:00
|
|
|
</button>
|
2016-02-22 02:55:27 +00:00
|
|
|
<span id="refresh_message">
|
2017-02-13 12:07:08 +00:00
|
|
|
<i class="fa fa-spin fa-spinner"></i> {{T "Refreshing"}}
|
2016-02-22 02:55:27 +00:00
|
|
|
</span>
|
2015-06-15 21:49:16 +00:00
|
|
|
</div>
|
|
|
|
<br />
|
|
|
|
<div class="row">
|
2015-08-01 20:35:32 +00:00
|
|
|
<ul class="nav nav-tabs" role="tablist">
|
2017-02-13 12:07:08 +00:00
|
|
|
<li class="active"><a href="#overview" aria-controls="home" role="tab" data-toggle="tab">{{T "Overview"}}</a></li>
|
2016-01-04 06:04:10 +00:00
|
|
|
<!--<li><a href="#plugins" aria-controls="profile" role="tab" data-toggle="tab">Plugins</a></li>
|
|
|
|
<li><a href="#demographics" aria-controls="settings" role="tab" data-toggle="tab">Demographics</a></li>-->
|
2015-08-01 20:35:32 +00:00
|
|
|
</ul>
|
|
|
|
<div class="tab-content">
|
|
|
|
<div role="tabpanel" class="tab-pane active" id="overview">
|
2015-06-15 21:49:16 +00:00
|
|
|
<br/>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
2017-02-13 12:07:08 +00:00
|
|
|
<p style="text-align:center;">{{T "Campaign Timeline"}}</p>
|
2015-08-01 20:35:32 +00:00
|
|
|
<br/>
|
2015-07-30 03:31:39 +00:00
|
|
|
<div id="timeline_chart"></div>
|
2015-06-15 21:49:16 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
2017-02-13 12:07:08 +00:00
|
|
|
<p style="text-align:center;">{{T "Email Status"}}</p>
|
2015-08-05 02:27:04 +00:00
|
|
|
<div id="email_chart" class="col-lg-7 col-md-7"></div>
|
|
|
|
<div class="col-lg-5 col-md-5">
|
|
|
|
<ul id="email_chart_legend" class="chartist-legend">
|
|
|
|
</ul>
|
|
|
|
</div>
|
2015-06-15 21:49:16 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-01-04 06:04:10 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
2017-02-13 12:07:08 +00:00
|
|
|
<p style="text-align:center;">{{T "Targets Map"}}</p>
|
2015-08-12 02:12:09 +00:00
|
|
|
<div id="resultsMap"></div>
|
|
|
|
</div>
|
2016-01-04 06:04:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!--
|
|
|
|
<div role="tabpanel" class="tab-pane" id="plugins">
|
2015-08-01 20:35:32 +00:00
|
|
|
</div>
|
|
|
|
<div role="tabpanel" class="tab-pane" id="demographics">
|
|
|
|
Demographics here
|
2015-08-12 02:12:09 +00:00
|
|
|
</div> -->
|
2015-08-01 20:35:32 +00:00
|
|
|
</div>
|
2015-06-15 21:49:16 +00:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
2017-02-13 12:07:08 +00:00
|
|
|
<h2>{{T "Details"}}</h2>
|
2015-07-30 03:31:39 +00:00
|
|
|
<table id="resultsTable" class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2017-02-13 12:07:08 +00:00
|
|
|
<th>{{T "Result ID"}}</th>
|
2016-01-29 15:55:49 +00:00
|
|
|
<th class="no-sort"></th>
|
2017-02-13 12:07:08 +00:00
|
|
|
<th>{{T "First Name"}}</th>
|
|
|
|
<th>{{T "Last Name"}}</th>
|
|
|
|
<th>{{T "Email"}}</th>
|
|
|
|
<th>{{T "Position"}}</th>
|
|
|
|
<th>{{T "Status"}}</th>
|
2015-06-15 21:49:16 +00:00
|
|
|
</tr>
|
2015-07-30 03:31:39 +00:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2015-06-15 21:49:16 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-07-30 03:31:39 +00:00
|
|
|
<div id="flashes" class="row"></div>
|
2015-06-15 21:49:16 +00:00
|
|
|
</div>
|
|
|
|
{{end}}
|
2015-07-08 03:31:21 +00:00
|
|
|
{{define "scripts"}}
|
2017-02-13 12:50:01 +00:00
|
|
|
<script>
|
|
|
|
localizedDatas = {
|
|
|
|
"Email Sent": "{{T "Email Sent"}}",
|
|
|
|
"Email Opened": "{{T "Email Opened"}}",
|
|
|
|
"Clicked Link": "{{T "Clicked Link"}}",
|
|
|
|
"Success": "{{T "Success"}}",
|
|
|
|
"Error": "{{T "Error"}}",
|
|
|
|
"Error Sending Email": "{{T "Error Sending Email"}}",
|
|
|
|
"Submitted Data": "{{T "Submitted Data"}}",
|
|
|
|
"Unknown": "{{T "Unknown"}}",
|
|
|
|
"Sending": "{{T "Sending"}}",
|
|
|
|
"Campaign Created": "{{T "Campaign Created"}}",
|
|
|
|
"Are you sure?": "{{T "Are you sure?"}}",
|
|
|
|
"This will delete the campaign. This can't be undone!": "{{T "This will delete the campaign. This can't be undone!"}}",
|
|
|
|
"Delete Campaign": "{{T "Delete Campaign"}}",
|
|
|
|
"Campaign Deleted!": "{{T "Campaign Deleted!"}}",
|
|
|
|
"This campaign has been deleted!": "{{T "This campaign has been deleted!"}}",
|
|
|
|
"Gophish will stop processing events for this campaign": "{{T "Gophish will stop processing events for this campaign"}}",
|
|
|
|
"Complete Campaign": "{{T "Complete Campaign"}}",
|
|
|
|
"Campaign Completed!": "{{T "This campaign has been completed!"}}",
|
|
|
|
"Completed!": "{{T "Completed!"}}",
|
|
|
|
"Where do you want the credentials submitted to?": "{{T "Where do you want the credentials submitted to?"}}",
|
|
|
|
"http://example.com/login": "{{T "http://example.com/login"}}",
|
|
|
|
"Invalid URL.": "{{T "Invalid URL."}}",
|
|
|
|
"Timeline for": "{{T "Timeline for"}}",
|
|
|
|
"Email": "{{T "Email"}}",
|
|
|
|
"Replay Credentials": "{{T "Replay Credentials"}}",
|
|
|
|
"View Details": "{{T "View Details"}}",
|
|
|
|
"Parameter": "{{T "Parameter"}}",
|
|
|
|
"Value(s)": "{{T "Value(s)"}}",
|
|
|
|
"View Details": "{{T "View Details"}}",
|
|
|
|
"Error": "{{T "Error"}}",
|
|
|
|
"Completed!": "{{T "Completed!"}}",
|
|
|
|
"Events": "{{T "Events"}}",
|
|
|
|
"Email:": "{{T "Email:"}}",
|
|
|
|
"Campaign not found!": "{{T "Campaign not found!"}}",
|
|
|
|
}
|
|
|
|
</script>
|
2017-02-14 17:09:26 +00:00
|
|
|
<script src="/js/dist/app/campaign_results.min.js"></script>
|
2015-07-08 03:31:21 +00:00
|
|
|
{{end}}
|