Skip to content

Instantly share code, notes, and snippets.

Joram Teusink teusink

View GitHub Profile
@teusink
teusink / exampleclient.html
Last active Jun 14, 2020
Example coding on input validation for web-applications (do not use blindly in production environments!).
View exampleclient.html
<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
@teusink
teusink / consumer-email-domains.txt
Last active Jun 19, 2020
Domains used for email by consumers and consumer ISPs
View consumer-email-domains.txt
# 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 Jun 19, 2020
Domains with malicious or phishing intent by mimicing domains from real email services
View fake-email-domains.txt
# 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 / mimecast-auto-reply-header-definition
Last active Jun 12, 2020
Content Examination definition to detect machine sent emails
View mimecast-auto-reply-header-definition
# 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 / eu-eea-tlds.txt
Last active Jun 19, 2020
All TLDs of member-states of the EU, EEA, Single Market and or Customs Union.
View eu-eea-tlds.txt
### European Union (EU) TLDs
.at
.be
.bg
.hr
.cy
.cz
.de
.dk
.ee
@teusink
teusink / benelux-tlds.txt
Last active Jun 19, 2020
All TLDs of the Benelux (The Netherlands, Belgium and Luxembourg).
View benelux-tlds.txt
### The Netherlands
.amsterdam
.frl
.nl
### Belgium
.be
.brussels
.gent
### Luxembourg
.lu
You can’t perform that action at this time.