From 1413c0586055ee58ee9ac5c3e26caa26808bad2e Mon Sep 17 00:00:00 2001 From: rpriven Date: Fri, 7 Nov 2025 14:32:40 -0700 Subject: [PATCH] Update payload install location to ~/scripts/payloads/ --- README.md | 2 +- config.py | 2 +- installer.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6c6bdb0..024f435 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,7 @@ wfuzz, arjun, scrapy, tld, requests, fuzzywuzzy **RustScan** - Fast port scanner - Includes alias setup for shell -### Useful Scripts (downloaded to ~/scripts) +### Useful Scripts (downloaded to ~/scripts/payloads) - **linpeas.sh** - Linux privilege escalation - **jaws-enum.ps1** - Windows enumeration diff --git a/config.py b/config.py index 513faf9..698e57a 100644 --- a/config.py +++ b/config.py @@ -130,7 +130,7 @@ DOCKER_TOOLS = { }, } -# Useful Scripts - Downloaded to ~/scripts +# Useful Scripts - Downloaded to ~/scripts/payloads USEFUL_SCRIPTS = { "linpeas.sh": "https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh", "jaws-enum.ps1": "https://github.com/411Hall/JAWS/raw/master/jaws-enum.ps1", diff --git a/installer.py b/installer.py index 01b687d..56ecdb0 100644 --- a/installer.py +++ b/installer.py @@ -446,9 +446,9 @@ def download_useful_scripts( if logger: logger.info(f"Downloading scripts: {', '.join(scripts.keys())}") - # Create scripts directory in user's home (not /root!) + # Create scripts/payloads directory in user's home (not /root!) home = get_home_dir() - scripts_dir = os.path.join(home, 'scripts') + scripts_dir = os.path.join(home, 'scripts', 'payloads') ensure_directory(scripts_dir) success_count = 0