Skip to content

Instantly share code, notes, and snippets.

View orangelynx's full-sized avatar

Maximilian orangelynx

View GitHub Profile
@orangelynx
orangelynx / tls_tunnel_for_firewall_bypass.md
Created August 24, 2017 13:51
Bypassing DPI Firewalls blocking OpenVPN using an SSL/TLS tunnel.

Hello World

@orangelynx
orangelynx / timedelta.regex
Created February 19, 2020 13:29
A really overkill regex expression (python) for parsing time deltas.
(?:(?P<years>\d+)\s*y(?:ears?)?)?\s*(?:(?P<months>\d+)\s*mon(?:ths?)?)?\s*(?:(?P<weeks>\d+)\s*w(?:eeks?)?)?\s*(?:(?P<days>\d+)\s*d(?:ays?)?)?\s*(?:(?P<hours>\d+)\s*h(?:(?:ou)?rs?)?)?\s*(?:(?P<minutes>\d+)\s*m(?:in(?:ute)?s?)?)?\s*(?:(?P<seconds>\d+)\s*s(?:ec(?:ond)?s?)?)?$