Skip to content

Instantly share code, notes, and snippets.

View steave-r0gers's full-sized avatar

steave-r0gers

View GitHub Profile
@steave-r0gers
steave-r0gers / find-https-debian-archives.py
Created January 30, 2018 07:38 — forked from eighthave/find-https-debian-archives.py
Script to find official Debian mirrors that support HTTPS
#!/usr/bin/env python3
import urllib.request
import re
import ssl
import sys
# # find generic mirrors
mirrors = urllib.request.urlopen('http://www.debian.org/mirror/list')
https = []