maxkrivich/SlowLoris

User agent issue

Closed this issue · 3 comments

Hi hi,
I just bumped int that 1 minute ago:

└─# slowloris -u http://www.xxxxxxxxxxxxxxx.com -c 100 -s
Attack info:
Target: http://www.xxxxxxxxxxxxxxxxxx.com:80/(00.210.000.11)
Connection count: 100
Mode (silent): True
Error occurred during loading data. Trying to use cache server https://fake-useragent.herokuapp.com/browsers/0.1.11
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/fake_useragent/utils.py", line 154, in load
for item in get_browsers(verify_ssl=verify_ssl):
File "/usr/local/lib/python3.9/dist-packages/fake_useragent/utils.py", line 99, in get_browsers
html = html.split('

')[1]
IndexError: list index out of range

Any clue please?

I suggest reporting this bug here. Unfortunately, there's nothing to fix on slowloris side unless you want to get rid of the library or implement proper handling of these types of exceptions. I'm open to any solutions in case if you have something in your mind that would solve the problem.

Here is the link to the issue fake-useragent/fake-useragent#113