aboutsummaryrefslogtreecommitdiffstats
path: root/feroxbuster/doinst.sh
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-07-11 12:31:44 +0200
committerDanilo M. <danix@danix.xyz>2026-07-11 12:31:44 +0200
commitfcc470182958ef8ed0b0d468e4119e64a565abbe (patch)
treedbba108592cb64ebd1008a71b9b63f8c0e152abc /feroxbuster/doinst.sh
parentd85e36a1156a25681d81c84ff1c0b47b4eb88a35 (diff)
downloadsbo-slackbuilds-fcc470182958ef8ed0b0d468e4119e64a565abbe.tar.gz
sbo-slackbuilds-fcc470182958ef8ed0b0d468e4119e64a565abbe.zip
Move SecLists, exploitdb, feroxbuster, ffuf, gobuster, nuclei from pentesting-suite
Deduplicate: these six are danix-maintained on SBo. ffuf and gobuster synced to current SBo (arch-independent .info). Others carry local versions ahead of SBo for later update submission. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'feroxbuster/doinst.sh')
-rw-r--r--feroxbuster/doinst.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/feroxbuster/doinst.sh b/feroxbuster/doinst.sh
new file mode 100644
index 0000000..82fe0c0
--- /dev/null
+++ b/feroxbuster/doinst.sh
@@ -0,0 +1,14 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+config etc/feroxbuster/ferox-config.toml.new