Skip to content

Commit

Permalink
chg: [UI crawled domains] Download all domain content (HTML + HAR + s…
Browse files Browse the repository at this point in the history
…creenshot)
  • Loading branch information
Terrtia committed Jun 12, 2019
1 parent 2b6cb86 commit 5183a34
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion var/www/modules/hiddenServices/Flask_hiddenServices.py
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ def show_domain():

return render_template("showDomain.html", domain=domain, last_check=last_check, first_seen=first_seen,
l_pastes=l_pastes, paste_tags=paste_tags, bootstrap_label=bootstrap_label,
dict_links=dict_links,
dict_links=dict_links, port=port, epoch=epoch,
origin_paste_tags=origin_paste_tags, status=status,
origin_paste=origin_paste, origin_paste_name=origin_paste_name,
domain_tags=domain_tags, screenshot=screenshot)
Expand Down
8 changes: 8 additions & 0 deletions var/www/modules/hiddenServices/templates/showDomain.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,14 @@ <h3 class="card-title text-white">{{ domain }} :</h3>
</table>
{%endif%}


<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>

</div>

<div class="col-12 col-xl-6">
Expand Down

0 comments on commit 5183a34

Please sign in to comment.