int}// Hash32 is the common interface implemented by all 32-bit hash functions.type Hash32 interface {HashSum32 uint32}// Hash64 is the common interface implemented by all 64-bit hash functions.type Hash64 interface {HashSum64
不太好,3个字母的常用组合远远小于可能组合) 计算所有字符加权和并对散列长度取余$(\sum key[i] * 32^{i}) % tablesize$(较好) // 累加 func (n *node) hashSum
, 0x27, 0x57, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};unsigned char flag[68] = { 0 };unsigned int hashsum { RescourceData[i] += antiDbgNum[i]; } for (int j = 0; j < 68; j +=4) { *(DWORD*)&flag[j] = (hashsum
+j) ensureSegment(j).lock(); // force creation } long hashSum
is-docker-safe-for-production/): 关闭进程间通信: docker -d --icc = false --iptables 将容器设置为只读: docker run --read-only 使用hashsum
更复杂的方案可以提取出Chrome执行文件的文件特征,或者建立Chrome执行文件的hashsum数据库来判断进程的执行文件是否是Chrome浏览器,进而再筛选启动时用了不安全配置的进程。