__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
from ctypes import POINTER
from ctypes import pointer
from ctypes import WinDLL
from ctypes.wintypes import BOOL
from ctypes.wintypes import DWORD
from ctypes.wintypes import HANDLE
from fasteners.pywin32.pywintypes import OVERLAPPED
kernel32 = WinDLL('kernel32', use_last_error=True)
_ = pointer
# Refer: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-lockfileex
LockFileEx = kernel32.LockFileEx
LockFileEx.argtypes = [
HANDLE,
DWORD,
DWORD,
DWORD,
DWORD,
POINTER(OVERLAPPED),
]
LockFileEx.restype = BOOL
# Refer: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-unlockfile
UnlockFileEx = kernel32.UnlockFileEx
UnlockFileEx.argtypes = [
HANDLE,
DWORD,
DWORD,
DWORD,
POINTER(OVERLAPPED),
]
UnlockFileEx.restype = BOOL
# Errors/flags
GetLastError = kernel32.GetLastError
ERROR_LOCK_VIOLATION = 33
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| __init__.py | File | 163 B | 0644 |
|
| pywintypes.py | File | 701 B | 0644 |
|
| win32con.py | File | 64 B | 0644 |
|
| win32file.py | File | 890 B | 0644 |
|