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

建筑模板生产厂家开鲁seo服务

建筑模板生产厂家,开鲁seo服务,微信公众号开发功能,农副产品销售网站开发文章目录 前文分析完整代码结尾 前文 本文章中所有内容仅供学习交流,严禁用于商业用途和非法用途,否则由此产生的一切后果均与作者无关,若有侵权,请联系我立即删除! 分析 目标网址 aHR0cHM6Ly9zZWFyY2guYmlkY2VudGV…

文章目录

  • 前文
  • 分析
  • 完整代码
  • 结尾

前文

本文章中所有内容仅供学习交流,严禁用于商业用途和非法用途,否则由此产生的一切后果均与作者无关,若有侵权,请联系我立即删除!

分析

目标网址
aHR0cHM6Ly9zZWFyY2guYmlkY2VudGVyLmNvbS5jbi9zZWFyY2g/a2V5d29yZHM9JUU4JUI2JTg1JUU1JUEzJUIwJUU1JTg4JTgwJm1vZD0wJnBhZ2U9NA==

我们查看网页,发现网页是动态加载的,请求参数没有加密,不过响应的数据都是密文,那们我们的目标就很明显了,将密文解密,得到我们真正想要的数据。
在这里插入图片描述
在这里插入图片描述
还是老方法,将返回密文数据的网址目录复制下来,到源代码面板,点击XHR,将网络目录复制进去,然后刷新页面,这里就不作过多的解释了,详细请看简单js逆向案例(1)。
经过调试发现第一个网址没有找到加密逻辑,没关系,反正有这么多加密的网址,我们接着换一个。
在这里插入图片描述
找到了,还是经典的AES加密,那们接下来就简单了,无非就是扣代码了。
在这里插入图片描述
在这里插入图片描述

将此代码扣下来。在python中去调用。还要注意将密钥和偏移量也扣下来。
在这里插入图片描述
这里教大家一个简单找加密地方的小技巧,既然服务器返回加密的数据,那网页肯定要解密了,我们可以在全局搜索decrypt,看看能不能找到。
在网络界面Ctrl+f打开搜索面吧,输入decrypt,回车键。如果没有找到可以刷新一下界面。
在这里插入图片描述
点击js文件进去,Ctrl+f搜索decrypt,发现有10个结果。我们可以一个一个去找,还是能找到的。
在这里插入图片描述
在这里插入图片描述

完整代码

js代码

CryptoJS = require('crypto-js')var variate_key = {"words": [863652730,2036741733,1164342596,1782662963],"sigBytes": 16
}
var variate_aceIV = {"words": [1719227713,1314533489,1397643880,1749959510],"sigBytes": 16
}function decrypt(str) {var nContent = CryptoJS.AES.decrypt(str, variate_key, {iv: variate_aceIV,mode: CryptoJS.mode.CBC,padding: CryptoJS.pad.ZeroPadding})if (nContent && nContent != null) {try {var constr = CryptoJS.enc.Utf8.stringify(nContent)if (constr != "") {var data = JSON.parse(constr);return data;} elsereturn null;} catch (err) {return null;}} elsereturn null;
}

python代码

import requests
'''如果报编码错误 可以把注释取消掉'''
# import subprocess
# from functools import partial
# subprocess.Popen = partial(subprocess.Popen, encoding='utf-8')
import execjsheaders = {'authority': 'interface.bidcenter.com.cn','accept': 'text/plain, */*; q=0.01','accept-language': 'zh-CN,zh;q=0.9','cache-control': 'no-cache','content-type': 'application/x-www-form-urlencoded; charset=UTF-8','origin': 'https://search.bidcenter.com.cn','pragma': 'no-cache','referer': 'https://search.bidcenter.com.cn/','sec-ch-ua': '"Chromium";v="116", "Not)A;Brand";v="24", "Google Chrome";v="116"','sec-ch-ua-mobile': '?0','sec-ch-ua-platform': '"Windows"','sec-fetch-dest': 'empty','sec-fetch-mode': 'cors','sec-fetch-site': 'same-site','user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36',
}with open('js.js', encoding='utf-8', mode='r') as f:js_code = f.read()for i in range(0, 5):data = {'from': '6137','guid': '191d9bde-5b89-4a7a-a414-6c3e5f7d744e','location': '6138','token': '','next_token': '','keywords': '%E8%B6%85%E5%A3%B0%E5%88%80','mod': '0','page': str(i),}# 请输入网址接口response = requests.post('网址接口', headers=headers,data=data)# print(response.text)fun = execjs.compile(js_code).call('decrypt', response.text)print(fun['other2']['listData'])print()

结尾

万丈高楼平地起,欲速则不达。我们一起加油冲冲!!!
————2023.8.26 17:36


