
Proof-of-concept exploit for CVE-2023-51764 SMTP smuggling vulnerability in Postfix, enabling email spoofing and message injection via crafted SMTP sessions.
This script allows sending messages using port 25 of the mail server.
Before running, modify the variables:
smtp_server - address of the mail serverfrom_address - sender of the first emailto_address - recipient of the first emailusername - login for authenticationpassword - password for authenticationbody - messagemail FROM - address of the fake senderrcpt TO - address of the actual recipientRun with command: python3 CVE-2023-51765_25.py


This script allows sending messages using port 465 of the mail server.
Before running, modify the variables:
smtp_server - address of the mail serverfrom_address - sender of the first emailto_address - recipient of the first emailusername - login for authenticationpassword - password for authenticationbody - messagemail FROM - address of the fake senderrcpt TO - address of the actual recipientRun with command: python3 CVE-2023-51765_25.py

