Leeon123 / CC-attack

Using Socks4/5 or http proxies to make a multithreading Http-flood/Https-flood (cc) attack.
GNU General Public License v2.0
942 stars 416 forks source link

IndexError: Cannot choose from an empty sequence #109

Open lrkkevin opened 1 year ago

lrkkevin commented 1 year ago

Exception in thread Thread-500: Traceback (most recent call last): File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/usr/lib64/python3.6/threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "cc.py", line 234, in cc proxy = Choice(proxies).strip().split(":") File "/usr/lib64/python3.6/random.py", line 260, in choice raise IndexError('Cannot choose from an empty sequence') from None IndexError: Cannot choose from an empty sequence

Leeon123 commented 1 year ago

Do you really have the proxies list?