Skip to content

Instantly share code, notes, and snippets.

View JanSoderback's full-sized avatar

Jan Söderback JanSoderback

View GitHub Profile
@Diftraku
Diftraku / ufw-glusterfs.conf
Created April 4, 2018 09:59
UFW Application Profile for GlusterFS
[GlusterFS Daemon]
title=GlusterFS (Daemon)
description=GlusterFS Daemon
ports=24007/tcp
[GlusterFS Management]
title=GlusterFS (Management)
description=GlusterFS Management
ports=24008/tcp
@jobec
jobec / domain_fronting.py
Last active October 16, 2023 10:29
How to do domain fronting in Python with Requests. Send a request to an arbitrary IP address and force the SNI field and Host HTTP header to a certain value.
#
# How to do domain fronting in Python with Requests.
#
# Send a request to an arbitrary IP address and force the
# SNI field and Host HTTP header to a certain value.
#
import http.client
import requests
import urllib3