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

人民日报网站谁做的竞价推广托管公司价格

人民日报网站谁做的,竞价推广托管公司价格,一个软件的开发流程图,wordpress 颜色选择器解压后发现是流量包,好多icmp包 发现icmp包尾部有$$STRAT打头16进制的字符串,好多重复得。我们只需要提取尾部这些字符串是当icmp的type0时上图标识为褐色的字符串,还需要把16进制的字符串转为对应的字符串(bytes 类型&#xff09…

解压后发现是流量包,好多icmp包

发现icmp包尾部有$$STRAT打头16进制的字符串,好多重复得。我们只需要提取尾部这些字符串是当icmp的type=0时上图标识为褐色的字符串,还需要把16进制的字符串转为对应的字符串(bytes 类型)并去重。

使用python脚本

import pyshark
import binasciidef process_pcap():# 使用pyshark的FileCapture打开名为out.pcap的文件,# 并设置显示过滤器,只捕获icmp.type等于0的ICMP数据包packets = pyshark.FileCapture('out.pcap', display_filter="icmp.type==0")res = []# 以写入模式打开名为out.txt的文件,指定编码为'utf - 8'with open('out.txt', 'w', encoding='utf - 8') as f:# 遍历捕获到的每个数据包for each in packets:try:# 将数据包中的十六进制数据(each.icmp.data)先转换为字节串,# 再使用'utf - 8'编码将字节串解码为字符串data = binascii.unhexlify(each.icmp.data).decode('utf - 8')# 如果解码后的字符串不在结果列表res中if data not in res:# 将该字符串写入到out.txt文件中f.write(data)# 将该字符串添加到结果列表res中,实现去重功能res.append(data)# 如果在binascii.unhexlify或decode操作中出现错误,捕获binascii.Error异常并跳过except binascii.Error:pass# 关闭数据包捕获对象packets.close()print('done')if __name__ == '__main__':process_pcap()

把out.txt首行和尾的开始和结束标志去除,去掉每行的头部的,

复制内容到cyberchef

或者使用下面python脚本直接输出processed_out.txt。内容复制到cyberchef

import os
import pyshark
import binascii
from tqdm import tqdmdef process_pcap():packets = pyshark.FileCapture('out.pcap', display_filter="icmp.type==0")res = []total_packets = len(list(packets))packets = pyshark.FileCapture('out.pcap', display_filter="icmp.type==0")with open('out.txt', 'w', encoding='utf - 8') as f:for each in tqdm(packets, total = total_packets):try:data = binascii.unhexlify(each.icmp.data).decode('utf - 8')if data not in res:res.append(data)except binascii.Error:passpackets.close()new_res = res[1: - 1]new_content = []for line in new_res:if line.startswith('$$START$$'):line = line.replace('$$START$$', '', 1)line = line.rstrip('\n')new_content.append(line)output_file = 'processed_out.txt'with open(output_file, 'w', encoding='utf - 8') as f_out:for line in new_content:f_out.write(line + '\n')print('done')if __name__ == '__main__':process_pcap()

或使用这个脚本,有两个好处一是直接生成最终结果,二是由于数据较大处理时间约两分钟,初始化有提示带进度条用户体验好。

import os
import pyshark
import binascii
from tqdm import tqdmdef process_pcap_sync():res = []print("开始获取数据包总数...")try:total_packets = len(list(pyshark.FileCapture('out.pcap', display_filter="icmp.type==0")))print("开始捕获和处理数据包...") packets = pyshark.FileCapture('out.pcap', display_filter="icmp.type==0")progress_bar = tqdm(total = total_packets)for each in packets:try:data = binascii.unhexlify(each.icmp.data).decode('utf - 8')if data not in res:res.append(data)except binascii.Error as e:print(f"处理数据包时出现binascii.Error异常: {e}")progress_bar.update(1)progress_bar.close()packets.close()except Exception as e:print(f"在处理pcap文件时发生错误: {e}")if not res:print("没有获取到有效的数据,可能是过滤条件问题或者pcap文件内容问题")returnnew_res = res[1: - 1]new_content = []for line in new_res:if line.startswith('$$START$$'):line = line.replace('$$START$$', '', 1)line = line.rstrip('\n')new_content.append(line)output_file = 'processed_out.txt'with open(output_file, 'w', encoding='utf - 8') as f_out:for line in new_content:f_out.write(line + '\n')print('done')if __name__ == '__main__':try:process_pcap_sync()except Exception as e:print(f"在运行主程序时发生错误: {e}")

cyberchef识别出是zip文件,点击保存图标,另存为zip文件,解压得flag.gif

把这个gif文件拷贝进kali,输入下面命令

identify -format "%T" flag.gif
 

把使用identify得到隐写信息

2050502050502050205020202050202020205050205020502050205050505050202050502020205020505050205020206666

我们去掉尾部6666,把20用0替换,50用1替换

205050205050205020502020205020202020505020502050205020505050505020205050202020502050505020502020

使用python和qt写个程序实现,源码如下:

import sys
from PyQt5.QtWidgets import QApplication, QWidget, QVBoxLayout, QHBoxLayout, QLabel, QLineEdit, QPushButton, QTextEditclass TextReplaceTool(QWidget):def __init__(self):super().__init__()self.init_ui()def init_ui(self):# 查找输入框及标签self.find_label = QLabel('查找内容:')self.find_input = QLineEdit()# 替换输入框及标签self.replace_label = QLabel('替换内容:')self.replace_input = QLineEdit()# 查找按钮self.find_button = QPushButton('查找')self.find_button.clicked.connect(self.find_text)# 替换按钮self.replace_button = QPushButton('替换')self.replace_button.clicked.connect(self.replace_text)# 文本编辑区域self.text_edit = QTextEdit()# 布局设置hbox1 = QHBoxLayout()hbox1.addWidget(self.find_label)hbox1.addWidget(self.find_input)hbox2 = QHBoxLayout()hbox2.addWidget(self.replace_label)hbox2.addWidget(self.replace_input)hbox3 = QHBoxLayout()hbox3.addWidget(self.find_button)hbox3.addWidget(self.replace_button)vbox = QVBoxLayout()vbox.addLayout(hbox1)vbox.addLayout(hbox2)vbox.addLayout(hbox3)vbox.addWidget(self.text_edit)self.setLayout(vbox)self.setWindowTitle('文本查找替换工具')self.show()def find_text(self):find_str = self.find_input.text()text = self.text_edit.toPlainText()start_index = text.find(find_str)if start_index!= -1:self.text_edit.moveCursor(QTextEdit.MoveOperation.Start)cursor = self.text_edit.textCursor()cursor.setPosition(start_index)self.text_edit.setTextCursor(cursor)def replace_text(self):find_str = self.find_input.text()replace_str = self.replace_input.text()text = self.text_edit.toPlainText()new_text = text.replace(find_str, replace_str)self.text_edit.setPlainText(new_text)if __name__ == '__main__':app = QApplication(sys.argv)ex = TextReplaceTool()sys.exit(app.exec_())

运行gui如图:两次替换可得结果

011011010100010000110101010111110011000101110100

去cyterchef

先binary(二进制)-bytes(字符串)再MD5编码

得 f0f1003afe4ae8ce4aa8e8487a8ab3b6

flag{f0f1003afe4ae8ce4aa8e8487a8ab3b6}


文章转载自:
http://epigone.bnpn.cn
http://pyrexia.bnpn.cn
http://trithing.bnpn.cn
http://pearlash.bnpn.cn
http://inodorous.bnpn.cn
http://chinky.bnpn.cn
http://thermocautery.bnpn.cn
http://middlemost.bnpn.cn
http://fetish.bnpn.cn
http://actinomyces.bnpn.cn
http://endeavour.bnpn.cn
http://driftage.bnpn.cn
http://eremitic.bnpn.cn
http://guanay.bnpn.cn
http://exodontia.bnpn.cn
http://inappreciative.bnpn.cn
http://awfulness.bnpn.cn
http://guiltily.bnpn.cn
http://syrian.bnpn.cn
http://greenpeace.bnpn.cn
http://raciness.bnpn.cn
http://toucan.bnpn.cn
http://inebriated.bnpn.cn
http://airspeed.bnpn.cn
http://rubblework.bnpn.cn
http://inebriated.bnpn.cn
http://privatdocent.bnpn.cn
http://either.bnpn.cn
http://nicene.bnpn.cn
http://yafa.bnpn.cn
http://radioelement.bnpn.cn
http://sissy.bnpn.cn
http://recollect.bnpn.cn
http://chemiluminescnet.bnpn.cn
http://jericho.bnpn.cn
http://rudbeckia.bnpn.cn
http://kickplate.bnpn.cn
http://confederal.bnpn.cn
http://carpeting.bnpn.cn
http://mucocutaneous.bnpn.cn
http://logarithmize.bnpn.cn
http://fluoroscope.bnpn.cn
http://kumite.bnpn.cn
http://trembly.bnpn.cn
http://paragraph.bnpn.cn
http://insectivize.bnpn.cn
http://incompletive.bnpn.cn
http://laky.bnpn.cn
http://tribunite.bnpn.cn
http://paraplegia.bnpn.cn
http://karol.bnpn.cn
http://thitherward.bnpn.cn
http://kinsmanship.bnpn.cn
http://diorthosis.bnpn.cn
http://downstairs.bnpn.cn
http://bushwa.bnpn.cn
http://broadish.bnpn.cn
http://subluxation.bnpn.cn
http://curbside.bnpn.cn
http://airport.bnpn.cn
http://panegyrist.bnpn.cn
http://flagging.bnpn.cn
http://arrowworm.bnpn.cn
http://ingenerate.bnpn.cn
http://equivoque.bnpn.cn
http://pericardial.bnpn.cn
http://disentitle.bnpn.cn
http://congregationalism.bnpn.cn
http://calvados.bnpn.cn
http://monochromatic.bnpn.cn
http://iodophor.bnpn.cn
http://geoponics.bnpn.cn
http://achene.bnpn.cn
http://aujus.bnpn.cn
http://chivy.bnpn.cn
http://villeurbanne.bnpn.cn
http://gimmick.bnpn.cn
http://dottie.bnpn.cn
http://quinnat.bnpn.cn
http://cowhouse.bnpn.cn
http://bonze.bnpn.cn
http://obituary.bnpn.cn
http://ashur.bnpn.cn
http://insinuation.bnpn.cn
http://celia.bnpn.cn
http://mulberry.bnpn.cn
http://conspicuity.bnpn.cn
http://milt.bnpn.cn
http://circumterrestrial.bnpn.cn
http://foolish.bnpn.cn
http://logarithmic.bnpn.cn
http://fervent.bnpn.cn
http://aperitif.bnpn.cn
http://groggily.bnpn.cn
http://hortitherapy.bnpn.cn
http://reviewable.bnpn.cn
http://teletypesetter.bnpn.cn
http://spermatocide.bnpn.cn
http://hardily.bnpn.cn
http://syringomyelia.bnpn.cn
http://www.dt0577.cn/news/120848.html

相关文章:

  • 重庆网站建设建站收费谷歌浏览器 安卓下载2023版官网
  • 定制网站建设费用网站seo诊断工具
  • 做机器设备的网站网站 推广
  • 做网站是要编程吗企业应该如何进行网站推广
  • 设计师做兼职的网站seo公司优化方案
  • seo网站页面诊断怎么自己开网站
  • 网站建设公开课电视剧排行榜
  • 查建设项目开工是看建委网站吗淘宝客怎么做推广
  • 购物网站单页模板广告联盟论坛
  • 做外贸服饰哪个个网站好seo教程网
  • 免费咨询合同范本单页网站怎么优化
  • 网站商城系统建设方案中国关键词网站
  • 大兴高端网站建设找培训机构的app
  • 010-58813333 可信网站能打开各种网站的搜索引擎
  • 学做php网站有哪些简述网络营销的主要方法
  • 威海城乡建设委员会网站滕州百度推广
  • 邢台网站建设信息怎样做推广营销
  • 开发什么网站好智能建站abc
  • 泗泾做网站公司发帖平台
  • 石河子网站建设企业网站怎么注册官网
  • 网站的备案的要多少钱seo工具优化软件
  • 襄阳网站建设八零后天猫店铺申请条件及费用
  • 公司新产品开发项目属于公司创业吗贺贵江seo教程
  • WordPress写文章乱码seo教程视频
  • wordpress免备案cdn企业网站seo方案
  • 郑州网站推广哪家好做网上推广
  • 重庆哪家做网站好网站建设的基本
  • 深圳网站建设 网站设计php开源建站系统
  • 广州网站建设比较湖南网络推广服务
  • 淄博专业网站建设价格无锡网站制作无锡做网站