1. 打开Windows下的命令提示符。按Windows+r键,输入cmd,回车
2. 输入:
curl http://10.0.7.70/zentao/user-login-L3plbnRhby8=.html
注释:curl为命令,后面的“http...”为目标网站的登录页面浏览器地址栏中的地址。确认正常后进行下一步
3. 输入:
curl -d "username=admin&password=adminpass" -v http://10.0.7.70/zentao/user-login-L3plbnRhby8=.html
注释:所有符号为英文符号,其中username为登录用户名,password为密码。后面还是登录地址
回车后拍照发我看下。确认正常后进行下一步
4. 从刚刚命令的执行结果中找到:Set-cookie: id=; path=/…
注释:需要的就是id=后面的那一串字符,选中复制下来
5. 输入命令:
curl --cookie "JESSIONID=上面复制的那一串字符粘贴进来" http://10.0.7.70/zentao/user-login-L3plbnRhby8=.html