Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
(\"POST .*)(wp-login.php)([^\"]*\"\s)(\b40[6|3|4]\b)
/
ig

Description

Parse access logs for bruteforce attacks on Wordpress' wp-login page

Submitted by Christopher James Curtin - 9 years ago