Thursday, January 3, 2019

Hacking attempts

I'm no expert and I suspect things are working as designed but I'm
getting multiple admin emails from a production site reporting attempts
to access wsgi.py

So my question is: Can I change the name of wsgi.py so the hackers get
401 errors and maybe go away?

The emails have subject lines like ...

[Django] ERROR (EXTERNAL IP): Invalid HTTP_HOST header:
'43.211.128.177'. You may need to add u'43.211.128.177' to ALLOWED_HOSTS.

ALLOWED_HOSTS is tied down to exactly the website domain.

Thanks

Mike

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9bfa0c95-68a9-170c-fb39-3888d376f98b%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment