Open in app
Home
Notifications
Lists
Stories

Write
och0 infosec
och0 infosec

Home

Jan 26, 2021

Python 3 Send Email Alert

This simple script will take two text objects, one for the subject and one for the body of the email. #!/usr/bin/env python3 import smtplib, ssl def send_email(subject, body): title = "Subject: " + subject + " \n\n" message = title + body…

Python

1 min read


Jan 26, 2021

Proofpoint SIEM API Call

This Python script will pull all information from the SIEM module in Prooofpoint for the last 10 minutes. Paired with the mailer.py script from the previous post will email you if there was anything found, if not, it will silently exit. In order to generate your API credentials, you must…

Python 3

2 min read

och0 infosec

och0 infosec

Infosec professional.

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable