Suspicidy v0.1.0 Suspicidy View Source

Suspicidy aims to detect suspicious web requests. Currently, it only supports detection by request path, using a data-set of almost 800 paths collected from real web crawlers.

Suspicidy exposes the data-set that comes with the library.

Examples

iex> suspicious_path?("/")
false

iex> suspicious_path?("/phpmyadmin")
true

Link to this section Summary

Functions

Returns true if the given path is likely to be suspicious.

Link to this section Functions

Link to this function

suspicious_path?(arg1)

View Source
suspicious_path?(String.t()) :: boolean()

Returns true if the given path is likely to be suspicious.

Examples

iex> suspicious_path?("/")
false

iex> suspicious_path?("/phpmyadmin")
true