2018-08-21 15:54:53 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2019-03-06 15:05:58 +01:00
|
|
|
<head>
|
|
|
|
<title>Show Domain - AIL</title>
|
|
|
|
<link rel="icon" href="{{ url_for('static', filename='image/ail-icon.png') }}">
|
|
|
|
<!-- Core CSS -->
|
|
|
|
<link href="{{ url_for('static', filename='css/bootstrap4.min.css') }}" rel="stylesheet">
|
|
|
|
<link href="{{ url_for('static', filename='css/font-awesome.min.css') }}" rel="stylesheet">
|
|
|
|
<link href="{{ url_for('static', filename='css/daterangepicker.min.css') }}" rel="stylesheet">
|
2019-03-14 17:04:55 +01:00
|
|
|
<link href="{{ url_for('static', filename='css/dataTables.bootstrap4.min.css') }}" rel="stylesheet">
|
2019-03-06 15:05:58 +01:00
|
|
|
<!-- JS -->
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery.js')}}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery.dataTables.min.js')}}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/dataTables.bootstrap.min.js')}}"></script>
|
2018-08-21 15:54:53 +02:00
|
|
|
|
2019-03-06 15:05:58 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
2018-08-21 15:54:53 +02:00
|
|
|
|
2019-03-06 15:05:58 +01:00
|
|
|
{% include 'nav_bar.html' %}
|
2018-08-21 15:54:53 +02:00
|
|
|
|
2019-03-06 15:05:58 +01:00
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row">
|
2018-08-27 14:34:08 +02:00
|
|
|
|
2019-03-06 15:05:58 +01:00
|
|
|
{% include 'crawler/menu_sidebar.html' %}
|
2018-08-21 15:54:53 +02:00
|
|
|
|
2019-03-06 15:05:58 +01:00
|
|
|
<div class="col-12 col-lg-10" id="core_content">
|
2018-08-21 15:54:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
2019-03-06 15:05:58 +01:00
|
|
|
<div class="col-12 col-xl-6">
|
|
|
|
<div class="card mt-2">
|
|
|
|
<div class="card-header bg-dark">
|
|
|
|
<span class="badge badge-pill badge-light flex-row-reverse float-right">
|
2018-09-12 09:55:49 +02:00
|
|
|
{% if status %}
|
2019-03-06 15:05:58 +01:00
|
|
|
<div style="color:Green;">
|
|
|
|
<i class="fas fa-check-circle fa-2x"></i>
|
|
|
|
UP
|
2018-09-12 09:55:49 +02:00
|
|
|
</div>
|
|
|
|
{% else %}
|
2019-03-06 15:05:58 +01:00
|
|
|
<div style="color:Red;">
|
|
|
|
<i class="fas fa-times-circle fa-2x"></i>
|
|
|
|
DOWN
|
2018-09-12 09:55:49 +02:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
2019-03-06 15:05:58 +01:00
|
|
|
</span>
|
|
|
|
<h3 class="card-title text-white">{{ domain }} :</h3>
|
2018-09-12 09:55:49 +02:00
|
|
|
</div>
|
2019-03-06 15:05:58 +01:00
|
|
|
<div class="card-body">
|
|
|
|
<table class="table table-responsive table-condensed">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>First Seen</th>
|
|
|
|
<th>Last Check</th>
|
2019-06-18 10:58:37 +02:00
|
|
|
<th>Ports</th>
|
2019-03-06 15:05:58 +01:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="panelText">{{ first_seen }}</td>
|
|
|
|
<td class="panelText">{{ last_check }}</td>
|
2019-06-18 10:58:37 +02:00
|
|
|
<td class="panelText">{{ ports }}</td>
|
2019-03-06 15:05:58 +01:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
Origin Paste:
|
|
|
|
{% if origin_paste_name=='manual' or origin_paste_name=='auto' %}
|
|
|
|
<span class="badge badge-dark">{{ origin_paste_name }}</span>
|
|
|
|
{%else%}
|
|
|
|
<a class="badge badge-dark" target="_blank" href="{{ url_for('showsavedpastes.showsavedpaste', paste=origin_paste) }}" />{{ origin_paste_name }}</a>
|
|
|
|
{%endif%}
|
|
|
|
<div>
|
|
|
|
{% for tag in origin_paste_tags %}
|
2019-03-14 17:04:55 +01:00
|
|
|
<a href="{{ url_for('Tags.Tags_page') }}?ltags={{ tag[1] }}">
|
2019-03-06 15:05:58 +01:00
|
|
|
<span class="badge badge-{{ bootstrap_label[loop.index0 % 5] }} pull-left">{{ tag[0] }}</span>
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
<br>
|
|
|
|
</div>
|
|
|
|
|
2018-08-21 15:54:53 +02:00
|
|
|
</div>
|
2019-03-06 15:05:58 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
{% for tag in domain_tags %}
|
2019-03-14 17:04:55 +01:00
|
|
|
<a href="{{ url_for('Tags.Tags_page') }}?ltags={{ tag }}">
|
2019-03-06 15:05:58 +01:00
|
|
|
<span class="badge badge-{{ bootstrap_label[loop.index0 % 5] }} pull-left">{{ tag }} <i>{{ domain_tags[tag] }}</i></span>
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
</div>
|
2018-08-27 14:34:08 +02:00
|
|
|
|
2019-03-06 15:05:58 +01:00
|
|
|
{% if l_pastes %}
|
|
|
|
<table class="table table-striped table-bordered table-hover" id="myTable_1">
|
|
|
|
<thead class="thead-dark">
|
|
|
|
<tr>
|
|
|
|
<th>Crawled Pastes</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for path in l_pastes %}
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<a target="_blank" href="{{ url_for('showsavedpastes.showsavedpaste') }}?paste={{path}}" class="text-secondary">
|
|
|
|
<div style="line-height:0.9;">{{ dict_links[path] }}</div>
|
|
|
|
</a>
|
|
|
|
<div>
|
|
|
|
{% for tag in paste_tags[loop.index0] %}
|
2019-03-14 17:04:55 +01:00
|
|
|
<a href="{{ url_for('Tags.Tags_page') }}?ltags={{ tag[1] }}">
|
2019-03-06 15:05:58 +01:00
|
|
|
<span class="badge badge-{{ bootstrap_label[loop.index0 % 5] }} pull-left">{{ tag[0] }}</span>
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</td>
|
2018-08-27 14:34:08 +02:00
|
|
|
</tr>
|
2019-03-06 15:05:58 +01:00
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{%endif%}
|
2018-08-27 14:34:08 +02:00
|
|
|
|
2019-06-12 10:58:13 +02:00
|
|
|
|
|
|
|
<div class="text-center my-3">
|
|
|
|
<a href="{{ url_for('hiddenServices.download_domain') }}?domain={{domain}}&port={{port}}{% if epoch %}&epoch={{epoch}}{% endif %}" target="blank" style="font-size: 15px">
|
|
|
|
<button class="btn btn-info"><i class="fas fa-download"></i> Download Domain Content
|
|
|
|
</button>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
2019-06-18 10:58:37 +02:00
|
|
|
{% if domain_history %}
|
|
|
|
<table class="table table-hover mt-2" id="myTable_2">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th><i class="fas fa-history"></i> Domain History</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for epoch_item in domain_history %}
|
|
|
|
<tr>
|
|
|
|
<td class="{% if epoch_item[0]==epoch %}text-dark table-info{% endif %}">
|
|
|
|
<a target="_blank" href="{{ url_for('hiddenServices.show_domain') }}?domain={{domain}}&port={{port}}&epoch={{epoch_item[0]}}" class="text-secondary">
|
|
|
|
<div class="d-flex justify-content-around" style="line-height:0.9;">
|
|
|
|
<div>{{domain}}</div>
|
|
|
|
{% if epoch_item[2] %}
|
|
|
|
<div style="color:Green;"><i class="fas fa-check-circle"></i> UP</div>
|
|
|
|
{% else %}
|
|
|
|
<div style="color:Red;"><i class="fas fa-times-circle"></i> DOWN</div>
|
|
|
|
{% endif %}
|
|
|
|
<div>{{ epoch_item[1] }}</div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{%endif%}
|
|
|
|
|
2018-08-21 15:54:53 +02:00
|
|
|
</div>
|
|
|
|
|
2019-03-06 15:05:58 +01:00
|
|
|
<div class="col-12 col-xl-6">
|
|
|
|
<div class="card my-2" style="background-color:#ecf0f1;">
|
|
|
|
<div class="card-body py-2">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-8">
|
|
|
|
<input class="custom-range mt-2" id="blocks" type="range" min="1" max="50" value="13">
|
2018-09-18 11:51:21 +02:00
|
|
|
</div>
|
2019-03-06 15:05:58 +01:00
|
|
|
<div class="col-md-4">
|
|
|
|
<button class="btn btn-primary" onclick="blocks.value=50;pixelate();">
|
|
|
|
<i class="fas fa-search-plu"></i>
|
|
|
|
<span class="label-icon">Full resolution</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-09-18 11:51:21 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<canvas id="canvas" style="width:100%;"></canvas>
|
2019-03-06 15:05:58 +01:00
|
|
|
<div class="text-center">
|
|
|
|
<small>
|
|
|
|
<a target="_blank" href="{{ url_for('showsavedpastes.showsavedpaste') }}?paste={{screenshot['item']}}" class="text-info">
|
|
|
|
<div style="line-height:0.9;">{{dict_links[screenshot['item']]}}</div>
|
|
|
|
</a>
|
|
|
|
<small>
|
|
|
|
</div>
|
2018-08-21 15:54:53 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
2019-03-06 15:05:58 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
var table;
|
|
|
|
$(document).ready(function(){
|
|
|
|
table = $('#myTable_1').DataTable(
|
|
|
|
{
|
|
|
|
//"aLengthMenu": [[5, 10, 15, 20, -1], [5, 10, 15, 20, "All"]],
|
|
|
|
//"iDisplayLength": 5,
|
|
|
|
//"order": [[ 0, "desc" ]]
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
function toggle_sidebar(){
|
|
|
|
if($('#nav_menu').is(':visible')){
|
|
|
|
$('#nav_menu').hide();
|
|
|
|
$('#side_menu').removeClass('border-right')
|
|
|
|
$('#side_menu').removeClass('col-lg-2')
|
|
|
|
$('#core_content').removeClass('col-lg-10')
|
|
|
|
}else{
|
|
|
|
$('#nav_menu').show();
|
|
|
|
$('#side_menu').addClass('border-right')
|
|
|
|
$('#side_menu').addClass('col-lg-2')
|
|
|
|
$('#core_content').addClass('col-lg-10')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
var ctx = canvas.getContext('2d'), img = new Image();
|
|
|
|
|
|
|
|
/// turn off image smoothing
|
|
|
|
ctx.webkitImageSmoothingEnabled = false;
|
|
|
|
ctx.imageSmoothingEnabled = false;
|
|
|
|
|
|
|
|
img.onload = pixelate;
|
|
|
|
img.addEventListener("error", img_error);
|
|
|
|
var draw_img = false;
|
|
|
|
|
|
|
|
img.src = "{{ url_for('showsavedpastes.screenshot', filename=screenshot['screenshot']) }}";
|
|
|
|
|
|
|
|
function pixelate() {
|
|
|
|
/// use slider value
|
|
|
|
if( blocks.value == 50 ){
|
|
|
|
size = 1;
|
|
|
|
} else {
|
|
|
|
var size = (blocks.value) * 0.01;
|
|
|
|
}
|
|
|
|
|
|
|
|
canvas.width = img.width;
|
|
|
|
canvas.height = img.height;
|
|
|
|
|
|
|
|
/// cache scaled width and height
|
|
|
|
w = canvas.width * size;
|
|
|
|
h = canvas.height * size;
|
|
|
|
|
|
|
|
/// draw original image to the scaled size
|
|
|
|
ctx.drawImage(img, 0, 0, w, h);
|
|
|
|
|
|
|
|
/// pixelated
|
|
|
|
ctx.drawImage(canvas, 0, 0, w, h, 0, 0, canvas.width, canvas.height);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
blocks.addEventListener('change', pixelate, false);
|
|
|
|
|
|
|
|
function img_error() {
|
|
|
|
img.onerror=null;
|
|
|
|
img.src="{{ url_for('static', filename='image/AIL.png') }}";
|
|
|
|
blocks.value = 50;
|
|
|
|
pixelate;
|
|
|
|
}
|
|
|
|
</script>
|
2018-08-21 15:54:53 +02:00
|
|
|
|
|
|
|
</html>
|