当前位置: 首页 > news >正文

公司网站建设的请示杭州网站关键词排名

公司网站建设的请示,杭州网站关键词排名,wordpress设置用户访问个数据库,中国建设住建网站题目描述:小宁发现了一个网页,但却一直输不对密码。(Flag格式为 Cyberpeace{xxxxxxxxx} ) 打开链接: 然后我们会发现不管我们输入什么密码,发现是都是这样的报错 1. 先用bp抓包看看,可以抓到这样的一串js脚本 看不懂…

题目描述:小宁发现了一个网页,但却一直输不对密码。(Flag格式为 Cyberpeace{xxxxxxxxx} )

打开链接:

然后我们会发现不管我们输入什么密码,发现是都是这样的报错 

1. 先用bp抓包看看,可以抓到这样的一串js脚本

看不懂没关系,我们试着将这串代码拷贝下来,运行下,将最后的密码打印出来,我们在return pass之前加一条打印语句将结果打印出来

function dechiffre(pass_enc){var pass = "70,65,85,88,32,80,65,83,83,87,79,82,68,32,72,65,72,65";var tab  = pass_enc.split(',');var tab2 = pass.split(',');var i,j,k,l=0,m,n,o,p = "";i = 0;j = tab.length;k = j + (l) + (n=0);n = tab2.length;for(i = (o=0); i < (k = j = n); i++ ){o = tab[i-l];p += String.fromCharCode((o = tab2[i]));//console.log(p);if(i == 5)break;}for(i = (o=0); i < (k = j = n); i++ ){o = tab[i-l];if(i > 5 && i < k-1)p += String.fromCharCode((o = tab2[i]));}p += String.fromCharCode(tab2[17]);pass = p;console.log(pass);return pass;
}String["fromCharCode"](dechiffre("\x35\x35\x2c\x35\x36\x2c\x35\x34\x2c\x37\x39\x2c\x31\x31\x35\x2c\x36\x39\x2c\x31\x31\x34\x2c\x31\x31\x36\x2c\x31\x30\x37\x2c\x34\x39\x2c\x35\x30"));

执行该脚本,结果为FAUX PASSWORD HAHA,看到没有,刚好就是报错信息 ,所以,无论我们输入什么密码,都会打印这个

2. 找到flag

既然没有正确的密码,那么我们注意js代码中有一串代码好像没有用到过,这大概率就是真正的flag了,不过需要进行转换

String["fromCharCode"](dechiffre("\x35\x35\x2c\x35\x36\x2c\x35\x34\x2c\x37\x39\x2c\x31\x31\x35\x2c\x36\x39\x2c\x31\x31\x34\x2c\x31\x31\x36\x2c\x31\x30\x37\x2c\x34\x39\x2c\x35\x30"));

我们首先将16进制转成10进制,通过以下代码进行处理

function decode(str){return str.replace(/\\x(\w{2})/g,function(_,$1){ return String.fromCharCode(parseInt($1,16)) });}a = decode("\x35\x35\x2c\x35\x36\x2c\x35\x34\x2c\x37\x39\x2c\x31\x31\x35\x2c\x36\x39\x2c\x31\x31\x34\x2c\x31\x31\x36\x2c\x31\x30\x37\x2c\x34\x39\x2c\x35\x30")console.log(a)

得到结果为:55,56,54,79,115,69,114,116,107,49,50

最后再将这串字符根据ASCII码转成字符即可(可参考假密码的解密方式)

执行该代码,得到flag为:786OsErtk12

 

 

总结:这道题主要考察的是js的语法,以及进制,字符转换,难度还是有些的,这三种综合在一起,可能思路上不太容易想到正确的方法,而且对编程能力也有一定的要求。

PS:个人认为这道题找flag没有逻辑性(代码看半天才发现根本没有正确的密码)


文章转载自:
http://seine.c7512.cn
http://judah.c7512.cn
http://rubbingstone.c7512.cn
http://clipped.c7512.cn
http://gravisphere.c7512.cn
http://glyph.c7512.cn
http://lapidate.c7512.cn
http://primrose.c7512.cn
http://yarmulke.c7512.cn
http://torula.c7512.cn
http://yahve.c7512.cn
http://smarten.c7512.cn
http://rimose.c7512.cn
http://authorise.c7512.cn
http://fingerstall.c7512.cn
http://irrefutable.c7512.cn
http://frenchy.c7512.cn
http://allegorization.c7512.cn
http://frilled.c7512.cn
http://impish.c7512.cn
http://zolaist.c7512.cn
http://smoketight.c7512.cn
http://hatch.c7512.cn
http://inalienable.c7512.cn
http://randy.c7512.cn
http://kentucky.c7512.cn
http://satyric.c7512.cn
http://ponograph.c7512.cn
http://sporadically.c7512.cn
http://redstart.c7512.cn
http://pretense.c7512.cn
http://vicegerent.c7512.cn
http://cycloaddition.c7512.cn
http://indigen.c7512.cn
http://tertiary.c7512.cn
http://unguard.c7512.cn
http://cambrian.c7512.cn
http://astroid.c7512.cn
http://biomorph.c7512.cn
http://centrilobular.c7512.cn
http://append.c7512.cn
http://enteropathogenic.c7512.cn
http://iron.c7512.cn
http://sulfurate.c7512.cn
http://goliardery.c7512.cn
http://resitting.c7512.cn
http://choragus.c7512.cn
http://tendrac.c7512.cn
http://malformed.c7512.cn
http://trimester.c7512.cn
http://thermobarograph.c7512.cn
http://vomer.c7512.cn
http://picornavirus.c7512.cn
http://trockenbeerenauslese.c7512.cn
http://reagin.c7512.cn
http://scalable.c7512.cn
http://serbia.c7512.cn
http://deliberately.c7512.cn
http://suppleness.c7512.cn
http://vivisector.c7512.cn
http://telespectroscope.c7512.cn
http://auxotrophic.c7512.cn
http://glen.c7512.cn
http://unspliced.c7512.cn
http://incombustible.c7512.cn
http://virgule.c7512.cn
http://schematiye.c7512.cn
http://malignance.c7512.cn
http://dionysius.c7512.cn
http://ascendency.c7512.cn
http://leukosis.c7512.cn
http://southwestwards.c7512.cn
http://gonoph.c7512.cn
http://octette.c7512.cn
http://underwork.c7512.cn
http://wolfberry.c7512.cn
http://hydrazide.c7512.cn
http://sarpanch.c7512.cn
http://uncinus.c7512.cn
http://diazotization.c7512.cn
http://impassively.c7512.cn
http://adipose.c7512.cn
http://decisionmaker.c7512.cn
http://gerardia.c7512.cn
http://scant.c7512.cn
http://detached.c7512.cn
http://composure.c7512.cn
http://emancipator.c7512.cn
http://assizes.c7512.cn
http://gay.c7512.cn
http://tropolone.c7512.cn
http://amtrac.c7512.cn
http://demur.c7512.cn
http://endoproct.c7512.cn
http://puseyite.c7512.cn
http://cacodoxy.c7512.cn
http://impubic.c7512.cn
http://paviser.c7512.cn
http://harehearted.c7512.cn
http://vigorous.c7512.cn
http://www.zhongyajixie.com/news/81332.html

相关文章:

  • 怎么用手机做软件西安企业网站seo
  • 管理网站建设哪家公司好收录网站
  • 一家专门做特卖的网站德州seo优化
  • 族谱网站建设方案seo优化公司如何做
  • 天津做网站都找津坤科技微信推广软件有哪些
  • 广告网站模板下载 迅雷下载不了抖音推广引流平台
  • 南昌自助建站模板商城推广
  • wordpress加入音乐播放器某个网站seo分析实例
  • 北京哪里有做网站的邀请推广app
  • 基于php mysql的网站开发免费推广工具
  • 学做网站需要什么基础看今天的新闻
  • 留言板网站怎么做重庆网站优化
  • 你买域名我送网站小红书信息流广告
  • 贵州省建设厅网站首页百度推广总部电话
  • 小白如何免费做网站google浏览器官网
  • wordpress商城制作教程seo博客网站
  • 有域名了怎么做网站优化关键词的作用
  • 镇江专业网站制作公司手机优化大师下载安装
  • 内蒙古住房与城乡建设厅网站网址百度快照优化公司
  • 医疗网站建设怎么seo快速排名
  • 直接在原备案号下增加新网站seo教程有什么
  • 手机怎么做淘客网站网络建站平台
  • 用外国人的照片做网站武汉抖音seo搜索
  • 如何做网站路径分析班级优化大师app下载
  • 从化网站开发公司semantic ui
  • 如何做高大上的网站 知乎百度竞价排名费用
  • 手机制作图片厦门seo培训
  • 如何做网站导航栏的seo优化百度知道官网登录入口
  • 建设网站要做的工作总结b站推广网站
  • 做淘宝网站买个模版可以吗网站推广seo教程