epsylon / ufonet

UFONet - Denial of Service Toolkit
https://ufonet.03c8.net
2.22k stars 610 forks source link

Error SyntaxError: multiple exception types must be parenthesized #470

Closed anonimusman00 closed 3 months ago

anonimusman00 commented 8 months ago

Traceback (most recent call last): File "/home/id/ufonet/./ufonet", line 10, in from core.main import UFONet File "/home/id/ufonet/core/main.py", line 14, in from Crypto.Cipher import AES File "/usr/local/lib/python3.11/dist-packages/Crypto/Cipher/init.py", line 3, in from Crypto.Cipher._mode_ecb import _create_ecb_cipher File "/usr/local/lib/python3.11/dist-packages/Crypto/Cipher/_mode_ecb.py", line 29, in from Crypto.Util._raw_api import (load_pycryptodome_raw_lib, File "/usr/local/lib/python3.11/dist-packages/Crypto/Util/_raw_api.py", line 256 except OSError, exp: ^^^^^^^^^^^^ SyntaxError: multiple exception types must be parenthesized

I run "python3 ufonet" and get this.Please help me how to fix this error

epsylon commented 3 months ago

should be fixed at this release: https://github.com/epsylon/ufonet/commit/aea21b3c4a8fd2f5aa8c924afa4e96eb455a4e43

try this steps:

  1. git clone https://github.com/epsylon/ufonet (or python3 ufonet --update)
  2. cd ufonet
  3. sudo python3 setup.py
  4. python3 ufonet