woj-ciech / Danger-zone

Correlate data between domains, IPs and email addresses, present it as a graph and store everything into Elasticsearch and JSON files.
669 stars 127 forks source link

error when generate graphics #10

Closed NoThrowForwardIt closed 5 years ago

NoThrowForwardIt commented 5 years ago

2018-09-25_07-48-15 this error is when it is finishing..

SO: Kali GNU/Linux Rolling \n \l Linux kali 4.17.0-kali1-amd64 #1 SMP Debian 4.17.8-1kali1 (2018-07-24) x86_64 GNU/Linux

ERROR:

Traceback (most recent call last): File "danger-zone.py", line 230, in tools.save_graph(G, domain) File "/root/Danger-zone/tools.py", line 74, in save_graph nx.draw(G, with_labels=True) # ,edge_colors=colors) File "/usr/local/lib/python2.7/dist-packages/networkx/drawing/nx_pylab.py", line 112, in draw cf = plt.gcf() File "/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 586, in gcf return figure() File "/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 535, in figure **kwargs) File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py", line 81, in new_figure_manager return new_figure_manager_given_figure(num, figure) File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py", line 89, in new_figure_manager_given_figure window = Tk.Tk() File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1822, in init self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: no display name and no $DISPLAY environment variable

woj-ciech commented 5 years ago

Hey, please find https://github.com/woj-ciech/Danger-zone/issues/4