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.112
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 /
PC /
Delete
Unzip
Name
Size
Permission
Date
Action
clinic
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
icons
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
layout
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
WinMain.c
449
B
-rw-r--r--
2024-03-19 22:46
_msi.c
36.31
KB
-rw-r--r--
2024-03-19 22:46
_testconsole.c
3.3
KB
-rw-r--r--
2024-03-19 22:46
classicAppCompat.can.xml
6.86
KB
-rw-r--r--
2024-03-19 22:46
classicAppCompat.cat
10.73
KB
-rw-r--r--
2024-03-19 22:46
classicAppCompat.sccd
22.55
KB
-rw-r--r--
2024-03-19 22:46
config.c
5.39
KB
-rw-r--r--
2024-03-19 22:46
crtlicense.txt
1.7
KB
-rw-r--r--
2024-03-19 22:46
dl_nt.c
808
B
-rw-r--r--
2024-03-19 22:46
empty.c
137
B
-rw-r--r--
2024-03-19 22:46
errmap.h
4.94
KB
-rw-r--r--
2024-03-19 22:46
errmap.mak
95
B
-rw-r--r--
2024-03-19 22:46
frozen_dllmain.c
3.89
KB
-rw-r--r--
2024-03-19 22:46
getpathp.c
34.01
KB
-rw-r--r--
2024-03-19 22:46
invalid_parameter_handler.c
549
B
-rw-r--r--
2024-03-19 22:46
launcher.c
65.54
KB
-rw-r--r--
2024-03-19 22:46
msvcrtmodule.c
15.66
KB
-rw-r--r--
2024-03-19 22:46
pyconfig.h
19.9
KB
-rw-r--r--
2024-03-19 22:46
pylauncher.rc
1.61
KB
-rw-r--r--
2024-03-19 22:46
pyshellext.cpp
18.3
KB
-rw-r--r--
2024-03-19 22:46
pyshellext.def
120
B
-rw-r--r--
2024-03-19 22:46
pyshellext.rc
1.24
KB
-rw-r--r--
2024-03-19 22:46
python.manifest
1.29
KB
-rw-r--r--
2024-03-19 22:46
python3dll.c
27.36
KB
-rwxr-xr-x
2024-03-19 22:46
python_exe.rc
1.28
KB
-rw-r--r--
2024-03-19 22:46
python_nt.rc
1.23
KB
-rw-r--r--
2024-03-19 22:46
python_uwp.cpp
7.2
KB
-rw-r--r--
2024-03-19 22:46
python_ver_rc.h
969
B
-rw-r--r--
2024-03-19 22:46
pythonw_exe.rc
1.29
KB
-rw-r--r--
2024-03-19 22:46
readme.txt
3.56
KB
-rw-r--r--
2024-03-19 22:46
sqlite3.rc
1.39
KB
-rw-r--r--
2024-03-19 22:46
store_info.txt
6.16
KB
-rw-r--r--
2024-03-19 22:46
testpy.py
831
B
-rw-r--r--
2024-03-19 22:46
validate_ucrtbase.py
2.69
KB
-rw-r--r--
2024-03-19 22:46
winreg.c
64.63
KB
-rw-r--r--
2024-03-19 22:46
winsound.c
6.47
KB
-rw-r--r--
2024-03-19 22:46
Save
Rename
/* Main program when embedded in a UWP application on Windows */ #include "Python.h" #include <string.h> #define WIN32_LEAN_AND_MEAN #include <Windows.h> #include <shellapi.h> #include <shlobj.h> #include <string> #include <appmodel.h> #include <winrt\Windows.ApplicationModel.h> #include <winrt\Windows.Storage.h> #ifdef PYTHONW #ifdef _DEBUG const wchar_t *PROGNAME = L"pythonw_d.exe"; #else const wchar_t *PROGNAME = L"pythonw.exe"; #endif #else #ifdef _DEBUG const wchar_t *PROGNAME = L"python_d.exe"; #else const wchar_t *PROGNAME = L"python.exe"; #endif #endif static std::wstring get_package_family() { try { UINT32 nameLength = MAX_PATH; std::wstring name; name.resize(nameLength); DWORD rc = GetCurrentPackageFamilyName(&nameLength, name.data()); if (rc == ERROR_SUCCESS) { name.resize(nameLength - 1); return name; } else if (rc != ERROR_INSUFFICIENT_BUFFER) { throw rc; } name.resize(nameLength); rc = GetCurrentPackageFamilyName(&nameLength, name.data()); if (rc != ERROR_SUCCESS) { throw rc; } name.resize(nameLength - 1); return name; } catch (...) { } return std::wstring(); } static std::wstring get_user_base() { try { const auto appData = winrt::Windows::Storage::ApplicationData::Current(); if (appData) { const auto localCache = appData.LocalCacheFolder(); if (localCache) { std::wstring path { localCache.Path().c_str() }; if (!path.empty()) { return path + L"\\local-packages"; } } } } catch (...) { } return std::wstring(); } static std::wstring get_package_home() { try { UINT32 pathLength = MAX_PATH; std::wstring path; path.resize(pathLength); DWORD rc = GetCurrentPackagePath(&pathLength, path.data()); if (rc == ERROR_SUCCESS) { path.resize(pathLength - 1); return path; } else if (rc != ERROR_INSUFFICIENT_BUFFER) { throw rc; } path.resize(pathLength); rc = GetCurrentPackagePath(&pathLength, path.data()); if (rc != ERROR_SUCCESS) { throw rc; } path.resize(pathLength - 1); return path; } catch (...) { } return std::wstring(); } static PyStatus set_process_name(PyConfig *config) { PyStatus status = PyStatus_Ok(); std::wstring executable; const auto home = get_package_home(); const auto family = get_package_family(); if (!family.empty()) { PWSTR localAppData; if (SUCCEEDED(SHGetKnownFolderPath(FOLDERID_LocalAppData, 0, NULL, &localAppData))) { executable = std::wstring(localAppData) + L"\\Microsoft\\WindowsApps\\" + family + L"\\" + PROGNAME; CoTaskMemFree(localAppData); } } /* Only use module filename if we don't have a home */ if (home.empty() && executable.empty()) { executable.resize(MAX_PATH); while (true) { DWORD len = GetModuleFileNameW( NULL, executable.data(), (DWORD)executable.size()); if (len == 0) { executable.clear(); break; } else if (len == executable.size() && GetLastError() == ERROR_INSUFFICIENT_BUFFER) { executable.resize(len * 2); } else { executable.resize(len); break; } } size_t i = executable.find_last_of(L"/\\"); if (i == std::wstring::npos) { executable = PROGNAME; } else { executable.replace(i + 1, std::wstring::npos, PROGNAME); } } if (!home.empty()) { status = PyConfig_SetString(config, &config->home, home.c_str()); if (PyStatus_Exception(status)) { return status; } } const wchar_t *launcherPath = _wgetenv(L"__PYVENV_LAUNCHER__"); if (launcherPath) { if (!executable.empty()) { status = PyConfig_SetString(config, &config->base_executable, executable.c_str()); if (PyStatus_Exception(status)) { return status; } } status = PyConfig_SetString( config, &config->executable, launcherPath); /* bpo-35873: Clear the environment variable to avoid it being * inherited by child processes. */ _wputenv_s(L"__PYVENV_LAUNCHER__", L""); } else if (!executable.empty()) { status = PyConfig_SetString( config, &config->executable, executable.c_str()); } return status; } int wmain(int argc, wchar_t **argv) { PyStatus status; PyPreConfig preconfig; PyConfig config; const wchar_t *moduleName = NULL; const wchar_t *p = wcsrchr(argv[0], L'\\'); if (!p) { p = argv[0]; } if (p) { if (*p == L'\\') { p++; } if (wcsnicmp(p, L"pip", 3) == 0) { moduleName = L"pip"; } else if (wcsnicmp(p, L"idle", 4) == 0) { moduleName = L"idlelib"; } } PyPreConfig_InitPythonConfig(&preconfig); if (!moduleName) { status = Py_PreInitializeFromArgs(&preconfig, argc, argv); if (PyStatus_Exception(status)) { goto fail_without_config; } } PyConfig_InitPythonConfig(&config); status = PyConfig_SetArgv(&config, argc, argv); if (PyStatus_Exception(status)) { goto fail; } if (moduleName) { config.parse_argv = 0; } status = set_process_name(&config); if (PyStatus_Exception(status)) { goto fail; } p = _wgetenv(L"PYTHONUSERBASE"); if (!p || !*p) { _wputenv_s(L"PYTHONUSERBASE", get_user_base().c_str()); } if (moduleName) { status = PyConfig_SetString(&config, &config.run_module, moduleName); if (PyStatus_Exception(status)) { goto fail; } status = PyConfig_SetString(&config, &config.run_filename, NULL); if (PyStatus_Exception(status)) { goto fail; } status = PyConfig_SetString(&config, &config.run_command, NULL); if (PyStatus_Exception(status)) { goto fail; } } status = Py_InitializeFromConfig(&config); if (PyStatus_Exception(status)) { goto fail; } PyConfig_Clear(&config); return Py_RunMain(); fail: PyConfig_Clear(&config); fail_without_config: if (PyStatus_IsExit(status)) { return status.exitcode; } assert(PyStatus_Exception(status)); Py_ExitStatusException(status); /* Unreachable code */ return 0; } #ifdef PYTHONW int WINAPI wWinMain( HINSTANCE hInstance, /* handle to current instance */ HINSTANCE hPrevInstance, /* handle to previous instance */ LPWSTR lpCmdLine, /* pointer to command line */ int nCmdShow /* show state of window */ ) { return wmain(__argc, __wargv); } #endif