Form-based authentication overview

Let's start with a quick overview of form-based authentication. Form-based authentication is the most common and widely used method of authentication in web applications.

This method is not standardized as the previous two methods we learned were, which means that the implementation of this method will vary. Basically, the web application will present a form that will prompt the user for the username and password. Then, that data will go to the server where it will be evaluated, and if the credentials are valid, it will provide a valid session cookie to the user, and it will let the user access the protected resource.

Let's add this to our previous script. So, you're probably waiting for me to say let's ...

Get Learning Python Web Penetration Testing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.