Open jack3841 opened 1 year ago
Same, on arch, python3, requirements installed fine
Having the same error, did anyone find a fix?
Hello, if you are using python3 then you can fix this by with edit socks.py file. You need to change the line 62
Replace this "from collections import Callable"
with this "from collections.abc import Callable"
Or just run this sed -i 's/from collections import Callable/from collections.abc import Callable/g' socks.py
But please, remember this is temporary solution, Zamanry has an open PR about this, so when this pr will merge you can just pull this
Hello, if you are using python3 then you can fix this by with edit socks.py file. You need to change the line 62
Replace this
"from collections import Callable"
with this"from collections.abc import Callable"
@Fojx Thank you for your comment. After some time tinkering around, it now works, even with GitHub actions.
upon running the command, I am getting below errors
python3 cloudfail.py --target seo.com
import socks
File "/home/kali/CloudFail/socks.py", line 62, in
from collections import Callable
ImportError: cannot import name 'Callable' from 'collections' (/usr/lib/python3.10/collections/init.py)
~}}
/home/kali/CloudFail/cloudfail.py:180: SyntaxWarning: "is not" with a literal. Did you mean "!="? while choice is not 'y' and choice is not 'n': /home/kali/CloudFail/cloudfail.py:180: SyntaxWarning: "is not" with a literal. Did you mean "!="? while choice is not 'y' and choice is not 'n': /home/kali/CloudFail/cloudfail.py:180: SyntaxWarning: "is not" with a literal. Did you mean "!="? while choice is not 'y' and choice is not 'n': /home/kali/CloudFail/cloudfail.py:180: SyntaxWarning: "is not" with a literal. Did you mean "!="? while choice is not 'y' and choice is not 'n': /home/kali/CloudFail/cloudfail.py:182: SyntaxWarning: "is" with a literal. Did you mean "=="? if choice is 'y': Traceback (most recent call last): File "/home/kali/CloudFail/cloudfail.py", line 9, in