User role can be modified in user profile
lab 描述
This lab has an admin panel at /admin. It’s only accessible to logged-in users with a roleid of 2.Solve the lab by accessing the admin panel and using it to delete the user carlos.You can log in to your own account using the following credentials: wiener:peter
解法
先登录wiener:peter

可以看到这里有个修改email的选项,我们尝试修改一下看看情况
我们可以看到这里修改的方式是用json传输,我们可以猜测他有可能就是修改json里面的键值对,这里我们需要roleid为2,,那么我们可以尝试将roleid也加入到其中更改。
尝试发包
我们看到其报错,可能是我们的包有问题,进行更改一下
可以看到成功更改了
我们访问管理界面删除即可


