
Exploit pour CVE-2022-22639, une vulnérabilité d'élévation de privilèges root macOS Monterey, avec code source Objective-C et instructions de compilation.
Voir le blog :
clang exploit.m -o /tmp/exploit -framework Foundation -fobjc-arc -fobjc-link-runtime /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/SoftwareUpdate.tbd/tmp/tmp/exploit