Installation Guide

This guide will help you install and set up the Apache Sling Auditor on your system.

Prerequisites

Before installing, ensure you have:

Installation Methods

1
2
3
4
5
# Clone the repository
git clone https://github.com/Auditing-Korner/Apache-Sling-Auditor.git

# Navigate to the directory
cd Apache-Sling-Auditor

Method 2: Download ZIP

  1. Download the repository as a ZIP file from GitHub
  2. Extract it to your desired location
  3. Navigate to the extracted directory

Using a virtual environment is highly recommended to avoid conflicts with system packages.

On Linux/macOS:

1
2
3
4
5
6
7
8
# Create virtual environment
python3 -m venv venv

# Activate virtual environment
source venv/bin/activate

# Verify activation (prompt should show (venv))
which python  # Should point to venv/bin/python

On Windows:

1
2
3
4
5
6
7
8
# Create virtual environment
python -m venv venv

# Activate virtual environment
.\venv\Scripts\activate

# Verify activation (prompt should show (venv))
where python  # Should point to venv\Scripts\python.exe

Install Dependencies

Once your virtual environment is activated:

1
2
3
4
5
# Upgrade pip (recommended)
pip install --upgrade pip

# Install all dependencies
pip install -r requirements.txt

Dependencies Installed

The following packages will be installed:

Verify Installation

Test that everything is installed correctly:

1
2
3
4
5
6
7
# Check Python version
python --version

# Verify main script is executable
python auditor.py --help

# You should see the help message with all available options

Configuration

The auditor uses a YAML configuration file located at

1
config/audit_config.yaml
. This file contains:

You can customize this file to suit your needs. See the Configuration Guide for details.

Wordlists

The

1
wordlists/
directory contains several wordlists:

You can use these as-is or provide your own custom wordlists.

Troubleshooting

Common Issues

Issue:
1
python: command not found

Solution: Use

1
python3
instead:

1
2
python3 --version
python3 -m venv venv

Issue:
1
pip: command not found

Solution: Install pip or use

1
python -m pip
:

1
python -m pip install -r requirements.txt

Issue: Permission errors on Linux/macOS

Solution: Use

1
sudo
(not recommended) or better, use a virtual environment:

1
2
3
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Issue: SSL certificate errors

Solution: Use the

1
-k
or
1
--insecure
flag when scanning:

1
python auditor.py -t https://target.com:4503 -k

Issue: Module not found errors

Solution: Ensure virtual environment is activated and dependencies are installed:

1
2
source venv/bin/activate  # or .\venv\Scripts\activate on Windows
pip install -r requirements.txt

Next Steps

Once installation is complete:

  1. Quick Start Guide - Run your first scan
  2. Usage Guide - Learn how to use all features
  3. Configuration - Customize the auditor

System Requirements

Minimum Requirements

Updating

To update to the latest version:

1
2
3
4
5
6
7
8
# Navigate to the repository directory
cd Apache-Sling-Auditor

# Pull latest changes
git pull origin main

# Update dependencies (if requirements.txt changed)
pip install -r requirements.txt --upgrade

Uninstallation

To remove the auditor:

1
2
3
4
5
6
7
# Simply delete the directory
rm -rf Apache-Sling-Auditor  # Linux/macOS
# or
rmdir /s Apache-Sling-Auditor  # Windows

# If using virtual environment, deactivate first
deactivate

Ready to start? Check out the Quick Start Guide!