-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oscrypto / openSSL regex bug when running setup.sh #2286
Comments
👋 @SpookyB00k |
Adding to this bug, because of some other error I found which I cannot find screenshots taken off. |
Awesome @SpookyB00k you save me a lot of time 👏 ! |
Fixed a bug in oscrypto where the regex would fail to recognize the right version of SSL due to insufficient check on multiple digits. However the owner of the repo does not plan to make a new release soon due to time constraints. See -> wbond/oscrypto#78 This can be fixed by using a specific version from git pointing to the right commit. Hence this change in the pyproject.toml file.
We are removing oscrypto dependency from MobSFv3.8 onwards. That should address this. |
Thanks, the solution worked. |
ENVIRONMENT
EXPLANATION OF THE ISSUE
When trying to install MobSF with the provided setup.sh, you may run into the issue that the install fails because it is unable to detect the version of libcrypto.
When working with versions that are higher or equal than 3.0.10 of OpenSSL, the Regex used to detect does not work.
Currently it is
Personally I monkeypatched /home/Sp00kyB00k/.cache/pypoetry/virtualenvs/mobsf-vfi9xHNf-py3.11/lib/python3.11/site-packages/oscrypto/_openssl/_libcrypto_cffi.py to which is far from perfect but good enough to get the install rolling.
Adding the extra + with the last digit should fix it.
STEPS TO REPRODUCE THE ISSUE
Install on Kali Linux by cloning the repository and running the setup.sh
The text was updated successfully, but these errors were encountered: