
cmalex
MemberContent Type
Profiles
Forums
Events
Everything posted by cmalex
-
Greetings. Yet another "mess of things" ;-) https://mega.nz/folder/CgkRVQZA#d6J2CHt65J-vAEhwb0CmFg Python 3.9.13 with some wheels. Custom variables - PYTHONCOMPILER = "mingw"/"mingw32"/"msvc" to force set compiler of distutils SETUPTOOLS_USE_DISTUTILS = "stdlib" / "local" - to disallow (""stdlib") or allow ("local") of use bundled into setuptools distutils. PS Loki 0.45.0 https://mega.nz/file/nwkGAa7C#MZ3seTUo3zzHproGQXqNsrGvo2VUHppzTpiukJjeJsc Best regards.
-
Greetings. Sorry, currently didn't have access to Windows comp. I'll check it in nearest time. https://github.com/Neo23x0/Loki ? Looks like it didn't require compiling. Try to install it on target XP machine from source folder in editable (developer) mode: pip install -e d:\LokiSourceFolder or cd /d d:\LokiSourceFolder pip install -e . PyInstaller binaries prefer to use their own packages and folders. So the system-wide python can just be ignored. Please use "pip install -e" ;-) It's a first error - with pywin32 (loki.py, line 69). Please execute manually commands import wmi import win32api from win32com.shell import shell import win32file AFAIK this is a big problem... Subprocesses will start to be executed in visible cmd windows - to grab their output. I hope that i'm wrong. It's a very big distance between versions. Did You tried to run 0.40.0 BETA - first Python3 release? Git themself gave a handy instrument to find problems - "git bisect" Best regards. UPD: 1. Last compatible pywin32-300 2. pip -e didn't work. You can manually add path to unpacked source (for example "C:\Loki-0.45.0" ) to files "Lib\site-packages\loki.egg-path" and "Lib\site-packages\easy-install.pth". Then run with "python -m loki" UPD2: 0. loki-upgrader.py must be in PATH... I'd create bat in Loki source folder: 1. pe-sieve32.exe work after replace "GetTickCount64" with "GetTickCount\0\0" 2. At least my version of python3.8 gave error with psutils 5.6.7, compiled by me during "connections()" loop. loki.py line 873. Temporarly replace "p.connections():" with "[]:"... (UPD: Look like lack of update. On my main system with same Python folder psutils 5.6.7 works fine. ) Can You please give to me Yours build of psutils-3.4.2 ? PS. Looks like it work.
-
Greetings. Python 3.9.0 at real WinXP 368/14/43 tests currently passed/failed/skipped ('python -m test') I know that at least Streamlink 5.3.1 work fine. Most of "C extensions" currently incompatible with my preferred "AthlonXP 2000+" due to lack of SSE2 support :-(. That's why I'm forced to collect them by myself... Best regards.
-
Greetings. May be. I'd never used CFFExplorer. HxD or GSAR utility(General Search And Replace - https://gnuwin32.sourceforge.net/packages/gsar.htm ). Not sure. KernelXP.dll must exist in %PATH% or near python.exe I need to check it once more. Did You surely used pyconfig.h from DEV\Python3.8_dev_ddfdeced29.7z ? Sorry, i did not understood - why psutils easy compiles in my system - but throw errors on Your's with same configs... Best regards.
-
Greetings. Please check lib\site-packages\PIL\_imaging.cp38-win32.pyd for "kernel32.dll" strings. If there are any - replace them with "kernelxp.dll" Best regards.
-
ProxHTTPSProxy and HTTPSProxy in Windows XP for future use
cmalex replied to AstroSkipper's topic in Windows XP
Greetings. "libcurl 7.69 with schannel" and "curl 7.46 with openssl" - is a incomparable thing :-( There is some problems with OpenSSL and "Let's Encrypt" certificates, so simplest way is to use ProxyMII + custom libcurl. In attachment - libcurl 7.69.1 with schannel, built on Visual Studio C Express 2008 with forced disabled revocation (string 516 in lib\vtls\schannel.c). Please set masterserver_debug to "Off" - or this library may crash (i can't understood - why?) Best regards. libcurl.7z- 720 replies
-
- 2
-
-
- HTTPSProxy
- ProxHTTPSProxy
-
(and 3 more)
Tagged with:
-
ProxHTTPSProxy and HTTPSProxy in Windows XP for future use
cmalex replied to AstroSkipper's topic in Windows XP
Greetings. Thank you for Your attention and my best wishes to You. "These aren't the droids you're looking for." (c) Problem is to force ProxiMII certificate as trusted for program, that didn't allow this from settings and didn't use Windows certificate store. I can't figure out how an abstract program works with https - i need to investigate this specimen :-). curl mostly uses ".curlrc" (in variaty of names for customs builds) and "cacert.pem" (idem) OpenSSL is a Unix things - it's wide use config files and environment variables. But which settings was forced during compiling time? Is it was linked statically or dynamically? Does it use one of openssl.cnf, cacert.pem, SSL_DIR_PATH, SSL_FILE_PATH? Best regards.- 720 replies
-
- 2
-
-
- HTTPSProxy
- ProxHTTPSProxy
-
(and 3 more)
Tagged with:
-
ProxHTTPSProxy and HTTPSProxy in Windows XP for future use
cmalex replied to AstroSkipper's topic in Windows XP
Greetings. At least with some version of curl (and OpenSSL) it works. Best regards. test_curl.zip- 720 replies
-
- 1
-
-
- HTTPSProxy
- ProxHTTPSProxy
-
(and 3 more)
Tagged with:
-
ProxHTTPSProxy and HTTPSProxy in Windows XP for future use
cmalex replied to AstroSkipper's topic in Windows XP
Greetings. Certificates and proxy settings from IE are not always respected by curl and libcurl. Did You tried system variables, used by libcurl - "https_proxy" for example https://curl.se/libcurl/c/libcurl-env.html If You know exactly which SSL backend is used - You can use it's own enviroment variables for CA certificates. For example, OpenSSL has been using "SSL_CERT_FILE" and "SSL_CERT_DIR" since the dawn of time : https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_default_verify_paths.html https://www.openssl.org/docs/man3.0/man7/openssl-env.html Best regards.- 720 replies
-
- HTTPSProxy
- ProxHTTPSProxy
-
(and 3 more)
Tagged with:
-
Greetings. Wouldn't it be difficult for You to test the compiled package wxPython 4.2.1? https://mega.nz/file/ulk3SZhL#Yn_OAQ67cKljIIVZuAMvWlOG2wemrkD8JOm9PNFX5GU Compiled Numpy 1.24 https://mega.nz/file/j01VFB7C#4jk54UWLqjwDxAJWseRCBI7kI6Mo9mqr2LdtgjUBOcM To get Pillow 9.2.0 work in WinXP You need to replace "kernel32" to "kernelxp" in pyd files. DLLs search path doesn't work in my build of Python - so You need to move all dlls recursively from lib/site-packages to PATH folder (or to python.exe folder). Best regards.
-
Greetings. Most of wheels were built with http://files.1f0.de/mingw/mingw-w64-gcc-6.1-stable-r20.7z . http://files.1f0.de/mingw/mingw-w64-gcc-10.3-stable-r34.7z also work well on WinXP. Simple bat example set "PATH=C:\Python38;D:\Mingw_61\bin;%PATH%" python setup.py -c mingw32 For full Posix enviroment i'd used MSYS from mingw,org (AFAIK now it hosted at https://osdn.net/projects/mingw/). MSYS2 didn't work for me because of lack SSE2 support. psutils were built in MSVC 2017 (Win8.1). Do You need exact version? As for now i don't find ways to build it in mingw... My MSVC build gave "Invalid access for memory location" error - same as wxWidget from PyPi do. Best regards.
-
Greetings. Does this mean that this Python interpreter was built using the --without-threads option in order to disable threads? 3.8.1350? I'm not sure about version numbering. 3.8_1a5d0099c3 work with psutil 5.6.7 normally. psutil > 5.6.7 throwed away WinXP support. Please take look at pyconfig.h - it must contain string "#define NT_THREADS" Mostly standard. It was build on MS VC 2017. Changes in config files listed in Python3.8_dev_1a5d0099c3.7z/patch.diff Best regards. psutil-5.6.7-cp38-cp38-win32.whl
-
ProxHTTPSProxy and HTTPSProxy in Windows XP for future use
cmalex replied to AstroSkipper's topic in Windows XP
Greetings. Minimal batch testcase. Tested in WinXP, Win Vista (long time ago) and Win8.1(just now). When child cmd closed with 'x' button in top right corner (or by taskkill /FI "WINDOWTITLE eq testX" ), parent cmd will ask "Terminate job batch" and return errorlevel -1073741510. start /w "testX" cmd /k "echo Close me with 'x' button" echo Errorlevel is %errorlevel% pause Workaround (unfotrunatly, with any errorlevel's loss from child app) cmd /c "start "testX" /w cmd /k "echo Close me with x"" echo Errorlevel is %errorlevel% pause Best regards.- 720 replies
-
- 1
-
-
- HTTPSProxy
- ProxHTTPSProxy
-
(and 3 more)
Tagged with:
-
ProxHTTPSProxy and HTTPSProxy in Windows XP for future use
cmalex replied to AstroSkipper's topic in Windows XP
Greetings. No. They do the same and don't depend on each other. ProxHTTPSProxy.exe is a dummy exe from PIP ("Lib\site-packages\pip\_vendor\distlib\t32.exe") + something name "shebang" ("#!./python.exe") + zip-archive of __main__.py with just one string - "import ProxHTTPSProxy". I find something. It must call "on_exit" function then window closed. I'll try to integrate it. import win32api import time def on_exit(signal_type): print('caught signal:', str(signal_type)) time.sleep(1) for i in range(1,5): print (6-i) time.sleep(1) win32api.SetConsoleCtrlHandler(on_exit, True) time.sleep(30) Privoxy? I'd something like it... But why did I abandon it and not use it? I don't remember... Do You know how to test it and get it to work? https://mega.nz/file/Hk1mQL6L#hag3q96mhhvlHqPd7gxwNQY2pjcCqq-Ce3aRJSYLi34 - package (minimal set of files to launch) https://mega.nz/file/fwMDCJoJ#3JPVB33oAiBQ5fTLqVhuk1XfkfXXWndlDVA6iv8Yh50 - full copy of dev folder. Best regards.- 720 replies
-
- 2
-
-
-
- HTTPSProxy
- ProxHTTPSProxy
-
(and 3 more)
Tagged with:
-
Greetings. Please say to me, if i do something wrong... https://mega.nz/folder/68dj2YTY#As2w31IO4Smr7gy6p1ciSg OpenSSL*.7z - development files and binaries of OpenSSL (for testing purpose) 3proxy*.7z - package of 3Proxy + SSLPlugin. After launch bin\3proxy.exe it open port MITM 3128 (due to configuration stored in 3proxy.cfg). Additional options - "toggle_certstore" - to not save certificates in certs folder and "ssl_ciphers" - list of allowed ciphers in OpenSSL notation. Default "ALL" (~140ciphers), full set - "ALL:COMPLEMENTOFALL"(~190 ciphers) ProxyMII*.7z - package of ProxyMII + Python3.7.1. After launch ProxHTTPSProxy.exe or ProxHTTPSProxy.bat it open MITM port 8079 (due to config.ini) I'd tried to add to OpenSSL very weak cipher (DES-CBC-SHA) as 'last hope' to connect - but it doesn't work as expected. IE8 can connect with OpenSSL s_server via this cipher, but both 3proxy and ProxyMII throw an error. Yes, it must work without PosReady. At least i'd checked it on fresh virtual WinXP SP3 without additional updates (made sure there was no 256bits ciphers and TLS1.1/TLS1.2). Python 3.7.1 required Microsoft Visual C++ 2015 Redistributable. In 3proxy next config open 3128 as MITM and 3126 as standard proxy for all domains except *.google.com and msfn.org (they will be redirected to 3128 port and, therefore, MITM). Domains must be listed in one line, without spaces, with comma as delimiter. ssl_mitm proxy -p3128 ssl_nomitm allow * * *.google.com,msfn.org parent 1000 connect+ 127.0.0.1 3128 allow * proxy -p3126 Best regards.
- 92 replies
-
- 4
-
-
- TLS 1.3
- ProxHTTPSProxy
-
(and 2 more)
Tagged with:
-
Greetings. SSL3 AES128-SHA (aka TLS_RSA_WITH_AES_128_CBC_SHA) exists on Your's screenshots. So at least one shared cipher exists... But on settings You have SSL3 disabled (very strange that Your's settings and clienttest.ssllabs.com show differ things). Are You able to enable SSL3? Via settings or registry... In registry please check HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\Schannel\Ciphers and HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\Schannel\Protocols My settings is in attachment. Any item enabled, if key Enabled=0 doesn't exists. For quick check You can use full build of OpenSSL with testCipher.bat in bin folder. After run it ask once for certificate data(just leave empty) and must run ssl server at port 44330 (please just ignore certificate errors). https://mega.nz/#!3tF0zazQ!GBR8-4Zqnzd2D_UWf6CRLkqWJ1Au5TYEpvnWeXTExzU Best regards. UPD: You can add -cipher "ALL:COMPLEMENTOFALL" to last command (last string, after -www) to use all possible ciphers. schannel.zip testCiphers.bat
- 92 replies
-
- 3
-
-
-
- TLS 1.3
- ProxHTTPSProxy
-
(and 2 more)
Tagged with:
-
Greetings. Please try to replace ProxHTTPSProxy.py and ProxyTool.py with ones from py.zip in attachment. This variant must work even with IE6. If not - can You please open https://clienttest.ssllabs.com:8443/ssltest/viewMyClient.html in Your browser, save it as "Webpage, html-only" and sent to me? Data from my browser - in attachment html.zip Best regards. py.zip html.zip
- 92 replies
-
- 2
-
-
- TLS 1.3
- ProxHTTPSProxy
-
(and 2 more)
Tagged with:
-
Greetings. Sorry, i don't know if full 3proxy documentation exists. There example configs in sources https://github.com/3proxy/3proxy and answers for questions in issues https://github.com/3proxy/3proxy/issues Also exist large Russian topic on RuBoard http://forum.ru-board.com/topic.cgi?forum=5&topic=20458 ... When You asked about 3proxy.cer i'd reviewed changes on site and stuck at License Agreement https://3proxy.ru/current/License.txt I'll include Copying file from 3proxy sources. But will this be enough? Also i'd used (and published) ProxyMII, Python, OpenSSL3(with my Win98 patch), cryptography, LibFFI, cffi - each with its own license agreement and publishing rules. What files should be added and what changes should be made to the structure of the archives to fulfill the terms of the license agreements for each of the components used? When I used for myself I didn't ask these questions... And it's mean that my python 3.8.13 publication also violates the terms of licence. Temporarly i'd add lint in Mega folder to https://docs.python.org/3/license.html ... Best regards.
- 92 replies
-
- 2
-
-
- TLS 1.3
- ProxHTTPSProxy
-
(and 2 more)
Tagged with:
-
Greetings I'd preferred for user. Yes, i'm sure. Code signing certificate - it's about signed executable (some like "Did you want to run untrusted application on this computer") No, 3proxy can't generate certificate and keys by themself. And looks like i'd lost all licensing things from all used components (3proxy, openssl, python, ProxyMII). I'm removing all links. Can You please help get licenses in order? What more files or links You need for it? Best regards.
- 92 replies
-
- 2
-
-
-
- TLS 1.3
- ProxHTTPSProxy
-
(and 2 more)
Tagged with:
-
Greetings. Sorry, my bad. Yes, there is must be three files in certs folder - 3proxy.key, 3proxy.pem, server.key. And You need to import 3proxy.pem. Some info from author - https://3proxy.org/plugins/SSLPlugin/?l=EN I can't find mail - how to prolong or change 3proxy.pem. Initially i got it from author release. In my first variant - config that i had used this time. At launch 3proxy.exe reads 3proxy.cfg >plugin .\plugins\SslPlugin.dll ssl_plugin - load plugin. >nserver 192.168.1.1 - preffered DNS server >nscache 16000 - DNS records live time >ssl_certcache .\certs\ - folder to store certificates >ssl_mitm - begin of ssl_plugin settings >toggle_certstore - switch to cache or not certs in folder >proxy -p3128 - listen at port 3128 as MITM proxy >ssl_nomitm - end of ssl_plugin settings >proxy -p3129 - listen at port 3129 as usual proxy Second config add options to list preffered ciphers. Now - all possible. >ssl_ciphers ALL:COMPLEMENTOFALL And (as my hope) this fragment redirect from socks port 3127 to MITM port 3128. >allow * >parent 1000 connect+ 127.0.0.1 3128 >socks -p3127 I'd never used other 3proxy abilities... Best regards.
- 92 replies
-
- 2
-
-
- TLS 1.3
- ProxHTTPSProxy
-
(and 2 more)
Tagged with:
-
Greretings. Yes. In new archive - upgraded openssl (3.0.0 -> 3.0.5), cryptography (3.3.2 -> 3.4.8), created ProxHTTPSProxy.exe, small changes in directory structure. Best regards.
- 92 replies
-
- 5
-
-
-
- TLS 1.3
- ProxHTTPSProxy
-
(and 2 more)
Tagged with:
-
Greetings. Yes, i see that. But on my screenshots same version with IE8 give me SSL3 TLS1.0 TLS1.1 enabled. And wget also can see SSL3 wget.warc.gz - result of command 'wget -e "https_proxy=127.0.0.1:8079" "https://clienttest.ssllabs.com:8443/ssltest/viewMyClient.html" --no-check-certificate --warc-file=wget' I can't find old mails with descriptions - so much easiest solution is to recompile cryptography 3.4.8 with new OpenSSL3.0.5. 3proxy can use much more ciphers. ProxHTTPSProxy.EXE - launcher based on pip scripts - it just call python37.exe and import ProxHTTPSProxy.py sslproxies2.7z - full ProxyMII and 3proxy with upgraded openssl (3.0.0 -> 3.0.5), cryptography (3.3.2 -> 3.4.8), created ProxHTTPSProxy.exe, small changes in directory structure. Best regards. UPD. And forgot to say - my main comp is verified GMOSSE2-free :-). So it all works on non-SSE2 CPU. wget.warc.gz
- 92 replies
-
- 3
-
-
-
- TLS 1.3
- ProxHTTPSProxy
-
(and 2 more)
Tagged with:
-
Greetings. I'm not sure. Sorry, it was A LOT time ago. I'd preffered to enable weak ciphers for use with IE5 in Win98... Please try to open https://clienttest.ssllabs.com:8443/ssltest/viewMyClient.html with IE. Currently ProxyMII from same archive show all TLS+SSL3. But i remember a much larger amount of ciphers (lack of weak\insecure)... I'll to check my archives. Sorry, i can't set to work neither py2exe nor pyinstaller... Best regards.
- 92 replies
-
- 2
-
-
-
- TLS 1.3
- ProxHTTPSProxy
-
(and 2 more)
Tagged with:
-
Greetings. More than year ago i'd compiled OpenSSL3.0.0 for WinXP and build on it base two MITM proxy for TLS1.3 - ProxHTTPSProxy+Python3.7 (port 8079) and 3proxy+SSLPlugin (port 3128). 3proxy use less memory and CPU resources. Best regards.
- 92 replies
-
- 3
-
-
-
- TLS 1.3
- ProxHTTPSProxy
-
(and 2 more)
Tagged with:
-
Greetings. Next iteration. Restored IPv6, fixed errors. Now 11 test failed (29 subtests), 370 passed. Not sure that I can do something more. Python3.8_1a5d0099c3.7z ssl3.0.5_1a5d0099c3.7z Python3.8_TclTk_1a5d0099c3.7z at https://mega.nz/folder/KxExlAiC#L9rAQ5kTCtlHgZUwaxMpgw Best regards WinXP_Virtual_1a5d0099c3.7z