Skip to content

Instantly share code, notes, and snippets.

View teusink's full-sized avatar

Joram Teusink teusink

View GitHub Profile
@teusink
teusink / mimecast-auto-reply-header-definition
Last active June 24, 2022 14:43
Content Examination definition to detect machine sent emails
# Microsoft
# WARNING: These are not headers that indicate an auto-reply, but headers that request the recipient to NOT send an auto-reply back
# 1 "X-Auto-Response-Suppress: All"
# 1 "X-Auto-Response-Suppress: AutoReply"
# 1 "X-Auto-Response-Suppress: DR"
# 1 "X-Auto-Response-Suppress: NDR"
# 1 "X-Auto-Response-Suppress: NRN"
# 1 "X-Auto-Response-Suppress: OOF"
# 1 "X-Auto-Response-Suppress: RN"
@teusink
teusink / consumer-email-domains.txt
Last active September 1, 2020 07:42
Domains used for email by consumers and consumer ISPs
# Domains used for email by consumers and consumer ISPs
# Included: General email providers, and Dutch and Belgium consumer ISPs
#
# GENERAL EMAIL PROVIDERS
aol.com
compuserve.com
cs.com
gmail.com
googlemail.com
hotmail.com
@teusink
teusink / fake-email-domains.txt
Last active June 19, 2020 07:51
Domains with malicious or phishing intent by mimicing domains from real email services
# Domains with malicious or phishing intent by mimicing domains from real email services
# Examples: example domains (RFC 2606 & 6761) and fake domains that spoof real domains used for email services
address.local
cacema.nl
casama.nl
example.com
example.net
example.org
gmail.nl
gmial.com
@teusink
teusink / eu-eea-tlds.txt
Last active June 19, 2020 07:50
All TLDs of member-states of the EU, EEA, Single Market and or Customs Union.
### European Union (EU) TLDs
.at
.be
.bg
.hr
.cy
.cz
.de
.dk
.ee
@teusink
teusink / benelux-tlds.txt
Last active June 19, 2020 07:49
All TLDs of the Benelux (The Netherlands, Belgium and Luxembourg).
### The Netherlands
.amsterdam
.frl
.nl
### Belgium
.be
.brussels
.gent
### Luxembourg
.lu
@teusink
teusink / exampleclient.html
Last active June 14, 2020 07:36
Example coding on input validation for web-applications (do not use blindly in production environments!).
<html>
<head>
<title>Input validation for web-applications, how to process input safely and securely</title>
<script>
function validateForm() {
/* Step 1: Check if the input is actually sent and received
This step is only done when sending data from the client to the server.
So it holds no relevance here.
Step 2: Store input in memory, separate it from the source