WeChall - No Action

Challenge

Hello hacker, In this challenge you will find a little form, but where does it sends it's data too?! Good Luck!

  • gizmore

页面上只有一个小表单。题目问的是:这个表单到底把数据提交到哪里?

Solution

核心是看 HTML source,而不是看渲染后的表单。表单本身没有明显按钮动作,真正线索在 action

源码里可以看到类似结构:

1
<form action="indice.php" method="post"></form>

因此表单提交目标不是当前题目页,也不是 ?,而是隐藏在 action 属性里的 indice.php

答案就是表单提交到的文件名:

indice.php