|
[调查]《加密与解密四》印了多少本了?剧透下吧,导演~~
我表示我成功了 |
|
[求助]水卡的数据分析
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 校验测试 { class Program { static void Main(string[] args) { var data = new byte[]{0x23,0x23,0x3D,0x05,0x00,0x00,0x39,0x05,0x12,0x09,0x0C,0x9D,0x8B,0x9B,0x3B,0x6C,0x8E,0x5D,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x00,0x77,0x08}; var data2 = new byte[]{0x23,0x23,0x3D,0x05,0x00,0x00,0x3A,0x05,0x12,0x09,0x0C,0x9D,0x8B,0x9B,0x3B,0x99,0x70,0x5D,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x31,0x00,0x78,0xF1}; var data3 = new byte[]{0x23,0x23,0x3D,0x05,0x00,0x00,0x3B,0x05,0x12,0x09,0x0C,0x9D,0x8B,0x9B,0x3B,0x3D,0x52,0x5D,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x32,0x00,0x79,0xDB}; var data4 = new byte[]{0x23,0x23,0x3D,0x05,0x00,0x00,0x3C,0x05,0x12,0x09,0x0C,0x9D,0x8B,0x9B,0x3B,0x6A,0x34,0x5D,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x33,0x00,0x7A,0x3B}; var data5 = new byte[]{0x23,0x23,0x3D,0x05,0x00,0x00,0x3D,0x05,0x12,0x09,0x0C,0x9D,0x8B,0x9B,0x3B,0xCE,0x16,0x5D,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x34,0x00,0x7B,0x8F}; var data6 = new byte[]{0x23,0x23,0x3D,0x05,0x00,0x00,0x3E,0x05,0x12,0x09,0x0C,0x9D,0x8B,0x9B,0x3B,0x3B,0xF8,0x5C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x35,0x00,0x7C,0x50}; var list = new List<byte[]>(); list.Add(data); list.Add(data2); list.Add(data3); list.Add(data4); list.Add(data5); list.Add(data6); //校验位遍历 for(var i = 0;i < list[0].Count();i++) { //起点 for(var j = 0;j < list[0].Count();j++) { if(i != j) { byte r = 0; for(var k = j;k < list[0].Count();k++) { if(i != k) { r ^= list[0][k]; //若校验成功 if(r == list[0][i]) { //检查其它数据 byte rt = 0; bool flag = true; //遍历数据列表 for(var m = 1;m < list.Count();m++) { //遍历待校验字节 for(var p = j;p <= k;p++) { if(p != i) { rt ^= list[m][p]; } } if(rt != list[m][i]) { flag = false; break; } } //多次校验成功 if(flag && (k > j)) { Console.WriteLine("发现一处校验位:" + i + ",校验区域:" + j + " - " + k); } } } } } } } Console.ReadLine(); } } } |
|
[求助]水卡的数据分析
23 23 3D 05 设备ID 00 00 39 05 刷卡次数?取水容量mL? 12 09 0C 9D 12-年份后两位 09-月份 0C-日 9D-157 = 01:57 凌晨一点五十七分 8B 9B 3B 6C 8E 5D 00 00 金额 单位 厘 00 00 00 00 00 00 00 00 30 00 77 08 确定内容中不存在简单的xor校验,已经用程序遍历了所有可能性 |
|
|
|
[求助]sql语句有错误,我不知道怎么修改
我知道原因了 mysql不支持full join |
|
[求助]我今天从外国网站下载软件不小心中了病毒
删掉依旧会出现,找不到根源,我已经重装系统了,已经没事了,不过病毒样本我保留了一份,我就想知道这病毒到底隐藏在什么地方 |
|
[求助]我这段程序是使用NASM编译在X86 32位保护模式下运行的,出现了一些问题
这里不就是讨论系统底层的吗 |
|
新人报道请跟此帖,勿另发主题帖
这个论坛不错,资料很全,我也马上要转正了,留一个纪念帖。 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值