Skip to content

Instantly share code, notes, and snippets.

View apolkosnik's full-sized avatar

Adam Polkosnik [fun] apolkosnik

View GitHub Profile
@apolkosnik
apolkosnik / wincred.py
Created October 7, 2020 21:36 — forked from mrh1997/wincred.py
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