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

script is not working #30

Closed Chandram81 closed 4 years ago

Chandram81 commented 4 years ago

when I try to to attack, script is throwing an error

Exception in thread Thread-384: Traceback (most recent call last): File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/usr/lib/python3.6/threading.py", line 864, in run self._target(*self._args, *self._kwargs) File "cc.py", line 230, in post proxy = Choice(proxies).strip().split(":") File "/usr/lib/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 Exception in thread Thread-179: Traceback (most recent call last): File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/usr/lib/python3.6/threading.py", line 864, in run self._target(self._args, **self._kwargs) File "cc.py", line 230, in post proxy = Choice(proxies).strip().split(":") File "/usr/lib/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

wzyonggege commented 4 years ago

Cause your proxy list is empty.

Chandram81 commented 4 years ago

Cause your proxy list is empty.

Can I have list of Proxy and where do I need save it? Could you please help me on this?

Chandram81 commented 4 years ago

I have updated proxy list, but sill same issue!

Leeon123 commented 4 years ago

Cause your proxy list have empty lines, maybe will add a checker later.

Chandram81 commented 4 years ago

Removed extra lines and it's working fine now!

Noticed, It's not affecting on https domains