找回密码
 register
搜索
查看: 1593|回复: 1

[游戏教程] CSDN C1任务02-计算机网络学习笔记

[复制链接]
  • 打卡等级:本地老炮
  • 打卡总天数:523
  • 打卡月天数:12
  • 打卡总奖励:521
  • 最近打卡:2026-06-14 09:46:51
Waylee 发表于 2021-4-20 22:25 | 显示全部楼层 |阅读模式
⾸先,访问⽹址:http://temp.blog8090.com/ ,提交⼿机号、姓名,在浏览器返回的信息中,得到下⼀步任务的「暗号」:
\u8bf7\u63d0\u4ea4\u6b63\u786e\u7684\u53e3\u4ee4\uff1a\u4eca\u665a\u6253\u8001\u864e


如果你使用CSDN的谷歌浏览器插件,显示会更加一目了然:顺便安利一波:https://plugin.csdn.net/



如果不用插件,我们需要将"Unicode转中文 ": https://tool.chinaz.com/Tools/Unicode.aspx




接下来我们来抓包,谷歌浏览器中按F12打开开发者工具,如图打开network的选项。然后我们重新执行提交表单的操作。
得到信息如下:



phone=1388888888&username=8888  每个表单用&连接
已知任务要求需要添加:
kouling=今晚打老虎


谷歌提交post的代码:
var url = "http://obs.exam.blog8090.com/casual/login";
var params = {phone: 13888888888, username: "雪舞", kouling: "今晚打老虎"};
var xhr = new XMLHttpRequest();
xhr.open("POST", url, true);
xhr.setRequestHeader("Content-Type", "application/json");
xhr.onload = function (e) {
  if (xhr.readyState === 4) {
    if (xhr.status === 200) {
      console.log(xhr.responseText);
    } else {
      console.error(xhr.statusText);
    }
  }
};
xhr.onerror = function (e) {
  console.error(xhr.statusText);
};
xhr.send(JSON.stringify(params));




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?register

×
  • 打卡等级:本地老炮
  • 打卡总天数:523
  • 打卡月天数:12
  • 打卡总奖励:521
  • 最近打卡:2026-06-14 09:46:51
 楼主| Waylee 发表于 2021-4-20 22:47 | 显示全部楼层
您需要登录后才可以回帖 登录 | register

本版积分规则

QQ|雪舞知识库 ( 浙ICP备15015590号-1 | 萌ICP备20232229号|浙公网安备33048102000118号 )|天天打卡

GMT+8, 2026-6-14 23:25 , Processed in 0.077029 second(s), 33 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表