From ca4f454d138f62cdb95a058ab02ddb73146eb3f2 Mon Sep 17 00:00:00 2001 From: Nicholas Long Date: Mon, 25 Jul 2022 16:26:11 +0000 Subject: [PATCH] update auto commit message, rename wordlist and references to it, title case in markdown headings --- .bin/etc-files-list-update/README.md | 10 +++++----- .bin/etc-files-list-update/update.sh | 2 +- .../workflows/wordlist-updater_fuzzing_etc_files.yml | 2 +- ...les.txt => LFI-etc-files-of-all-linux-packages.txt} | 0 4 files changed, 7 insertions(+), 7 deletions(-) rename Fuzzing/LFI/{LFI-coyote0x90-linux-etc-files.txt => LFI-etc-files-of-all-linux-packages.txt} (100%) diff --git a/.bin/etc-files-list-update/README.md b/.bin/etc-files-list-update/README.md index 923c18de..85dab521 100644 --- a/.bin/etc-files-list-update/README.md +++ b/.bin/etc-files-list-update/README.md @@ -1,17 +1,17 @@ -# etc file list updater +# Etc File List Updater -## overview -The purpose of this set of scripts is to update the file `Fuzzing/LFI/LFI-coyote0x90-linux-etc-files.txt`. +## Overview +The purpose of this set of scripts is to update the file `Fuzzing/LFI/LFI-etc-files-of-all-linux-packages.txt`. It is intended to be run periodically. The scripts scan all deb packages in the ubuntu apt repository that have been updated since the last scan. URLs that have been scanned will be added to a data file that can be stored in git. -## running +## Running The script must be run from its working directory. ```bash cd .bin/etc-files-list-update && ./update.sh ``` -## details +## Details URLs for deb files that have already been scanned are stored in gzip format in the `deb-url-history/` directory. The current ubuntu distro for which packages are retrieved is stored in the file `current_distro`. This should be changed every few years. diff --git a/.bin/etc-files-list-update/update.sh b/.bin/etc-files-list-update/update.sh index 67c1e072..5d2b3d05 100755 --- a/.bin/etc-files-list-update/update.sh +++ b/.bin/etc-files-list-update/update.sh @@ -1,6 +1,6 @@ #!/bin/bash -export listpath="../../Fuzzing/LFI/LFI-coyote0x90-linux-etc-files.txt" +export listpath="../../Fuzzing/LFI/LFI-etc-files-of-all-linux-packages.txt" [ -f all_files.gz ] && rm all_files.gz # every year, start a new gzip list so there is not as much bloat updating blobs in git diff --git a/.github/workflows/wordlist-updater_fuzzing_etc_files.yml b/.github/workflows/wordlist-updater_fuzzing_etc_files.yml index c996659f..3e86bd0f 100644 --- a/.github/workflows/wordlist-updater_fuzzing_etc_files.yml +++ b/.github/workflows/wordlist-updater_fuzzing_etc_files.yml @@ -26,4 +26,4 @@ jobs: # commit and push - uses: stefanzweifel/git-auto-commit-action@v4 with: - commit_message: update autogenerated files + commit_message: [Github Action] Updated LFI-etc-files-of-all-linux-packages.txt diff --git a/Fuzzing/LFI/LFI-coyote0x90-linux-etc-files.txt b/Fuzzing/LFI/LFI-etc-files-of-all-linux-packages.txt similarity index 100% rename from Fuzzing/LFI/LFI-coyote0x90-linux-etc-files.txt rename to Fuzzing/LFI/LFI-etc-files-of-all-linux-packages.txt