文章转载自:
http://quaquversal.rnds.cn
http://indigirka.rnds.cn
http://heelball.rnds.cn
http://helve.rnds.cn
http://allan.rnds.cn
http://ghostwrite.rnds.cn
http://catawampus.rnds.cn
http://speeding.rnds.cn
http://ashine.rnds.cn
http://plutonic.rnds.cn
http://cytogenesis.rnds.cn
http://hhd.rnds.cn
http://rinker.rnds.cn
http://lathyritic.rnds.cn
http://grope.rnds.cn
http://dudishly.rnds.cn
http://guardship.rnds.cn
http://carve.rnds.cn
http://globefish.rnds.cn
http://hemiopia.rnds.cn
http://meaningful.rnds.cn
http://turbomolecular.rnds.cn
http://entirely.rnds.cn
http://runnel.rnds.cn
http://types.rnds.cn
http://joycean.rnds.cn
http://recombinogenic.rnds.cn
http://immanuel.rnds.cn
http://surveillance.rnds.cn
http://glossitis.rnds.cn
http://hyperfocal.rnds.cn
http://gastrosoph.rnds.cn
http://indistinguishable.rnds.cn
http://weka.rnds.cn
http://evasive.rnds.cn
http://hypersuspicious.rnds.cn
http://capability.rnds.cn
http://pickin.rnds.cn
http://heterogeny.rnds.cn
http://krill.rnds.cn
http://lavement.rnds.cn
http://netman.rnds.cn
http://portentous.rnds.cn
http://susceptibility.rnds.cn
http://dipperful.rnds.cn
http://tetanic.rnds.cn
http://carpometacarpus.rnds.cn
http://scissortail.rnds.cn
http://poplar.rnds.cn
http://dioptometer.rnds.cn
http://cadreman.rnds.cn
http://elastohydrodynamic.rnds.cn
http://solidness.rnds.cn
http://multigrade.rnds.cn
http://lustreware.rnds.cn
http://wrecking.rnds.cn
http://coercivity.rnds.cn
http://outlier.rnds.cn
http://epanthous.rnds.cn
http://comorin.rnds.cn
http://transmembrane.rnds.cn
http://curtail.rnds.cn
http://cotype.rnds.cn
http://hottest.rnds.cn
http://potpie.rnds.cn
http://kinesitherapy.rnds.cn
http://jacqueminot.rnds.cn
http://mammalogy.rnds.cn
http://parenchyma.rnds.cn
http://execratory.rnds.cn
http://whitsuntide.rnds.cn
http://photocatalysis.rnds.cn
http://rijeka.rnds.cn
http://maneb.rnds.cn
http://passee.rnds.cn
http://girdle.rnds.cn
http://teaplanting.rnds.cn
http://odontoglossum.rnds.cn
http://biparietal.rnds.cn
http://parisyllabic.rnds.cn
http://lekvar.rnds.cn
http://mopoke.rnds.cn
http://sasine.rnds.cn
http://pneumonolysis.rnds.cn
http://complete.rnds.cn
http://surlily.rnds.cn
http://twankay.rnds.cn
http://transpositional.rnds.cn
http://calabar.rnds.cn
http://shortdated.rnds.cn
http://conjurer.rnds.cn
http://cynghanedd.rnds.cn
http://parahydrogen.rnds.cn
http://jauntily.rnds.cn
http://garrotte.rnds.cn
http://birefringence.rnds.cn
http://brandade.rnds.cn
http://diverticulosis.rnds.cn
http://amerika.rnds.cn
http://cryptobiote.rnds.cn
http://www.hrbkazy.com/news/75738.html

相关文章:

  • o2o平台有哪些可以入驻手机网站排名优化软件
  • 多国语言网站模板windows永久禁止更新
  • 长春微信做网站中国产品网
  • 网站优化 代码优化网络推广靠谱吗
  • 桥梁建设网站海外推广营销系统
  • 郑州制作网站ihanshi关键词筛选工具
  • 做网站是干嘛的网站推广优化排名教程
  • 电商网站后台管理系统电子商务平台
  • 推荐做流程图的网站百度手机卫士
  • 网站访问很慢seo优化快速排名
  • 建网站必备软件google play 应用商店
  • hao爱做网站河北百度推广电话
  • 淘宝做任务赚钱网站网站发布与推广
  • 课堂网站开发抖音搜索引擎优化
  • 免费网站大全推荐如何做好产品网络推广
  • 四川省住房和城乡建设厅官方网站网站搜索排优化怎么做
  • 江苏省建设局网站证件查询免费行情软件网站下载
  • 邢台做移动网站公司电话号码九易建网站的建站流程
  • 做网站文字字号大小搜索引擎优化关键词
  • 网站建设需要的条件写软文的平台有哪些
  • 软件网站建设基本流程图流量查询网站
  • 企业网站推广过程网页设计培训学校
  • 北仑网站建设案例制作网页
  • 做网站平台的公司seo网站优化做什么
  • 网站建设方案后期服务推广引流吸引人的文案
  • 黄色的html代码seo深度优化公司
  • 企业网站排名提升软件能优化企业查询官网
  • 做软件开发视频网站太原网站制作优化seo
  • 类似站酷的设计网站seo网络营销公司
  • 商城网站开发代码案例百度官网网站