id int64 0 190k | prompt stringlengths 21 13.4M | docstring stringlengths 1 12k ⌀ |
|---|---|---|
177,372 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def RegEnumKeyW(hKey, dwIndex):
_RegEnumKeyW = windll.advapi32.RegEnumKeyW
_RegEnumKeyW.argtypes = [HKEY, DWORD, LPWSTR, DWORD]
_RegEnumKeyW.restype = LONG
cchName = 512
while True:
lpName = ctypes.create_unicode... | null |
177,373 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def RegDeleteValueA(hKeySrc, lpValueName = None):
_RegDeleteValueA = windll.advapi32.RegDeleteValueA
_RegDeleteValueA.argtypes = [HKEY, LPSTR]
_RegDeleteValueA.restype = LONG
_RegDeleteValueA.errcheck = RaiseIfNotErrorSuccess... | null |
177,374 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def RegDeleteValueW(hKeySrc, lpValueName = None):
_RegDeleteValueW = windll.advapi32.RegDeleteValueW
_RegDeleteValueW.argtypes = [HKEY, LPWSTR]
_RegDeleteValueW.restype = LONG
_RegDeleteValueW.errcheck = RaiseIfNotErrorSucces... | null |
177,375 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def RegDeleteKeyValueA(hKeySrc, lpSubKey = None, lpValueName = None):
_RegDeleteKeyValueA = windll.advapi32.RegDeleteKeyValueA
_RegDeleteKeyValueA.argtypes = [HKEY, LPSTR, LPSTR]
_RegDeleteKeyValueA.restype = LONG
_RegDeleteK... | null |
177,376 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def RegDeleteKeyValueW(hKeySrc, lpSubKey = None, lpValueName = None):
_RegDeleteKeyValueW = windll.advapi32.RegDeleteKeyValueW
_RegDeleteKeyValueW.argtypes = [HKEY, LPWSTR, LPWSTR]
_RegDeleteKeyValueW.restype = LONG
_RegDelet... | null |
177,377 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def RegDeleteKeyA(hKeySrc, lpSubKey = None):
_RegDeleteKeyA = windll.advapi32.RegDeleteKeyA
_RegDeleteKeyA.argtypes = [HKEY, LPSTR]
_RegDeleteKeyA.restype = LONG
_RegDeleteKeyA.errcheck = RaiseIfNotErrorSuccess
_RegDelete... | null |
177,378 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def RegDeleteKeyW(hKeySrc, lpSubKey = None):
_RegDeleteKeyW = windll.advapi32.RegDeleteKeyW
_RegDeleteKeyW.argtypes = [HKEY, LPWSTR]
_RegDeleteKeyW.restype = LONG
_RegDeleteKeyW.errcheck = RaiseIfNotErrorSuccess
_RegDelet... | null |
177,379 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
KEY_WOW64_32KEY = 0x0200
def RegDeleteKeyExA(hKeySrc, lpSubKey = None, samDesired = KEY_WOW64_32KEY):
_RegDeleteKeyExA = windll.advapi32.RegDeleteKeyExA
_RegDeleteKeyExA.argtypes = [HKEY, LPSTR, REGSAM, DWORD]
_RegDeleteKe... | null |
177,380 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
KEY_WOW64_32KEY = 0x0200
def RegDeleteKeyExW(hKeySrc, lpSubKey = None, samDesired = KEY_WOW64_32KEY):
_RegDeleteKeyExW = windll.advapi32.RegDeleteKeyExW
_RegDeleteKeyExW.argtypes = [HKEY, LPWSTR, REGSAM, DWORD]
_RegDeleteK... | null |
177,381 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def RegCopyTreeA(hKeySrc, lpSubKey, hKeyDest):
_RegCopyTreeA = windll.advapi32.RegCopyTreeA
_RegCopyTreeA.argtypes = [HKEY, LPSTR, HKEY]
_RegCopyTreeA.restype = LONG
_RegCopyTreeA.errcheck = RaiseIfNotErrorSuccess
_RegCop... | null |
177,382 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def RegCopyTreeW(hKeySrc, lpSubKey, hKeyDest):
_RegCopyTreeW = windll.advapi32.RegCopyTreeW
_RegCopyTreeW.argtypes = [HKEY, LPWSTR, HKEY]
_RegCopyTreeW.restype = LONG
_RegCopyTreeW.errcheck = RaiseIfNotErrorSuccess
_RegCo... | null |
177,383 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def RegDeleteTreeA(hKey, lpSubKey = None):
_RegDeleteTreeA = windll.advapi32.RegDeleteTreeA
_RegDeleteTreeA.argtypes = [HKEY, LPWSTR]
_RegDeleteTreeA.restype = LONG
_RegDeleteTreeA.errcheck = RaiseIfNotErrorSuccess
_RegDe... | null |
177,384 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def RegDeleteTreeW(hKey, lpSubKey = None):
_RegDeleteTreeW = windll.advapi32.RegDeleteTreeW
_RegDeleteTreeW.argtypes = [HKEY, LPWSTR]
_RegDeleteTreeW.restype = LONG
_RegDeleteTreeW.errcheck = RaiseIfNotErrorSuccess
_RegDe... | null |
177,385 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def RegFlushKey(hKey):
_RegFlushKey = windll.advapi32.RegFlushKey
_RegFlushKey.argtypes = [HKEY]
_RegFlushKey.restype = LONG
_RegFlushKey.errcheck = RaiseIfNotErrorSuccess
_RegFlushKey(hKey) | null |
177,386 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
def CloseServiceHandle(hSCObject):
_CloseServiceHandle = windll.advapi32.CloseServiceHandle
_CloseServiceHandle.argtypes = [SC_HANDLE]
_CloseServiceHandle.restype = bool
_CloseServiceHandle.errcheck = Raise... | null |
177,387 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
SC_MANAGER_ALL_ACCESS = 0xF003F
class ServiceControlManagerHandle (UserModeHandle):
"""
Service Control Manager (SCM) handle.
"""
_TYPE = SC_HANDLE
def _close(self):
CloseServiceHandle(s... | null |
177,388 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
SC_MANAGER_ALL_ACCESS = 0xF003F
class ServiceControlManagerHandle (UserModeHandle):
"""
Service Control Manager (SCM) handle.
"""
_TYPE = SC_HANDLE
def _close(self):
CloseServiceHandle(s... | null |
177,389 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
SERVICE_ALL_ACCESS = 0xF01FF
class ServiceHandle (UserModeHandle):
"""
Service handle.
"""
_TYPE = SC_HANDLE
def _close(self):
CloseServiceHandle(self.value)
def OpenServiceA(hSCManager... | null |
177,390 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
SERVICE_ALL_ACCESS = 0xF01FF
class ServiceHandle (UserModeHandle):
"""
Service handle.
"""
_TYPE = SC_HANDLE
def _close(self):
CloseServiceHandle(self.value)
def OpenServiceW(hSCManager... | null |
177,391 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
SERVICE_ALL_ACCESS = 0xF01FF
SERVICE_DEMAND_START = 0x00000003
SERVICE_ERROR_NORMAL = 0x00000001
SERVICE_WIN32_OWN_PROCESS = 0x00000010
class ServiceHandle (UserModeHandle):
"""
Service handle.
"""... | null |
177,392 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
SERVICE_ALL_ACCESS = 0xF01FF
SERVICE_DEMAND_START = 0x00000003
SERVICE_ERROR_NORMAL = 0x00000001
SERVICE_WIN32_OWN_PROCESS = 0x00000010
class ServiceHandle (UserModeHandle):
"""
Service handle.
"""... | null |
177,393 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
def DeleteService(hService):
_DeleteService = windll.advapi32.DeleteService
_DeleteService.argtypes = [SC_HANDLE]
_DeleteService.restype = bool
_DeleteService.errcheck = RaiseIfZero
_DeleteService(hServ... | null |
177,394 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
def GetServiceKeyNameA(hSCManager, lpDisplayName):
_GetServiceKeyNameA = windll.advapi32.GetServiceKeyNameA
_GetServiceKeyNameA.argtypes = [SC_HANDLE, LPSTR, LPSTR, LPDWORD]
_GetServiceKeyNameA.restype = bool
... | null |
177,395 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
def GetServiceKeyNameW(hSCManager, lpDisplayName):
_GetServiceKeyNameW = windll.advapi32.GetServiceKeyNameW
_GetServiceKeyNameW.argtypes = [SC_HANDLE, LPWSTR, LPWSTR, LPDWORD]
_GetServiceKeyNameW.restype = bool... | null |
177,396 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
def GetServiceDisplayNameA(hSCManager, lpServiceName):
_GetServiceDisplayNameA = windll.advapi32.GetServiceDisplayNameA
_GetServiceDisplayNameA.argtypes = [SC_HANDLE, LPSTR, LPSTR, LPDWORD]
_GetServiceDisplayNam... | null |
177,397 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
def GetServiceDisplayNameW(hSCManager, lpServiceName):
_GetServiceDisplayNameW = windll.advapi32.GetServiceDisplayNameW
_GetServiceDisplayNameW.argtypes = [SC_HANDLE, LPWSTR, LPWSTR, LPDWORD]
_GetServiceDisplayN... | null |
177,398 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
def StartServiceA(hService, ServiceArgVectors = None):
_StartServiceA = windll.advapi32.StartServiceA
_StartServiceA.argtypes = [SC_HANDLE, DWORD, LPVOID]
_StartServiceA.restype = bool
_StartServiceA.errche... | null |
177,399 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
def StartServiceW(hService, ServiceArgVectors = None):
_StartServiceW = windll.advapi32.StartServiceW
_StartServiceW.argtypes = [SC_HANDLE, DWORD, LPVOID]
_StartServiceW.restype = bool
_StartServiceW.errche... | null |
177,400 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
class SERVICE_STATUS(Structure):
_fields_ = [
("dwServiceType", DWORD),
("dwCurrentState", DWORD),
("dwControlsAccepted", DWORD),
("dwWin32ExitCode", ... | null |
177,401 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
class SERVICE_STATUS(Structure):
_fields_ = [
("dwServiceType", DWORD),
("dwCurrentState", DWORD),
("dwControlsAccepted", DWORD),
("dwWin32ExitCode", ... | null |
177,402 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
SC_STATUS_TYPE = ctypes.c_int
SC_STATUS_PROCESS_INFO = 0
class SERVICE_STATUS_PROCESS(Structure):
_fields_ = SERVICE_STATUS._fields_ + [
("dwProcessId", DWORD),
("dwServiceFlags", ... | null |
177,403 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
SERVICE_STATE_ALL = 3
SERVICE_DRIVER = 0x0000000B
SERVICE_WIN32 = 0x00000030
class ENUM_SERVICE_STATUSA(Structure):
LPENUM_SERVICE_STATUSA = POINTER(ENUM_SERVICE_STATUSA)
class ServiceStatusEntry(object):
def __init__(... | null |
177,404 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
SERVICE_STATE_ALL = 3
SERVICE_DRIVER = 0x0000000B
SERVICE_WIN32 = 0x00000030
class ENUM_SERVICE_STATUSW(Structure):
_fields_ = [
("lpServiceName", LPWSTR),
("lpDisplayName", LPWSTR),
("ServiceSta... | null |
177,405 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
SC_ENUM_TYPE = ctypes.c_int
SC_ENUM_PROCESS_INFO = 0
SERVICE_STATE_ALL = 3
SERVICE_DRIVER = 0x0000000B
SERVICE_WIN32 = 0x00000030
class ENUM_SERVICE_STATUS_PROCESSA(Structure):
_fields_ = [
("lpServiceNa... | null |
177,406 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
SC_HANDLE = HANDLE
SC_ENUM_TYPE = ctypes.c_int
SC_ENUM_PROCESS_INFO = 0
SERVICE_STATE_ALL = 3
SERVICE_DRIVER = 0x0000000B
SERVICE_WIN32 = 0x00000030
class ENUM_SERVICE_STATUS_PROCESSW(Structure):
_fields_ = [
("lpServiceNa... | null |
177,407 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import GetLastError, SetLastError
def GetDC(hWnd):
_GetDC = windll.gdi32.GetDC
_GetDC.argtypes = [HWND]
_GetDC.restype = HDC
_GetDC.errcheck = RaiseIfZero
return _GetDC(hWnd) | null |
177,408 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import GetLastError, SetLastError
def GetWindowDC(hWnd):
_GetWindowDC = windll.gdi32.GetWindowDC
_GetWindowDC.argtypes = [HWND]
_GetWindowDC.restype = HDC
_GetWindowDC.errcheck = RaiseIfZero
return _GetWindowDC(hWnd) | null |
177,409 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import GetLastError, SetLastError
def ReleaseDC(hWnd, hDC):
_ReleaseDC = windll.gdi32.ReleaseDC
_ReleaseDC.argtypes = [HWND, HDC]
_ReleaseDC.restype = ctypes.c_int
_ReleaseDC.errcheck = RaiseIfZero
_ReleaseDC(hWnd, hDC) | null |
177,410 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import GetLastError, SetLastError
def SelectObject(hdc, hgdiobj):
_SelectObject = windll.gdi32.SelectObject
_SelectObject.argtypes = [HDC, HGDIOBJ]
_SelectObject.restype = HGDIOBJ
_SelectObject.errcheck = RaiseIfZero
return _Selec... | null |
177,411 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import GetLastError, SetLastError
def GetStockObject(fnObject):
_GetStockObject = windll.gdi32.GetStockObject
_GetStockObject.argtypes = [ctypes.c_int]
_GetStockObject.restype = HGDIOBJ
_GetStockObject.errcheck = RaiseIfZero
retur... | null |
177,412 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import GetLastError, SetLastError
class BITMAP(Structure):
_fields_ = [
("bmType", LONG),
("bmWidth", LONG),
("bmHeight", LONG),
("bmWidthBytes", LONG),
("bmPlanes", WORD),
... | null |
177,413 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import GetLastError, SetLastError
PBITMAP = POINTER(BITMAP)
def CreateBitmapIndirect(lpbm):
_CreateBitmapIndirect = windll.gdi32.CreateBitmapIndirect
_CreateBitmapIndirect.argtypes = [PBITMAP]
_CreateBitmapIndirect.restype = HBITMAP
... | null |
177,414 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def IsOS(dwOS):
try:
_IsOS = windll.shlwapi.IsOS
_IsOS.argtypes = [DWORD]
_IsOS.restype = bool
except AttributeError:
# According to MSDN, on Windows versions prior to Vista
# this function is ... | null |
177,415 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathAddBackslashA(lpszPath):
_PathAddBackslashA = windll.shlwapi.PathAddBackslashA
_PathAddBackslashA.argtypes = [LPSTR]
_PathAddBackslashA.restype = LPSTR
lpszPath = ctypes.create_string_buffer(lpszPath, MAX_PATH)
r... | null |
177,416 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathAddBackslashW(lpszPath):
_PathAddBackslashW = windll.shlwapi.PathAddBackslashW
_PathAddBackslashW.argtypes = [LPWSTR]
_PathAddBackslashW.restype = LPWSTR
lpszPath = ctypes.create_unicode_buffer(lpszPath, MAX_PATH)
... | null |
177,417 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathAddExtensionA(lpszPath, pszExtension = None):
_PathAddExtensionA = windll.shlwapi.PathAddExtensionA
_PathAddExtensionA.argtypes = [LPSTR, LPSTR]
_PathAddExtensionA.restype = bool
_PathAddExtensionA.errcheck = RaiseIfZ... | null |
177,418 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathAddExtensionW(lpszPath, pszExtension = None):
_PathAddExtensionW = windll.shlwapi.PathAddExtensionW
_PathAddExtensionW.argtypes = [LPWSTR, LPWSTR]
_PathAddExtensionW.restype = bool
_PathAddExtensionW.errcheck = RaiseI... | null |
177,419 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathAppendA(lpszPath, pszMore = None):
_PathAppendA = windll.shlwapi.PathAppendA
_PathAppendA.argtypes = [LPSTR, LPSTR]
_PathAppendA.restype = bool
_PathAppendA.errcheck = RaiseIfZero
if not pszMore:
pszMore ... | null |
177,420 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathAppendW(lpszPath, pszMore = None):
_PathAppendW = windll.shlwapi.PathAppendW
_PathAppendW.argtypes = [LPWSTR, LPWSTR]
_PathAppendW.restype = bool
_PathAppendW.errcheck = RaiseIfZero
if not pszMore:
pszMor... | null |
177,421 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathCombineA(lpszDir, lpszFile):
_PathCombineA = windll.shlwapi.PathCombineA
_PathCombineA.argtypes = [LPSTR, LPSTR, LPSTR]
_PathCombineA.restype = LPSTR
lpszDest = ctypes.create_string_buffer("", max(MAX_PATH, len(lpszD... | null |
177,422 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathCombineW(lpszDir, lpszFile):
_PathCombineW = windll.shlwapi.PathCombineW
_PathCombineW.argtypes = [LPWSTR, LPWSTR, LPWSTR]
_PathCombineW.restype = LPWSTR
lpszDest = ctypes.create_unicode_buffer(u"", max(MAX_PATH, len... | null |
177,423 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathCanonicalizeA(lpszSrc):
_PathCanonicalizeA = windll.shlwapi.PathCanonicalizeA
_PathCanonicalizeA.argtypes = [LPSTR, LPSTR]
_PathCanonicalizeA.restype = bool
_PathCanonicalizeA.errcheck = RaiseIfZero
lpszDst = cty... | null |
177,424 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathCanonicalizeW(lpszSrc):
_PathCanonicalizeW = windll.shlwapi.PathCanonicalizeW
_PathCanonicalizeW.argtypes = [LPWSTR, LPWSTR]
_PathCanonicalizeW.restype = bool
_PathCanonicalizeW.errcheck = RaiseIfZero
lpszDst = c... | null |
177,425 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathRelativePathToA(pszFrom = None, dwAttrFrom = FILE_ATTRIBUTE_DIRECTORY, pszTo = None, dwAttrTo = FILE_ATTRIBUTE_DIRECTORY):
_PathRelativePathToA = windll.shlwapi.PathRelativePathToA
_PathRelativePathToA.argtypes = [LPSTR, LPSTR... | null |
177,426 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathRelativePathToW(pszFrom = None, dwAttrFrom = FILE_ATTRIBUTE_DIRECTORY, pszTo = None, dwAttrTo = FILE_ATTRIBUTE_DIRECTORY):
_PathRelativePathToW = windll.shlwapi.PathRelativePathToW
_PathRelativePathToW.argtypes = [LPWSTR, LPWS... | null |
177,427 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathFileExistsA(pszPath):
_PathFileExistsA = windll.shlwapi.PathFileExistsA
_PathFileExistsA.argtypes = [LPSTR]
_PathFileExistsA.restype = bool
return _PathFileExistsA(pszPath) | null |
177,428 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathFileExistsW(pszPath):
_PathFileExistsW = windll.shlwapi.PathFileExistsW
_PathFileExistsW.argtypes = [LPWSTR]
_PathFileExistsW.restype = bool
return _PathFileExistsW(pszPath) | null |
177,429 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathFindExtensionA(pszPath):
_PathFindExtensionA = windll.shlwapi.PathFindExtensionA
_PathFindExtensionA.argtypes = [LPSTR]
_PathFindExtensionA.restype = LPSTR
pszPath = ctypes.create_string_buffer(pszPath)
return _Pa... | null |
177,430 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathFindExtensionW(pszPath):
_PathFindExtensionW = windll.shlwapi.PathFindExtensionW
_PathFindExtensionW.argtypes = [LPWSTR]
_PathFindExtensionW.restype = LPWSTR
pszPath = ctypes.create_unicode_buffer(pszPath)
return ... | null |
177,431 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathFindFileNameA(pszPath):
_PathFindFileNameA = windll.shlwapi.PathFindFileNameA
_PathFindFileNameA.argtypes = [LPSTR]
_PathFindFileNameA.restype = LPSTR
pszPath = ctypes.create_string_buffer(pszPath)
return _PathFin... | null |
177,432 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathFindFileNameW(pszPath):
_PathFindFileNameW = windll.shlwapi.PathFindFileNameW
_PathFindFileNameW.argtypes = [LPWSTR]
_PathFindFileNameW.restype = LPWSTR
pszPath = ctypes.create_unicode_buffer(pszPath)
return _Path... | null |
177,433 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathFindNextComponentA(pszPath):
_PathFindNextComponentA = windll.shlwapi.PathFindNextComponentA
_PathFindNextComponentA.argtypes = [LPSTR]
_PathFindNextComponentA.restype = LPSTR
pszPath = ctypes.create_string_buffer(psz... | null |
177,434 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathFindNextComponentW(pszPath):
_PathFindNextComponentW = windll.shlwapi.PathFindNextComponentW
_PathFindNextComponentW.argtypes = [LPWSTR]
_PathFindNextComponentW.restype = LPWSTR
pszPath = ctypes.create_unicode_buffer(... | null |
177,435 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathFindOnPathA(pszFile, ppszOtherDirs = None):
_PathFindOnPathA = windll.shlwapi.PathFindOnPathA
_PathFindOnPathA.argtypes = [LPSTR, LPSTR]
_PathFindOnPathA.restype = bool
pszFile = ctypes.create_string_buffer(pszFile, MA... | null |
177,436 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathGetArgsA(pszPath):
_PathGetArgsA = windll.shlwapi.PathGetArgsA
_PathGetArgsA.argtypes = [LPSTR]
_PathGetArgsA.restype = LPSTR
pszPath = ctypes.create_string_buffer(pszPath)
return _PathGetArgsA(pszPath) | null |
177,437 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathGetArgsW(pszPath):
_PathGetArgsW = windll.shlwapi.PathGetArgsW
_PathGetArgsW.argtypes = [LPWSTR]
_PathGetArgsW.restype = LPWSTR
pszPath = ctypes.create_unicode_buffer(pszPath)
return _PathGetArgsW(pszPath) | null |
177,438 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathIsContentTypeA(pszPath, pszContentType):
_PathIsContentTypeA = windll.shlwapi.PathIsContentTypeA
_PathIsContentTypeA.argtypes = [LPSTR, LPSTR]
_PathIsContentTypeA.restype = bool
return _PathIsContentTypeA(pszPath, psz... | null |
177,439 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathIsContentTypeW(pszPath, pszContentType):
_PathIsContentTypeW = windll.shlwapi.PathIsContentTypeW
_PathIsContentTypeW.argtypes = [LPWSTR, LPWSTR]
_PathIsContentTypeW.restype = bool
return _PathIsContentTypeW(pszPath, p... | null |
177,440 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathIsDirectoryA(pszPath):
_PathIsDirectoryA = windll.shlwapi.PathIsDirectoryA
_PathIsDirectoryA.argtypes = [LPSTR]
_PathIsDirectoryA.restype = bool
return _PathIsDirectoryA(pszPath) | null |
177,441 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathIsDirectoryW(pszPath):
_PathIsDirectoryW = windll.shlwapi.PathIsDirectoryW
_PathIsDirectoryW.argtypes = [LPWSTR]
_PathIsDirectoryW.restype = bool
return _PathIsDirectoryW(pszPath) | null |
177,442 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathIsDirectoryEmptyA(pszPath):
_PathIsDirectoryEmptyA = windll.shlwapi.PathIsDirectoryEmptyA
_PathIsDirectoryEmptyA.argtypes = [LPSTR]
_PathIsDirectoryEmptyA.restype = bool
return _PathIsDirectoryEmptyA(pszPath) | null |
177,443 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathIsDirectoryEmptyW(pszPath):
_PathIsDirectoryEmptyW = windll.shlwapi.PathIsDirectoryEmptyW
_PathIsDirectoryEmptyW.argtypes = [LPWSTR]
_PathIsDirectoryEmptyW.restype = bool
return _PathIsDirectoryEmptyW(pszPath) | null |
177,444 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathIsNetworkPathA(pszPath):
_PathIsNetworkPathA = windll.shlwapi.PathIsNetworkPathA
_PathIsNetworkPathA.argtypes = [LPSTR]
_PathIsNetworkPathA.restype = bool
return _PathIsNetworkPathA(pszPath) | null |
177,445 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathIsNetworkPathW(pszPath):
_PathIsNetworkPathW = windll.shlwapi.PathIsNetworkPathW
_PathIsNetworkPathW.argtypes = [LPWSTR]
_PathIsNetworkPathW.restype = bool
return _PathIsNetworkPathW(pszPath) | null |
177,446 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathIsRelativeA(pszPath):
_PathIsRelativeA = windll.shlwapi.PathIsRelativeA
_PathIsRelativeA.argtypes = [LPSTR]
_PathIsRelativeA.restype = bool
return _PathIsRelativeA(pszPath) | null |
177,447 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathIsRelativeW(pszPath):
_PathIsRelativeW = windll.shlwapi.PathIsRelativeW
_PathIsRelativeW.argtypes = [LPWSTR]
_PathIsRelativeW.restype = bool
return _PathIsRelativeW(pszPath) | null |
177,448 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathIsRootA(pszPath):
_PathIsRootA = windll.shlwapi.PathIsRootA
_PathIsRootA.argtypes = [LPSTR]
_PathIsRootA.restype = bool
return _PathIsRootA(pszPath) | null |
177,449 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathIsRootW(pszPath):
_PathIsRootW = windll.shlwapi.PathIsRootW
_PathIsRootW.argtypes = [LPWSTR]
_PathIsRootW.restype = bool
return _PathIsRootW(pszPath) | null |
177,450 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathIsSameRootA(pszPath1, pszPath2):
_PathIsSameRootA = windll.shlwapi.PathIsSameRootA
_PathIsSameRootA.argtypes = [LPSTR, LPSTR]
_PathIsSameRootA.restype = bool
return _PathIsSameRootA(pszPath1, pszPath2) | null |
177,451 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathIsSameRootW(pszPath1, pszPath2):
_PathIsSameRootW = windll.shlwapi.PathIsSameRootW
_PathIsSameRootW.argtypes = [LPWSTR, LPWSTR]
_PathIsSameRootW.restype = bool
return _PathIsSameRootW(pszPath1, pszPath2) | null |
177,452 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathIsUNCA(pszPath):
_PathIsUNCA = windll.shlwapi.PathIsUNCA
_PathIsUNCA.argtypes = [LPSTR]
_PathIsUNCA.restype = bool
return _PathIsUNCA(pszPath) | null |
177,453 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathIsUNCW(pszPath):
_PathIsUNCW = windll.shlwapi.PathIsUNCW
_PathIsUNCW.argtypes = [LPWSTR]
_PathIsUNCW.restype = bool
return _PathIsUNCW(pszPath) | null |
177,454 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathMakePrettyA(pszPath):
_PathMakePrettyA = windll.shlwapi.PathMakePrettyA
_PathMakePrettyA.argtypes = [LPSTR]
_PathMakePrettyA.restype = bool
_PathMakePrettyA.errcheck = RaiseIfZero
pszPath = ctypes.create_string_b... | null |
177,455 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathMakePrettyW(pszPath):
_PathMakePrettyW = windll.shlwapi.PathMakePrettyW
_PathMakePrettyW.argtypes = [LPWSTR]
_PathMakePrettyW.restype = bool
_PathMakePrettyW.errcheck = RaiseIfZero
pszPath = ctypes.create_unicode... | null |
177,456 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathRemoveArgsA(pszPath):
_PathRemoveArgsA = windll.shlwapi.PathRemoveArgsA
_PathRemoveArgsA.argtypes = [LPSTR]
pszPath = ctypes.create_string_buffer(pszPath, MAX_PATH)
_PathRemoveArgsA(pszPath)
return pszPath.value | null |
177,457 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathRemoveArgsW(pszPath):
_PathRemoveArgsW = windll.shlwapi.PathRemoveArgsW
_PathRemoveArgsW.argtypes = [LPWSTR]
pszPath = ctypes.create_unicode_buffer(pszPath, MAX_PATH)
_PathRemoveArgsW(pszPath)
return pszPath.value | null |
177,458 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathRemoveBackslashA(pszPath):
_PathRemoveBackslashA = windll.shlwapi.PathRemoveBackslashA
_PathRemoveBackslashA.argtypes = [LPSTR]
pszPath = ctypes.create_string_buffer(pszPath, MAX_PATH)
_PathRemoveBackslashA(pszPath)
... | null |
177,459 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathRemoveBackslashW(pszPath):
_PathRemoveBackslashW = windll.shlwapi.PathRemoveBackslashW
_PathRemoveBackslashW.argtypes = [LPWSTR]
pszPath = ctypes.create_unicode_buffer(pszPath, MAX_PATH)
_PathRemoveBackslashW(pszPath)... | null |
177,460 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathRemoveExtensionA(pszPath):
_PathRemoveExtensionA = windll.shlwapi.PathRemoveExtensionA
_PathRemoveExtensionA.argtypes = [LPSTR]
pszPath = ctypes.create_string_buffer(pszPath, MAX_PATH)
_PathRemoveExtensionA(pszPath)
... | null |
177,461 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathRemoveExtensionW(pszPath):
_PathRemoveExtensionW = windll.shlwapi.PathRemoveExtensionW
_PathRemoveExtensionW.argtypes = [LPWSTR]
pszPath = ctypes.create_unicode_buffer(pszPath, MAX_PATH)
_PathRemoveExtensionW(pszPath)... | null |
177,462 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathRemoveFileSpecA(pszPath):
_PathRemoveFileSpecA = windll.shlwapi.PathRemoveFileSpecA
_PathRemoveFileSpecA.argtypes = [LPSTR]
pszPath = ctypes.create_string_buffer(pszPath, MAX_PATH)
_PathRemoveFileSpecA(pszPath)
re... | null |
177,463 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathRemoveFileSpecW(pszPath):
_PathRemoveFileSpecW = windll.shlwapi.PathRemoveFileSpecW
_PathRemoveFileSpecW.argtypes = [LPWSTR]
pszPath = ctypes.create_unicode_buffer(pszPath, MAX_PATH)
_PathRemoveFileSpecW(pszPath)
... | null |
177,464 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathRenameExtensionA(pszPath, pszExt):
_PathRenameExtensionA = windll.shlwapi.PathRenameExtensionA
_PathRenameExtensionA.argtypes = [LPSTR, LPSTR]
_PathRenameExtensionA.restype = bool
pszPath = ctypes.create_string_buffe... | null |
177,465 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathRenameExtensionW(pszPath, pszExt):
_PathRenameExtensionW = windll.shlwapi.PathRenameExtensionW
_PathRenameExtensionW.argtypes = [LPWSTR, LPWSTR]
_PathRenameExtensionW.restype = bool
pszPath = ctypes.create_unicode_bu... | null |
177,466 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathUnExpandEnvStringsA(pszPath):
_PathUnExpandEnvStringsA = windll.shlwapi.PathUnExpandEnvStringsA
_PathUnExpandEnvStringsA.argtypes = [LPSTR, LPSTR]
_PathUnExpandEnvStringsA.restype = bool
_PathUnExpandEnvStringsA.errch... | null |
177,467 | from winappdbg.win32.defines import *
from winappdbg.win32.kernel32 import *
def PathUnExpandEnvStringsW(pszPath):
_PathUnExpandEnvStringsW = windll.shlwapi.PathUnExpandEnvStringsW
_PathUnExpandEnvStringsW.argtypes = [LPWSTR, LPWSTR]
_PathUnExpandEnvStringsW.restype = bool
_PathUnExpandEnvStringsW.err... | null |
177,468 | from winappdbg.win32.defines import *
from winappdbg.win32.version import bits
from winappdbg.win32.kernel32 import GetLastError, SetLastError
from winappdbg.win32.gdi32 import POINT, PPOINT, LPPOINT, RECT, PRECT, LPRECT
def SetLastErrorEx(dwErrCode, dwType = 0):
_SetLastErrorEx = windll.user32.SetLastErrorEx
... | null |
177,469 | from winappdbg.win32.defines import *
from winappdbg.win32.version import bits
from winappdbg.win32.kernel32 import GetLastError, SetLastError
from winappdbg.win32.gdi32 import POINT, PPOINT, LPPOINT, RECT, PRECT, LPRECT
def GetLastError():
_GetLastError = windll.kernel32.GetLastError
_GetLastError.argtypes = ... | null |
177,470 | from winappdbg.win32.defines import *
from winappdbg.win32.version import bits
from winappdbg.win32.kernel32 import GetLastError, SetLastError
from winappdbg.win32.gdi32 import POINT, PPOINT, LPPOINT, RECT, PRECT, LPRECT
def GetLastError():
_GetLastError = windll.kernel32.GetLastError
_GetLastError.argtypes = ... | null |
177,471 | from winappdbg.win32.defines import *
from winappdbg.win32.version import bits
from winappdbg.win32.kernel32 import GetLastError, SetLastError
from winappdbg.win32.gdi32 import POINT, PPOINT, LPPOINT, RECT, PRECT, LPRECT
def GetLastError():
_GetLastError = windll.kernel32.GetLastError
_GetLastError.argtypes = ... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.