MatrixTM / PyRoxy

MIT License
42 stars 64 forks source link

SyntaxError 3d time with MHDDoS #14

Closed alexnest-ua closed 2 years ago

alexnest-ua commented 2 years ago

image

root@ubuntu-switzeland:~/mhddos_proxy/MHDDoS# python3 start.py get https://sberbank.ru 5 1000 socks5.txt 100 100 Traceback (most recent call last): File "start.py", line 27, in from PyRoxy import Proxy, ProxyChecker, ProxyType, ProxyUtiles File "/usr/local/lib/python3.8/dist-packages/PyRoxy/init.py", line 13, in from PyRoxy import GeoIP, Tools File "/usr/local/lib/python3.8/dist-packages/PyRoxy/Tools/init.py", line 18 rand_char: Callable[[int], chr] = lambda length=16: chr(Random.randint(0, 1000)) for in range(length) ^ SyntaxError: invalid syntax

This error not because of PyProxy directly, but because of not rebuilted MHDDoS

MHProDev commented 2 years ago

reinstall pyroxy

alexnest-ua commented 2 years ago

You need to mention how to do this...

Linux:

sudo apt install python3 -y
sudo apt upgrade python3 -y
sudo apt install python3-pip -y
sudo apt upgrade python3-pip -y
sudo -H pip3 install --upgrade pip
sudo rm -r MHDDoS
git clone https://github.com/MHProDev/MHDDoS.git
cd MHDDoS
sudo pip3 install -r requirements.txt

or if user uses mhddos_proxy:

cd ~
sudo rm -r mhddos_proxy
git clone https://github.com/porthole-ascend-cinnamon/mhddos_proxy.git
cd mhddos_proxy
git clone https://github.com/MHProDev/MHDDoS.git
sudo pip3 install -r MHDDoS/requirements.txt

On Windows install Git and Python3 and remove sudo from commands