Trustwave Unveils New Offerings to Maximize Value of Microsoft Security Investments. Learn More

Trustwave Unveils New Offerings to Maximize Value of Microsoft Security Investments. Learn More

Services
Capture
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

twi-managed-portal-color
Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

twi-briefcase-color-svg
Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

tw-laptop-data
Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

twi-database-color-svg
Database Security

Prevent unauthorized access and exceed compliance requirements.

twi-email-color-svg
Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

tw-officer
Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

tw-network
Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Microsoft Exchange Server Attacks
Stay protected against emerging threats
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
Loading...
Loading...

HOWTO: Using the Proxy Cache Tool

Expand / Collapse


This article applies to:

  • WebMarshal 6.5 and above

Question:

  • What can I do with the WebMarshal Proxy Cache Tool?

Information:

The Proxy Cache Tool is an advanced command line interface that allows you to review the cache statistics and contents in detail.

The tool also allows you to remove selected items from the cache, and rebuild the cache index.

This tool should not be required in normal operation. The cache is self-maintaining.

Basic cache statistics are available on the Real-Time Dashboard in the WebMarshal Console.

To use the Cache Tool:

  1. Log on to the WebMarshal server (if you use an array, a processing node server).
  2. Open a command prompt and navigate to the WebMarshal install location.
  3. Run WMProxyCacheTool.exe with options as below.

    • NOTE: With WebMarshal 6.10 and above on a 32 bit server, use WMProxyCacheTool32.exe

The Cache Tool supports the following commands:

Operations:
  -l [ --list ]         lists cached items or domains
  -v [ --verify ]       performs a hash verification of cached item data
  -r [ --remove ]       removes items or domains from the cache
  --reindex             recreates the index of items in the cache
Filters:
  -a [ --all ]          matches everything in the cache
  -d [ --domain ] arg   matches all items in a specific domain
  -u [ --url ] arg      matches a specific URL
  --regex-domain arg    matches domains against a regular expression (slow)
  --regex-url arg       matches URLs against a regular expression (slow)

Note: Cache entries are case sensitive for the file path (not the domain).

List Options:
  -i [ --info-level ] arg (=0) list information level
                               0 = URL only
                               1 = basic information
                               2 = detailed information
                               3 = detailed information with response data
General:
  --path                prints out the cache path and exits
  --version             prints the program version and exits
  -? [ --help ]         prints out usage options and exits

Examples:

> wmproxycachetool -l

  • Lists all domains in the cache

> wmproxycachetool -l -d www.example.com

  • Lists all files in the domain www.example.com

> wmproxycachetool -v -u http://www.example.com/file.ext

  • Verifies the stored data for the URL http://www.example.com/file.ext

> wmproxycachetool -r -a

  • Removes all items and domains from the cache

To contact Trustwave about this article or to request support:


Rate this Article:
     

Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.