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
968 stars 420 forks source link

When I raise threads to 1000, it come this error #25

Closed yhl5555 closed 4 years ago

yhl5555 commented 4 years ago

Exception in thread Thread-1920: Traceback (most recent call last): File "cc.py", line 213, in cc proxy = random.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

During handling of the above exception, another exception occurred:

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 240, in cc s.close() UnboundLocalError: local variable 's' referenced before assignment

Exception in thread Thread-1921: Traceback (most recent call last): File "cc.py", line 213, in cc proxy = random.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 4 years ago

Looks like ur socks list have some spaces or others stuff. I'll update it as soon as possible.

yhl5555 commented 4 years ago

Traceback (most recent call last): File "cc.py", line 699, in main()#Coded by Leeon123 File "cc.py", line 689, in main th.start() File "/usr/lib64/python3.6/threading.py", line 846, in start _start_new_thread(self._bootstrap, ()) RuntimeError: can't start new thread Can you please have a look about this error when I raise the thread

Leeon123 commented 4 years ago

That runtim eerror is because of your computer can't handle too much thread.

Leeon123 commented 4 years ago

Updated

Queenchick commented 4 years ago

Hi! I am new to ddos. You can throw off video tutorials how to do everything or write thanks in advance