【发布时间】:2011-02-16 02:20:54
【问题描述】:
好的,我看到很多人询问有关通过 URL 传递其他值、URLS、随机内容的问题,但没有找到任何有关将密码发送到密码字段的信息。
这是我的情况:
我每天在工作中使用大量网站,哦,大约 90% 需要登录。显然,为每个站点记住 80 亿次登录是愚蠢的,尤其是当我为每个站点使用多个用户名时。所以为了让生活更轻松,我设计了一个漂亮的 JSP 应用程序,它将我所有的登录信息存储在一个数据库表中,并为我想要访问的特定页面创建一个用户界面。每个页面都有一个按钮,用于将用户名、密码发送到 html 输入的 id 参数中。
问题:
我可以让用户名和其他信息显示出来,但是当我尝试将密码发送到密码字段时,我试图点击的页面似乎没有收到任何内容。
我需要在这里做一些忍者的事情吗?还是不容易做到?
基本上这就是我现在所做的:
http://addresshere/support?loginname=steveoooo&loginpass=passwordhere
我的一些 html 看起来像这样:
<form name="userform" method="post" action="index.jsp" >
<input type="hidden" name="submit_login" value="y">
<table width="100%">
<tr class="main">
<td width="100" nowrap>Username:</td>
<td><input type="text" name="loginname" value="" size="30" maxlength="64"></td>
</tr>
<tr class="main">
<td>Password: </font></td>
<td><input type="password" name="loginpass" value="" size="30" maxlength="64"></td>
</tr>
<tr class="main">
<td><center><input type="submit" name="submit" value="Login"></center></td>
</tr>
</table>
</form>
有什么建议吗?
【问题讨论】: