404notfound Posted December 4, 2018 Posted December 4, 2018 Oh, one important thing. _socket.pyd ws2_32.dll inet_ntop inet_pton These are missing. 1
Dibya Posted December 4, 2018 Posted December 4, 2018 20 minutes ago, 404notfound said: Oh, one important thing. _socket.pyd ws2_32.dll inet_ntop inet_pton These are missing. I can fix that . Please can you check someother py files for me ? Thanks my friend
404notfound Posted December 4, 2018 Posted December 4, 2018 3 hours ago, Dibya said: I can fix that . Please can you check someother py files for me ? Thanks my friend The IAT imports of the other .pyd and .dll are fine.
404notfound Posted December 4, 2018 Posted December 4, 2018 Hmmm, the registry settings I had in mind are relevant to py.exe launcher, which is useful for managing multiple python versions rather than a portable package.https://www.python.org/dev/peps/pep-0514/https://pastebin.com/Da2NYpTd How these work is that py.exe will launch appropiate python(w).exe according to registry settings and beginning of script. #!python2 #!python3 #!python3.4 #!python2.7 It's good to know when installing new python into place. Also another note is when installing on x64 system with x86 python, is changed reg path. [HKEY_CURRENT_USER\SOFTWARE\Wow6432Node\Python\PythonCore\... 1
404notfound Posted December 5, 2018 Posted December 5, 2018 (edited) I did a little doohickey, untested. Throw it in python directory. Edit: whoops, I f***ed up, redownload. Edit: third time is lucky. patch.zip Edited December 5, 2018 by 404notfound 3
-SnooPY- Posted December 5, 2018 Posted December 5, 2018 (edited) On 12/5/2018 at 3:11 AM, 404notfound said: I did a little doohickey, untested.Throw it in python directory. patch.zip C:\Temp\python-3.7.1>python Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:05:16) [MSC v.1915 32 bit (Intel)] on win32 >>> import socket >>> import _socket >>> ^Z C:\Temp\python-3.7.1>python get-pip.py Collecting pip Downloading https://files.pythonhosted.org/packages/c2/d7/90f34cb0d83a6c5631cf71dfe64cc1054598c843a92b400e55675cc2ac37 /pip-18.1-py2.py3-none-any.whl (1.3MB) 100% |████████████████████████████████| 1.3MB 728kB/s Collecting setuptools Downloading https://files.pythonhosted.org/packages/e7/16/da8cb8046149d50940c6110310983abb359bbb8cbc3539e6bef95c29428a /setuptools-40.6.2-py2.py3-none-any.whl (573kB) 100% |████████████████████████████████| 573kB 819kB/s Collecting wheel Downloading https://files.pythonhosted.org/packages/ff/47/1dfa4795e24fd6f93d5d58602dd716c3f101cfd5a77cd9acbe519b44a0a9 /wheel-0.32.3-py2.py3-none-any.whl Installing collected packages: pip, setuptools, wheel Successfully installed pip setuptools wheel Everything works perfectly! UPDATE: Just FYI - ws2_32.dll from Extended Kernel for XP (ExtendedXP) works great too. Edited December 10, 2018 by -SnooPY- 2
-SnooPY- Posted December 6, 2018 Posted December 6, 2018 (edited) Sorry, but what about Tkinter in embedded Python 3.7.1? pip does not find anything related to this package. 1. Download from https://www.python.org/ftp/python/3.7.1/win32/tcltk.msi 2. Unpack manually and do something like this. Edited December 7, 2018 by -SnooPY- Problem solved
-SnooPY- Posted December 7, 2018 Posted December 7, 2018 (edited) When trying to install something with pip, you may encounter an error: [Errno 0] Error: 'lib2to3 \\ Grammar3.7.1.final.0.pickle' The easiest workaround I found here. Hope this is helpful. Good luck to all! Edited December 10, 2018 by -SnooPY-
-SnooPY- Posted January 28, 2019 Posted January 28, 2019 (edited) I apologize, but did anyone try to run ProxHTTPSProxyMII v1.5 under WinXP? I managed to overcome several difficulties, but I suspect another incompatibility with ws2_32.dll in _openssl.cp37-win32.pyd. Unfortunately, the replacement for ws2_xx.dll didn't give the expected result. What other ideas could there be? Edited January 28, 2019 by -SnooPY- Fix direct link
dencorso Posted January 28, 2019 Posted January 28, 2019 I use it (Rev. 2n) regularly. @Dave-H uses it all the time, IIRR. Maybe the revision you're using is too old. Do PM @heinoganda for a newer one, before doing anything else... Good luck!
Mathwiz Posted January 28, 2019 Posted January 28, 2019 (edited) The versions of ProxHTTPSProxyMII we've been using all derive from version 1.4 of the original, but apparently it's still being maintained by the original author, and last June a version 1.5 was released with some changes: Quote Version 1.5 (20180616) -------------- + SubjectAltNames support for DNS and IP - Leading '*' in commonname. * Generated cert's Subject field still uses '*' due to some hosts using more characters than allowed. Example: 18cfdfd73150f69310ab-4d842a0601d0ae955a714605e7fb6d6f.ssl.cf2.rackcdn.com. Edit: The link @-SnooPY- provided had Python code only. I guess that's what @-SnooPY- is trying to get working with Python 3.7. The full version, compiled with Python 3.4, is at http://jjoe.proxfilter.net/ProxHTTPSProxyMII/files/ProxHTTPSProxyMII 1.5 34cx_freeze5.0.1urllib3v1.22Win32OpenSSL_Light-1_0_2o-1_1_0h.zip. (Whew; what a file name) Edited January 28, 2019 by Mathwiz
-SnooPY- Posted January 28, 2019 Posted January 28, 2019 4 hours ago, dencorso said: I use it (Rev. 2n) regularly. @Dave-H uses it all the time, IIRR. Maybe the revision you're using is too old. Do PM @heinoganda for a newer one, before doing anything else... Good luck! Honestly, I did not quite understand your answer. I meant that I can't use the OpenSSL module in Python 3.7.1, which is discussed in this topic. C:\Temp\python-3.7.1>python Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:05:16) [MSC v.1915 32 bit (Intel)] on win32 >>> import ssl >>> ssl.OPENSSL_VERSION 'OpenSSL 1.1.0i 14 Aug 2018' >>> import OpenSSL Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Temp\python-3.7.1\Lib\site-packages\OpenSSL\__init__.py", line 8, in <module> from OpenSSL import crypto, SSL File "C:\Temp\python-3.7.1\Lib\site-packages\OpenSSL\crypto.py", line 16, in <module> from OpenSSL._util import ( File "C:\Temp\python-3.7.1\Lib\site-packages\OpenSSL\_util.py", line 6, in <module> from cryptography.hazmat.bindings.openssl.binding import Binding File "C:\Temp\python-3.7.1\Lib\site-packages\cryptography\hazmat\bindings\openssl\binding.py", line 14, in <module> from cryptography.hazmat.bindings._openssl import ffi, lib ImportError: DLL load failed: The specified module could not be found. >>> ^Z C:\Temp\python-3.7.1> Does anyone know how to fix it? Thanks a lot.
-SnooPY- Posted January 29, 2019 Posted January 29, 2019 (edited) I continue to talk to myself. It turned out that _openssl.cp37-win32.pyd contains bcrypt.dll in the import table. But in WinXP this library is physically missing. Edited January 29, 2019 by -SnooPY- Added a screnshot
Mathwiz Posted January 29, 2019 Posted January 29, 2019 So you need a legal bcrypt.dll that runs on XP. ReactOS? Wine?
-SnooPY- Posted January 29, 2019 Posted January 29, 2019 1 hour ago, Mathwiz said: So you need a legal bcrypt.dll that runs on XP. ReactOS? Wine? I don’t think bcrypt.dll is really needed here. Version 1.5, which you mentioned above, does not need any additional libraries. I just hoped that it was possible to do a thing like this patch for ws2_32.dll that implements only two missing functions.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now