View Source Phx2Ban.Filters (Phx2Ban v0.1.0-beta)

This module provides some default filters that you can use in your application, or can provide some inspiration for your own filters.

Link to this section Summary

Functions

This rule will flag common path extensions that belong to other (and commonly exploited) languages such as PHP, .NET, and Java as well as OS extensions like Windows.

This rule will flag requests that aim to extract files from the OS.

This rul will flag requests that aim to find PHP files.

Link to this section Functions

Link to this function

common_extensions(conn_data)

View Source

This rule will flag common path extensions that belong to other (and commonly exploited) languages such as PHP, .NET, and Java as well as OS extensions like Windows.

This rule will flag requests that aim to extract files from the OS.

Link to this function

php_file_extensions(conn_data)

View Source

This rul will flag requests that aim to find PHP files.