Small changes
This commit is contained in:
@@ -45,6 +45,7 @@ digraph G {
|
|||||||
bundle_download -> index_bundle_names
|
bundle_download -> index_bundle_names
|
||||||
index_bundle_names -> html_bundle
|
index_bundle_names -> html_bundle
|
||||||
index_bundle_names -> html_index
|
index_bundle_names -> html_index
|
||||||
|
index_bundle_names -> html_reverse_domains
|
||||||
"." -> bundle_combine
|
"." -> bundle_combine
|
||||||
bundle_combine -> index_reverse_domains
|
bundle_combine -> index_reverse_domains
|
||||||
index_reverse_domains -> html_reverse_domains
|
index_reverse_domains -> html_reverse_domains
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import os
|
|||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
import common_lib as mylib
|
import common_lib as mylib
|
||||||
import tracker_download as tracker
|
import tracker_download
|
||||||
|
|
||||||
|
|
||||||
THRESHOLD_PERCENT_OF_LOGS = 0.33 # domain appears in % recordings
|
THRESHOLD_PERCENT_OF_LOGS = 0.33 # domain appears in % recordings
|
||||||
@@ -49,7 +49,7 @@ def json_combine(bundle_id):
|
|||||||
try:
|
try:
|
||||||
ddic[key][1].append(num)
|
ddic[key][1].append(num)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
ddic[key] = (tracker.is_tracker(key), [num])
|
ddic[key] = (tracker_download.is_tracker(key), [num])
|
||||||
|
|
||||||
res = {'rec_len': []}
|
res = {'rec_len': []}
|
||||||
pardom = {}
|
pardom = {}
|
||||||
|
|||||||
@@ -116,11 +116,11 @@ def gen_html(bundle_id, obj):
|
|||||||
{ gen_dom_tags(obj['tracker'], isSub=True, onlyTrackers=True) }
|
{ gen_dom_tags(obj['tracker'], isSub=True, onlyTrackers=True) }
|
||||||
<p></p>
|
<p></p>
|
||||||
|
|
||||||
<h4>Overlapping Domains ({ len(obj['pardom']) }):</h4>
|
<h4>Domains ({ len(obj['pardom']) }):</h4>
|
||||||
{ gen_dotgraph(obj['pardom']) }
|
{ gen_dotgraph(obj['pardom']) }
|
||||||
{ gen_dom_tags(obj['pardom'], isSub=False) }
|
{ gen_dom_tags(obj['pardom'], isSub=False) }
|
||||||
|
|
||||||
<h4>Overlapping Subdomains ({ len(obj['subdom']) }):</h4>
|
<h4>Subdomains ({ len(obj['subdom']) }):</h4>
|
||||||
{ gen_dotgraph(obj['subdom']) }
|
{ gen_dotgraph(obj['subdom']) }
|
||||||
{ gen_dom_tags(obj['subdom'], isSub=True) }
|
{ gen_dom_tags(obj['subdom'], isSub=True) }
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 39 KiB |
Reference in New Issue
Block a user