-
Notifications
You must be signed in to change notification settings - Fork 11
Details ‐ Agents
Michael Haag edited this page Aug 14, 2024
·
2 revisions
The Agents page in ShellSweepX provides functionality for managing and monitoring remote agents, downloading agent scripts, and configuring agent settings. This page serves as a central hub for all agent-related activities within the ShellSweepX system.
The agents.html
template is structured as follows:
- Header: Contains the ShellSweepX logo and navigation menu.
-
Main Content:
- Agent Downloads Section
- Active Agents List
- Agent Configuration Form
- Footer: Displays copyright information and a link to Terms of Service.
- Provides downloadable agent scripts for different operating systems:
- Windows:
- Windows Agent (PowerShell)
- Windows Scan Script (PowerShell)
- Linux:
- Linux Scan Script (Shell Script)
- Linux Agent (Python)
- Windows:
- Download links are styled for visibility and to indicate visited status.
- Displays a table of active agents with the following information:
- Computer Name
- Last Check-in Time
- The table is populated dynamically using JavaScript (likely in the
agents.js
file).
- Allows users to configure various settings for the agents:
- File Extensions: Dynamically add file extensions to scan.
- Directories to Scan: Specify directories for the agents to scan.
- Exclude Paths: Set paths to exclude from scanning.
- Ignore Hashes: List hashes of files to ignore during scans.
- The configuration form uses expandable textareas for better user experience.
- The page uses a separate JavaScript file (
agents.js
) for dynamic functionality. - Key JavaScript functions (implemented in
agents.js
):-
addFileExtension()
: Dynamically adds input fields for file extensions. - Form submission handling for saving the configuration.
-
- The page uses CSS styles defined in
/static/css/styles.css
. - Custom styling is applied to download links and form elements for better usability.