r/Pentesting • u/BlueSky-69 • 1h ago
Portswigger labs are working properly?
Hey I am learning the JWT algorithm confusion attack on the portswigger web academy I tried to solve the lab and i did everything correctly but still didn't get the admin access then I saw solution it's the same what I tried, so I go to youtube videos and they doing the same thing as me:
- Get public key from jwks.json
- Create new RSA key from JWT editor extension
- Copy it as PEM
- Encode it as Base64
- Create a new symmetric key and put the Base64 in k and click ok
- Good to repeater json web token and change RS256 to HS256 and sub: administrator
- Sign it and then send
I did all these things and am still getting 401 why?
