===== Background Info ===== Lucy can create phishing scenarios where you ask the user to login on a landing web page. Some users might use some fake login data or login without any credentials on your phishing simulation. As you don't want those users to count as successful attacks you can define regular expressions within the login field. Those filters enable you to define the login criteria's. A login criteria could be: * A password has to be contain at least two alphanumerical characters * A username has to contain at least a certain domain name * Etc. ===== Syntax used in the login fields on the web page ===== LUCY is recording ALL data send back to the landing page in a form POST request. But in order for LUCY to apply regular expressions in a login field the the login form should use a POST method and set the login action to “?login”, you also need to set the name of the login field to “login” and the name of the password field to “password”. A valid login field on LUCY where regular expressions can be applied might look like this:
**JS Libraries:** Download the according JS libraries {{ ::javascripts.zip |here}} and place them within your campaign template (landing page).