Update payload install location to ~/scripts/payloads/
This commit is contained in:
parent
a2fa5c3ae9
commit
1413c05860
3 changed files with 4 additions and 4 deletions
|
|
@ -143,7 +143,7 @@ wfuzz, arjun, scrapy, tld, requests, fuzzywuzzy
|
||||||
**RustScan** - Fast port scanner
|
**RustScan** - Fast port scanner
|
||||||
- Includes alias setup for shell
|
- Includes alias setup for shell
|
||||||
|
|
||||||
### Useful Scripts (downloaded to ~/scripts)
|
### Useful Scripts (downloaded to ~/scripts/payloads)
|
||||||
|
|
||||||
- **linpeas.sh** - Linux privilege escalation
|
- **linpeas.sh** - Linux privilege escalation
|
||||||
- **jaws-enum.ps1** - Windows enumeration
|
- **jaws-enum.ps1** - Windows enumeration
|
||||||
|
|
|
||||||
|
|
@ -130,7 +130,7 @@ DOCKER_TOOLS = {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
# Useful Scripts - Downloaded to ~/scripts
|
# Useful Scripts - Downloaded to ~/scripts/payloads
|
||||||
USEFUL_SCRIPTS = {
|
USEFUL_SCRIPTS = {
|
||||||
"linpeas.sh": "https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh",
|
"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",
|
"jaws-enum.ps1": "https://github.com/411Hall/JAWS/raw/master/jaws-enum.ps1",
|
||||||
|
|
|
||||||
|
|
@ -446,9 +446,9 @@ def download_useful_scripts(
|
||||||
if logger:
|
if logger:
|
||||||
logger.info(f"Downloading scripts: {', '.join(scripts.keys())}")
|
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()
|
home = get_home_dir()
|
||||||
scripts_dir = os.path.join(home, 'scripts')
|
scripts_dir = os.path.join(home, 'scripts', 'payloads')
|
||||||
ensure_directory(scripts_dir)
|
ensure_directory(scripts_dir)
|
||||||
|
|
||||||
success_count = 0
|
success_count = 0
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue