network enabled community low v1.0.0

apache2ctl

Apache HTTP server control interface that can leak file contents via config Include directive.

📋 Live Preview
apache2ctl {c}
📎 c
apache2ctl {c}

Sandbox: execFile · Timeout: 30s

Capabilities

system.file.read
network.http.server.control

Parameters

Name Type Required Default Description Aliases
c string No - Pass a config directive -c

Contract

Inputs

system.file.path

Path to file to read

Outputs

system.file.content

File content leaked in error messages

Side effects:

Workflow Edges

Produces

system.file.content

Consumes

system.file.path

Resource Profile

ResourceValue
CPUlow
Memory32 MB
Networklow
Disk I/Olow

Examples

Read arbitrary file via Include directive in config

apache2ctl -c 'Include /path/to/input-file'

Documentation

apache2ctl — Apache HTTP Server Control

Control interface for Apache HTTP server. When used with sudo, the -c Include directive can leak file contents through error messages.

Related Tools

apache2

References