Documentation
HomeGithubDocumentationChangelog
  • 🍀OWASP Four Clover Documentation
  • Overview
    • Getting Started
    • Our Features
  • Tool Guides
    • Performing Scans on Directories and Files
    • Initiating a Comparison
    • Performing Scans Based on Policies
  • Use Cases
    • Security Analyst
    • IT Administrator
    • Compliance Officer
    • Software Developer
    • Incident Responder
    • DevSecOps Engineer
    • Compliance Manager
    • Cloud Security Engineer
Powered by GitBook
On this page
  • Basic Scan
  • Specifying Output File
  • Hash Algorithm Selection
  • Excluding Files/Directories
  • Focusing on File Extensions
  • Adding a Report Name

Was this helpful?

  1. Tool Guides

Performing Scans on Directories and Files

Performing scans on directories and files using Four Clover involves using various command-line options to tailor the scanning process to your specific needs.

Here are the commands and explanations for initiating scans:

Basic Scan

To perform a basic scan on a specified directory:

fourclover snapshot 

This command initiates a scan on the specified directory and generates a scan report.

Specifying Output File

To save the scan report to a specific file:

fourclover snapshot mytargetdir -out 

Use the -out option followed by the desired file name.

Hash Algorithm Selection

To select specific hash algorithms for file verification:

fourclover snapshot mytargetdir -hashes 

Use the -hashes option followed by a comma-separated list of hash algorithm names.

Excluding Files/Directories

To exclude specific files or directories from the scan:

fourclover snapshot mytargetdir -exclude 

Use the -exclude option followed by a comma-separated list of file/directory names.

Focusing on File Extensions

To scan only files with specific extensions:

fourclover snapshot mytargetdir -focus 

Use the -focus option followed by a comma-separated list of file extensions.

Adding a Report Name

To add a name to the scan report (useful for comparison purposes):

fourclover snapshot mytargetdir -name 

Use the -name option followed by the desired name.

PreviousOur FeaturesNextInitiating a Comparison

Last updated 1 year ago

Was this helpful?