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

Zoom in graph is cutting the beginning and end of IPs/hostnames #12

Open eschultze opened 5 years ago

eschultze commented 5 years ago

Example 1 image

Example 2 image

woj-ciech commented 5 years ago

Hey, That's known issue that I couldn't mitigate, but at the end graph is displayed in Tkinter window, which allows you to extend whole image and then save it again. For your particular issue I tried to save graph as PDF and experiment with dpi but with no success

eschultze commented 5 years ago

Oh, I forgot to mention I'm using it on a server without a screen. So I had to add two lines at the beginning of danger-zone.py which are import matplotlib and matplotlib.use('Agg')

Thanks for your help

woj-ciech commented 5 years ago

Glad it's working. I will keep this open in case someone else also face this issue. Thanks!