NAME

ThreatDetector::Handlers::DirectoryTraversal - Handler for directory traversal attempts

SYNOPSIS

use ThreatDetector::Handlers::DirectoryTraversal qw(handle_directory_traversal);

handle_directory_traversal($entry);

DESCRIPTION

Prints a JSON alert for requests containing suspected directory traversal patterns such as `../`, URL-encoded traversal attempts, or sensitive path access. These attacks aim to access unauthorized files outside the web root.

AUTHOR

Jason Hall <jason.kei.hall@gmail.com>