Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
Python-3.10.14 /
PCbuild /
Delete
Unzip
Name
Size
Permission
Date
Action
Directory.Build.props
249
B
-rw-r--r--
2024-03-19 22:46
Directory.Build.targets
245
B
-rw-r--r--
2024-03-19 22:46
_asyncio.vcxproj
4.32
KB
-rw-r--r--
2024-03-19 22:46
_asyncio.vcxproj.filters
733
B
-rw-r--r--
2024-03-19 22:46
_bz2.vcxproj
5.27
KB
-rw-r--r--
2024-03-19 22:46
_bz2.vcxproj.filters
2.11
KB
-rw-r--r--
2024-03-19 22:46
_ctypes.vcxproj
5.01
KB
-rw-r--r--
2024-03-19 22:46
_ctypes.vcxproj.filters
1.65
KB
-rw-r--r--
2024-03-19 22:46
_ctypes_test.vcxproj
4.39
KB
-rw-r--r--
2024-03-19 22:46
_ctypes_test.vcxproj.filters
1021
B
-rw-r--r--
2024-03-19 22:46
_decimal.vcxproj
7.67
KB
-rw-r--r--
2024-03-19 22:46
_decimal.vcxproj.filters
5.14
KB
-rw-r--r--
2024-03-19 22:46
_elementtree.vcxproj
5.69
KB
-rw-r--r--
2024-03-19 22:46
_elementtree.vcxproj.filters
3.19
KB
-rw-r--r--
2024-03-19 22:46
_freeze_importlib.vcxproj
7.22
KB
-rw-r--r--
2024-03-19 22:46
_freeze_importlib.vcxproj.filters
1001
B
-rw-r--r--
2024-03-19 22:46
_hashlib.vcxproj
4.52
KB
-rw-r--r--
2024-03-19 22:46
_hashlib.vcxproj.filters
731
B
-rw-r--r--
2024-03-19 22:46
_lzma.vcxproj
5.03
KB
-rw-r--r--
2024-03-19 22:46
_lzma.vcxproj.filters
730
B
-rw-r--r--
2024-03-19 22:46
_msi.vcxproj
4.52
KB
-rw-r--r--
2024-03-19 22:46
_msi.vcxproj.filters
718
B
-rw-r--r--
2024-03-19 22:46
_multiprocessing.vcxproj
4.68
KB
-rw-r--r--
2024-03-19 22:46
_multiprocessing.vcxproj.filters
1.14
KB
-rw-r--r--
2024-03-19 22:46
_overlapped.vcxproj
4.48
KB
-rw-r--r--
2024-03-19 22:46
_overlapped.vcxproj.filters
729
B
-rw-r--r--
2024-03-19 22:46
_queue.vcxproj
4.32
KB
-rw-r--r--
2024-03-19 22:46
_queue.vcxproj.filters
731
B
-rw-r--r--
2024-03-19 22:46
_socket.vcxproj
4.58
KB
-rw-r--r--
2024-03-19 22:46
_socket.vcxproj.filters
1005
B
-rw-r--r--
2024-03-19 22:46
_sqlite3.vcxproj
5.73
KB
-rw-r--r--
2024-03-19 22:46
_sqlite3.vcxproj.filters
2.74
KB
-rw-r--r--
2024-03-19 22:46
_ssl.vcxproj
4.9
KB
-rw-r--r--
2024-03-19 22:46
_ssl.vcxproj.filters
836
B
-rw-r--r--
2024-03-19 22:46
_testbuffer.vcxproj
4.29
KB
-rw-r--r--
2024-03-19 22:46
_testbuffer.vcxproj.filters
730
B
-rw-r--r--
2024-03-19 22:46
_testcapi.vcxproj
4.36
KB
-rw-r--r--
2024-03-19 22:46
_testcapi.vcxproj.filters
734
B
-rw-r--r--
2024-03-19 22:46
_testconsole.vcxproj
4.49
KB
-rw-r--r--
2024-03-19 22:46
_testconsole.vcxproj.filters
919
B
-rw-r--r--
2024-03-19 22:46
_testembed.vcxproj
4.42
KB
-rw-r--r--
2024-03-19 22:46
_testembed.vcxproj.filters
923
B
-rw-r--r--
2024-03-19 22:46
_testimportmultiple.vcxproj
4.37
KB
-rw-r--r--
2024-03-19 22:46
_testimportmultiple.vcxproj.filters
738
B
-rw-r--r--
2024-03-19 22:46
_testinternalcapi.vcxproj
4.37
KB
-rw-r--r--
2024-03-19 22:46
_testinternalcapi.vcxproj.filters
736
B
-rw-r--r--
2024-03-19 22:46
_testmultiphase.vcxproj
4.5
KB
-rw-r--r--
2024-03-19 22:46
_testmultiphase.vcxproj.filters
927
B
-rw-r--r--
2024-03-19 22:46
_tkinter.vcxproj
5.86
KB
-rw-r--r--
2024-03-19 22:46
_tkinter.vcxproj.filters
832
B
-rw-r--r--
2024-03-19 22:46
_uuid.vcxproj
4.51
KB
-rw-r--r--
2024-03-19 22:46
_uuid.vcxproj.filters
804
B
-rw-r--r--
2024-03-19 22:46
_zoneinfo.vcxproj
4.32
KB
-rw-r--r--
2024-03-19 22:46
_zoneinfo.vcxproj.filters
728
B
-rw-r--r--
2024-03-19 22:46
blurb.bat
885
B
-rw-r--r--
2024-03-19 22:46
build.bat
7.33
KB
-rw-r--r--
2024-03-19 22:46
build_env.bat
26
B
-rw-r--r--
2024-03-19 22:46
clean.bat
133
B
-rw-r--r--
2024-03-19 22:46
env.bat
1.28
KB
-rw-r--r--
2024-03-19 22:46
env.ps1
105
B
-rw-r--r--
2024-03-19 22:46
field3.py
974
B
-rw-r--r--
2024-03-19 22:46
find_msbuild.bat
2.88
KB
-rw-r--r--
2024-03-19 22:46
find_python.bat
3.3
KB
-rw-r--r--
2024-03-19 22:46
fix_encoding.py
952
B
-rwxr-xr-x
2024-03-19 22:46
get_external.py
2.3
KB
-rwxr-xr-x
2024-03-19 22:46
get_externals.bat
4.4
KB
-rw-r--r--
2024-03-19 22:46
idle.bat
713
B
-rw-r--r--
2024-03-19 22:46
lib.pyproj
89.94
KB
-rw-r--r--
2024-03-19 22:46
libffi.props
1.04
KB
-rw-r--r--
2024-03-19 22:46
liblzma.vcxproj
14.46
KB
-rw-r--r--
2024-03-19 22:46
liblzma.vcxproj.filters
17.66
KB
-rw-r--r--
2024-03-19 22:46
openssl.props
1.5
KB
-rw-r--r--
2024-03-19 22:46
openssl.vcxproj
5.8
KB
-rw-r--r--
2024-03-19 22:46
pcbuild.proj
6.35
KB
-rw-r--r--
2024-03-19 22:46
pcbuild.sln
116.94
KB
-rw-r--r--
2024-03-19 22:46
prepare_libffi.bat
7.42
KB
-rw-r--r--
2024-03-19 22:46
prepare_ssl.bat
2.12
KB
-rw-r--r--
2024-03-19 22:46
prepare_ssl.py
6.75
KB
-rwxr-xr-x
2024-03-19 22:46
prepare_tcltk.bat
1.97
KB
-rw-r--r--
2024-03-19 22:46
pyexpat.vcxproj
4.9
KB
-rw-r--r--
2024-03-19 22:46
pyexpat.vcxproj.filters
1.4
KB
-rw-r--r--
2024-03-19 22:46
pylauncher.vcxproj
4.51
KB
-rw-r--r--
2024-03-19 22:46
pylauncher.vcxproj.filters
1.02
KB
-rw-r--r--
2024-03-19 22:46
pyproject.props
14.59
KB
-rw-r--r--
2024-03-19 22:46
pyshellext.vcxproj
4.63
KB
-rw-r--r--
2024-03-19 22:46
pyshellext.vcxproj.filters
1.02
KB
-rw-r--r--
2024-03-19 22:46
python.props
16.03
KB
-rw-r--r--
2024-03-19 22:46
python.vcxproj
7.02
KB
-rw-r--r--
2024-03-19 22:46
python.vcxproj.filters
850
B
-rw-r--r--
2024-03-19 22:46
python3dll.vcxproj
4.36
KB
-rw-r--r--
2024-03-19 22:46
python3dll.vcxproj.filters
904
B
-rw-r--r--
2024-03-19 22:46
python_uwp.vcxproj
5.12
KB
-rw-r--r--
2024-03-19 22:46
python_uwp.vcxproj.filters
848
B
-rw-r--r--
2024-03-19 22:46
pythoncore.vcxproj
29.42
KB
-rw-r--r--
2024-03-19 22:46
pythoncore.vcxproj.filters
42
KB
-rw-r--r--
2024-03-19 22:46
pythonw.vcxproj
4.44
KB
-rw-r--r--
2024-03-19 22:46
pythonw.vcxproj.filters
723
B
-rw-r--r--
2024-03-19 22:46
pythonw_uwp.vcxproj
5.13
KB
-rw-r--r--
2024-03-19 22:46
pythonw_uwp.vcxproj.filters
850
B
-rw-r--r--
2024-03-19 22:46
pywlauncher.vcxproj
4.51
KB
-rw-r--r--
2024-03-19 22:46
pywlauncher.vcxproj.filters
1.02
KB
-rw-r--r--
2024-03-19 22:46
readme.txt
11.2
KB
-rw-r--r--
2024-03-19 22:46
regen.targets
5.57
KB
-rw-r--r--
2024-03-19 22:46
rmpyc.py
409
B
-rw-r--r--
2024-03-19 22:46
rt.bat
2.67
KB
-rw-r--r--
2024-03-19 22:46
select.vcxproj
4.45
KB
-rw-r--r--
2024-03-19 22:46
select.vcxproj.filters
731
B
-rw-r--r--
2024-03-19 22:46
sqlite3.vcxproj
5.48
KB
-rw-r--r--
2024-03-19 22:46
sqlite3.vcxproj.filters
1.08
KB
-rw-r--r--
2024-03-19 22:46
tcl.vcxproj
3.03
KB
-rw-r--r--
2024-03-19 22:46
tcltk.props
4.27
KB
-rw-r--r--
2024-03-19 22:46
tix.vcxproj
3.95
KB
-rw-r--r--
2024-03-19 22:46
tk.vcxproj
3.32
KB
-rw-r--r--
2024-03-19 22:46
unicodedata.vcxproj
4.46
KB
-rw-r--r--
2024-03-19 22:46
unicodedata.vcxproj.filters
1.09
KB
-rw-r--r--
2024-03-19 22:46
urlretrieve.py
1.16
KB
-rw-r--r--
2024-03-19 22:46
venvlauncher.vcxproj
4.67
KB
-rw-r--r--
2024-03-19 22:46
venvlauncher.vcxproj.filters
847
B
-rw-r--r--
2024-03-19 22:46
venvwlauncher.vcxproj
4.68
KB
-rw-r--r--
2024-03-19 22:46
venvwlauncher.vcxproj.filters
847
B
-rw-r--r--
2024-03-19 22:46
winsound.vcxproj
4.51
KB
-rw-r--r--
2024-03-19 22:46
winsound.vcxproj.filters
796
B
-rw-r--r--
2024-03-19 22:46
xxlimited.vcxproj
4.37
KB
-rw-r--r--
2024-03-19 22:46
xxlimited.vcxproj.filters
445
B
-rw-r--r--
2024-03-19 22:46
xxlimited_35.vcxproj
4.38
KB
-rw-r--r--
2024-03-19 22:46
xxlimited_35.vcxproj.filters
450
B
-rw-r--r--
2024-03-19 22:46
Save
Rename
#! /usr/bin/env python3 # Script for preparing OpenSSL for building on Windows. # Uses Perl to create nmake makefiles and otherwise prepare the way # for building on 32 or 64 bit platforms. # Script originally authored by Mark Hammond. # Major revisions by: # Martin v. Löwis # Christian Heimes # Zachary Ware # THEORETICALLY, you can: # * Unpack the latest OpenSSL release where $(opensslDir) in # PCbuild\pyproject.props expects it to be. # * Install ActivePerl and ensure it is somewhere on your path. # * Run this script with the OpenSSL source dir as the only argument. # # it should configure OpenSSL such that it is ready to be built by # ssl.vcxproj on 32 or 64 bit platforms. from __future__ import print_function import os import re import sys import subprocess from shutil import copy # Find all "foo.exe" files on the PATH. def find_all_on_path(filename, extras=None): entries = os.environ["PATH"].split(os.pathsep) ret = [] for p in entries: fname = os.path.abspath(os.path.join(p, filename)) if os.path.isfile(fname) and fname not in ret: ret.append(fname) if extras: for p in extras: fname = os.path.abspath(os.path.join(p, filename)) if os.path.isfile(fname) and fname not in ret: ret.append(fname) return ret # Find a suitable Perl installation for OpenSSL. # cygwin perl does *not* work. ActivePerl does. # Being a Perl dummy, the simplest way I can check is if the "Win32" package # is available. def find_working_perl(perls): for perl in perls: try: subprocess.check_output([perl, "-e", "use Win32;"]) except subprocess.CalledProcessError: continue else: return perl if perls: print("The following perl interpreters were found:") for p in perls: print(" ", p) print(" None of these versions appear suitable for building OpenSSL") else: print("NO perl interpreters were found on this machine at all!") print(" Please install ActivePerl and ensure it appears on your path") def copy_includes(makefile, suffix): dir = 'inc'+suffix+'\\openssl' try: os.makedirs(dir) except OSError: pass copy_if_different = r'$(PERL) $(SRC_D)\util\copy-if-different.pl' with open(makefile) as fin: for line in fin: if copy_if_different in line: perl, script, src, dest = line.split() if not '$(INCO_D)' in dest: continue # We're in the root of the source tree src = src.replace('$(SRC_D)', '.').strip('"') dest = dest.strip('"').replace('$(INCO_D)', dir) print('copying', src, 'to', dest) copy(src, dest) def run_configure(configure, do_script): print("perl Configure "+configure+" no-idea no-mdc2") os.system("perl Configure "+configure+" no-idea no-mdc2") print(do_script) os.system(do_script) def fix_uplink(): # uplink.c tries to find the OPENSSL_Applink function exported from the current # executable. However, we export it from _ssl[_d].pyd instead. So we update the # module name here before building. with open('ms\\uplink.c', 'r', encoding='utf-8') as f1: code = list(f1) os.replace('ms\\uplink.c', 'ms\\uplink.c.orig') already_patched = False with open('ms\\uplink.c', 'w', encoding='utf-8') as f2: for line in code: if not already_patched: if re.search('MODIFIED FOR CPYTHON _ssl MODULE', line): already_patched = True elif re.match(r'^\s+if\s*\(\(h\s*=\s*GetModuleHandle[AW]?\(NULL\)\)\s*==\s*NULL\)', line): f2.write("/* MODIFIED FOR CPYTHON _ssl MODULE */\n") f2.write('if ((h = GetModuleHandleW(L"_ssl.pyd")) == NULL) if ((h = GetModuleHandleW(L"_ssl_d.pyd")) == NULL)\n') already_patched = True f2.write(line) if not already_patched: print("WARN: failed to patch ms\\uplink.c") def prep(arch): makefile_template = "ms\\ntdll{}.mak" generated_makefile = makefile_template.format('') if arch == "x86": configure = "VC-WIN32" do_script = "ms\\do_nasm" suffix = "32" elif arch == "amd64": configure = "VC-WIN64A" do_script = "ms\\do_win64a" suffix = "64" else: raise ValueError('Unrecognized platform: %s' % arch) print("Creating the makefiles...") sys.stdout.flush() # run configure, copy includes, patch files run_configure(configure, do_script) makefile = makefile_template.format(suffix) try: os.unlink(makefile) except FileNotFoundError: pass os.rename(generated_makefile, makefile) copy_includes(makefile, suffix) print('patching ms\\uplink.c...') fix_uplink() def main(): if len(sys.argv) == 1: print("Not enough arguments: directory containing OpenSSL", "sources must be supplied") sys.exit(1) if len(sys.argv) == 3 and sys.argv[2] not in ('x86', 'amd64'): print("Second argument must be x86 or amd64") sys.exit(1) if len(sys.argv) > 3: print("Too many arguments supplied, all we need is the directory", "containing OpenSSL sources and optionally the architecture") sys.exit(1) ssl_dir = sys.argv[1] arch = sys.argv[2] if len(sys.argv) >= 3 else None if not os.path.isdir(ssl_dir): print(ssl_dir, "is not an existing directory!") sys.exit(1) # perl should be on the path, but we also look in "\perl" and "c:\\perl" # as "well known" locations perls = find_all_on_path("perl.exe", [r"\perl\bin", r"C:\perl\bin", r"\perl64\bin", r"C:\perl64\bin", ]) perl = find_working_perl(perls) if perl: print("Found a working perl at '%s'" % (perl,)) else: sys.exit(1) if not find_all_on_path('nmake.exe'): print('Could not find nmake.exe, try running env.bat') sys.exit(1) if not find_all_on_path('nasm.exe'): print('Could not find nasm.exe, please add to PATH') sys.exit(1) sys.stdout.flush() # Put our working Perl at the front of our path os.environ["PATH"] = os.path.dirname(perl) + \ os.pathsep + \ os.environ["PATH"] old_cwd = os.getcwd() try: os.chdir(ssl_dir) if arch: prep(arch) else: for arch in ['amd64', 'x86']: prep(arch) finally: os.chdir(old_cwd) if __name__=='__main__': main()