(二十)、Cry->工业协议分析2

 

一、wireshark打开

 

一堆udp协议

二、发现长度为131的包

 

 

 

三、截取出二进制数字

666c61677b37466f4d3253746b6865507a7d

四、转化为字符串

这里我借助了16进制编辑工具进行转化的

 

得到

flag{7FoM2StkhePz}

 

或者我们也可以使用python来写解密脚本

strs = '666c61677b37466f4d3253746b6865507a7d'
l = len(strs)

for i in range(0,l,2):
    asc = int(strs[i] + strs[i+1],16)
    print(chr(asc),end='')

 

 

五、小总结

使用16进制编辑工具快速进行asc码转化

16进制字符串转化为整形int(str,16)

posted @ 2022-02-27 22:22  TLSN  阅读(70)  评论(0)    收藏  举报