Skip to content

Instantly share code, notes, and snippets.

@mrh1997
mrh1997 / wincred.py
Last active January 21, 2024 17:29
Retrieve Windows Credential via Python
#!python3
"""
Access windows credentials
"""
from typing import Tuple
import ctypes as CT
import ctypes.wintypes as WT
CRED_TYPE_GENERIC = 0x01