mirror of
https://github.com/danielmiessler/SecLists.git
synced 2026-08-24 18:25:58 +00:00
11 lines
301 B
Bash
Executable File
11 lines
301 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# get new package URLs
|
|
# load the list of amd64 packages from ubuntu
|
|
export dist="$(cat current_distro)"
|
|
export repo="http://archive.ubuntu.com/ubuntu"
|
|
|
|
# print URLs
|
|
curl $repo/dists/$dist/main/binary-amd64/Packages.gz | \
|
|
gzip -d | awk '/^Filename: / { print ENVIRON["repo"] "/" $2 }'
|