题目地址:http://ctf5.shiyanbar.com/web/false.php
点击View the source看源码,要求get传递的name!=password,但是它们sha1加密后要严格相等。
我们可以利用数组来绕过,sha1加密数组会返回false,而false自然严格等于false
提交name[]=1&password[]=2来使得name!=password
![](https://img.haomeiwen.com/i10120543/cd284e5197066649.png)
getflag
the end
题目地址:http://ctf5.shiyanbar.com/web/false.php
点击View the source看源码,要求get传递的name!=password,但是它们sha1加密后要严格相等。
我们可以利用数组来绕过,sha1加密数组会返回false,而false自然严格等于false
提交name[]=1&password[]=2来使得name!=password
getflag
the end
本文标题:实验吧web-false
本文链接:https://www.haomeiwen.com/subject/nnbqaxtx.html
网友评论