Skip to main content

Overview

The update_all_scripts.bat script automatically updates all Simple Vulnerability Manager scripts to their latest versions from the official GitHub repository. This ensures you have the most recent features, bug fixes, and security improvements.

Usage

Simply run the script from the SVM installation directory. No parameters required.

Updated Scripts

The script updates 52 SVM scripts across all categories:

Network Scanning Scripts

  • nmap_scan.bat
  • nmap_scan_remote.bat

Vulnerability Scanning Scripts

Nessus

  • nessus_scan.bat
  • nessus_get_policies.bat

Acunetix

  • acunetix_scan.bat
  • acunetix_v11_scan.bat

Arachni

  • arachni_scan_remote.bat

Qualys

  • qualys_scan.bat
  • qualys_scan_report.bat
  • qualys_report.bat
  • qualys_report_xml.bat
  • qualys_get_scanner_appliances.bat
  • qualys_get_reports_templates.bat

Burp Suite

  • burpsuite_scan.bat

Netsparker

  • netsparker_scan.bat

OpenVAS

  • openvas_scan.bat
  • openvas_scan_remote.bat
  • openvas_scan_remote.sh
  • openvas_get_scan_configs.bat
  • openvas_get_scan_configs_remote.bat
  • openvas_get_scan_configs_remote.sh
  • openvas_get_report_formats.bat
  • openvas_get_report_formats_remote.bat
  • openvas_get_report_formats_remote.sh

Mobile Security Scripts

APK Tools

  • apktool_decode_local.bat
  • apktool_decode_remote.bat
  • apktool_build_local.bat

Android Tools

  • apk_install_local.bat
  • apk_install_remote.bat
  • apk_sign_local.bat
  • android_comandos.bat
  • run_avd.bat

Mobile Scanners

  • androbugs_framework.bat
  • qark.bat
  • qark.sh
  • mobsf.bat

Java Tools

  • jd-gui.bat
  • enjarify_local.bat
  • enjarify_remote.bat

OSINT & Reconnaissance

  • recon_ng_remote.bat
  • EyeWitness_remote.bat

Web Interface Scripts

  • web_proyectos.bat
  • web_vulnerabilidades.bat

Authentication Scripts

  • Login_fast.rb
  • Login_slow.rb

Utility Scripts

  • upload_file.bat

Installation & Update Scripts

  • install_upgrade_tools_local.bat
  • install_upgrade_tools_remoto.bat
  • install_upgrade_tools_remoto.sh
  • update_all_scripts.bat (self-update)

How It Works

Update Mechanism

The script uses a subroutine that:
  1. Downloads the latest version from GitHub
  2. Overwrites the local file
  3. Maintains silent operation with curl -s flag

Download Source

All scripts are downloaded from the official SVM GitHub repository:
This ensures:
  • Latest stable versions
  • Verified and tested code
  • Official distribution channel

Requirements

Dependencies

  • curl.exe - Must be present in the same directory as update_all_scripts.bat
  • Internet Connection - Required to access GitHub
  • Write Permissions - Script directory must be writable

Network Requirements

  • Outbound HTTPS access to GitHub
  • No proxy configuration needed (uses system proxy if configured)
  • Port 443 (HTTPS) must be accessible

Execution Details

Silent Mode

The script uses curl’s -s (silent) flag to suppress progress output:
This provides:
  • Clean console output
  • Only shows “Actualizando [filename]…” messages
  • No transfer statistics or progress bars

File Overwrite

The -o flag overwrites existing files without confirmation:
Important: This replaces local modifications. Always backup customized scripts before updating.

Update Frequency

  • Production Environments - Monthly updates
  • Testing Environments - Weekly updates
  • After Bug Reports - Immediate update when fixes are released
  • Major Releases - Check changelog before updating

Version Tracking

The script does not track versions automatically. To verify updates:
Or use Git to track changes:

Backup Before Update

Create backups of customized scripts:

Custom Scripts Protection

If you have custom scripts in the same directory:
  1. Use Different Names - Custom scripts won’t be overwritten
  2. Separate Directory - Keep custom scripts elsewhere
  3. Version Control - Use Git to track local changes

Selective Updates

To update specific scripts only, modify the update script:

Self-Update

The script updates itself:
This ensures the update mechanism stays current with any new scripts added to the repository.

Verification

Verify Update Success

After running the update script:

Test Updated Scripts

Run a simple test after updating:

Troubleshooting

curl.exe Not Found

Issue: The system cannot find curl.exe Solution:

Download Failures

Issue: Scripts fail to download Solution:

Permission Denied

Issue: Cannot overwrite files Solution:

Partial Updates

Issue: Some scripts update, others fail Solution:

Network Firewall/Proxy Issues

Issue: Corporate firewall blocks GitHub Solution:

Manual Update Alternative

If automatic updates fail, manually download from GitHub:

Change Log Checking

Before updating, check the repository for changes:

Post-Update Tasks

After successful update:
  1. Review Changes - Check GitHub commits for new features
  2. Test Critical Scripts - Verify scanners still work
  3. Update Documentation - Note any new parameters or requirements
  4. Notify Team - Inform users of updates
  5. Update Configuration - Adjust for any API changes

Rollback Procedure

If updates cause issues:

Update Script Output

Expected output during execution:

Integration with Scheduled Tasks

Automate updates with Windows Task Scheduler:

Security Considerations

  • Source Trust - Scripts download from official GitHub repository only
  • HTTPS - All downloads use encrypted connections
  • No Execution - Update script only downloads files, doesn’t execute them
  • Verification - Review changes before using updated scripts in production
  • install_upgrade_tools_local.bat - Install/upgrade security tools locally
  • install_upgrade_tools_remoto.bat - Install/upgrade tools on remote systems
  • install_upgrade_tools_remoto.sh - Linux installation script

References

Notes

  • The script always downloads the latest master branch version
  • Updates are non-interactive and fully automated
  • Script execution is safe to run multiple times
  • No version checking - always downloads latest version
  • Compatible with all Windows versions that support batch files
  • Requires curl.exe for Windows (included with SVM distribution)