The REST API is running on the target machine and uses JWT based authentication. An important thing to be noted is that JWT does not offer confidentiality. Therefore, anyone in possession of the token can decode its payload and header part.
Objective: Retrieve the flag from the payload part of the JWT token!
User Information:
| Username | elliot | | Password | elliotalderson | | Email | elliot@evilcorp.com |
API Endpoints:
| Endpoint | Description | Method | Parameter(s) | | /auth/local | Authenticates the user and returns JWT authentication token | POST | identifier, password |
Instructions:
The solution for this lab can be found in the following manual: https://assets.ine.com/labs/ad-manuals/walkthrough-1348.pdf