Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_ #40

Open
leo-mercier opened this issue May 30, 2023 · 5 comments
Open

cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_ #40

leo-mercier opened this issue May 30, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@leo-mercier
Copy link

Hello,
i have this error, can you help me.

2023-05-30 16:24:07,135 - StalkPhish.py - INFO - Configuration file to use: .\stalkphish\conf\example.conf
2023-05-30 16:24:07,135 - StalkPhish.py - INFO - Database: ./db/StalkPhish.sqlite3
2023-05-30 16:24:07,136 - StalkPhish.py - INFO - Main table: StalkPhish
2023-05-30 16:24:07,158 - StalkPhish.py - INFO - Investigation table: StalkPhishInvestig
2023-05-30 16:24:07,166 - StalkPhish.py - INFO - Files directory: ./files/
2023-05-30 16:24:07,167 - StalkPhish.py - INFO - Download directory: ./dl/
2023-05-30 16:24:07,167 - StalkPhish.py - INFO - Declared Proxy: None

2023-05-30 16:24:07,167 - StalkPhish.py - INFO - Proceeding to OSINT modules launch
2023-05-30 16:24:07,547 - urlscan.py - INFO - Searching for 'cliquesante'...
2023-05-30 16:24:08,351 - urlquery.py - INFO - Searching for 'cliquesante'...
2023-05-30 16:24:08,358 - StalkPhish.py - ERROR - Main error (<class 'ImportError'>, ImportError("cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' (C:\Users\merci\PycharmProjects\StalkPhish\venv\lib\site-packages\urllib3\util\ssl_.py)"), <traceback object at 0x000001E7AB431180>)

@t4d t4d self-assigned this May 31, 2023
@t4d t4d added the bug Something isn't working label May 31, 2023
@t4d
Copy link
Owner

t4d commented May 31, 2023

Indeed, it may be necessary to modify the code, particularly because of the new urllibv3 features. I'll look into it.

@leo-mercier
Copy link
Author

thanks ! I tried to change some things but no results

@t4d
Copy link
Owner

t4d commented Jun 1, 2023

I made tests with a Linux Alpine 3.18 and urllib3 v2.0.2, and this works as it should. What's your urllib3 version? Did you try to upgrade your urllib3 package?

@nfour14
Copy link

nfour14 commented Jul 8, 2023

Hi! I am getting a similar error - urllib3 2.0.3 is what I am using, this is on Ubuntu 22.04. Maybe I need a downgrade of urllib3?

2023-07-08 18:31:58,976 - StalkPhish.py - ERROR - Main error (<class 'ImportError'>, ImportError("cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' (/home/user/.pyenv/versions/StalkPhishProj/lib/python3.10/site-packages/urllib3/util/ssl_.py)"), <traceback object at 0x7f13e28ea8c0>)

@nfour14
Copy link

nfour14 commented Jul 9, 2023

Downgrade to urllib3 version 1.26.16 seemed to get rid of that error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants