題目描述:X老師今天上課講了前端知識,然后給了大家一個不能按的按鈕,小寧驚奇地發現這個按鈕按不下去,到底怎么才能按下去呢?
發現確實點不開,嘗試修改代碼,使用F12
<html><head> <meta charset="UTF-8"> <title>一個不能按的按鈕</title> <link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet"> <style> body{ margin-left:auto; margin-right:auto; margin-TOP:200PX; width:20em; } </style> </head> <body> <h3>一個不能按的按鈕</h3> <form action="" method="post"> <input disabled="" class="btn btn-default" style="height:50px;width:200px;" type="submit" value="flag" name="auth"> </form>
發現其中button的元素中有 disabled="" 將其刪除發現可以點擊按鈕了,點擊即可獲得flag:
cyberpeace{ed2dbcd8e872960a6a1a67fa62ab6187}