Skip to content

Instantly share code, notes, and snippets.

View dmiller-nmap's full-sized avatar

Daniel Miller dmiller-nmap

View GitHub Profile
#!/usr/bin/env python
import os
import subprocess
import re
fname = 'debian/dists/testing/main/binary-amd64/Packages.xz'.replace('/', '_')
cmd = """
curl http://ftp.vectranet.pl/debian/dists/testing/main/binary-amd64/Packages.xz | \
xzcat > """ + fname