Files
SecLists/.bin/etc-files-list-update/util/find-new-urls.awk
T
2022-07-06 05:30:22 +00:00

15 lines
337 B
Awk
Executable File

#!/usr/bin/awk -f
BEGIN {
# load all the URLs we scanned already
command = "util/print-urls.sh"
while (command | getline) {
urls[$0] = 1 # add to set
}
close(command)
# get package URLs that do not appear in the list
command = "util/get-package-urls.sh"
while (command | getline) {
if (!($0 in urls)) print
}
}