fixed issues

This commit is contained in:
MHProDev 2022-02-28 01:42:28 +03:30
parent 58348c3913
commit 45f94b075e

View File

@ -220,7 +220,7 @@ class HttpFlood(Thread):
self._target = target
self._raw_target = (self._target.host, (self._target.port or 80))
if not self._target.host[len(self._target.host)].isdigit():
if not self._target.host[len(self._target.host)-1].isdigit():
self._raw_target = (gethostbyname(self._target.host), (self._target.port or 80))
if not referers: