网站首页
编程语言
数据库
系统相关
其他分享
编程问答
S7Comm
2024-07-17
ICS_S7comm协议分析-2021工业互联网内部预选赛
根据功能可以看出是设置密码拆分data数据,用前两个与0x55进行异或接着对剩下的数操作,操作为与自己距离为-2的数进行异或list=[0x26,0x62,0x10,0x42,0x37,0x7e,0x16,0x52]passwd=[]foriinrange(0,len(list)):ifi==0ori==1:passwd.append(chr(list[i]^0x55))