代码逆向
在这里需要注意的几个点:
- c#语言赋值号(=)右边的值同样会跟着左边的值改变,如array6=array2,array6+=2;这个时候array2也会变
- 如array7[num5] += text2[k] % '\u0005';,逆向则为array7【num5】-=ord(text【k】)%5,即chr-->ord
- 空格的ASCII为32
则逆向代码为
v6 = 35 j = 0 v10 =[68,75,66,72,99,19,19,78,83,74,91,86,35,39,77,85,44,89,47,92,49,88,48,91,88,102,105,51,76,115,-124,125,79,122,-103] a2 = "NEWSTAR" for j in range(7): v10[j + 28] -= (ord(a2[j])//5) + 10 v10[j + 21] -= j ^ 2 v10[j + 14] -= 2 * j v10[j + 7] -= ord(a2[j]) % 5 v10[j] -= j ^ -(ord(a2[j]) % 4) for i in range(v6): v10[i] -= i v10[i] += 32 print(chr(v10[i]%256), end='')
标签:逆向,num5,v10,C++,88,a2,ord From: https://www.cnblogs.com/lhqrusht0p/p/17781820.html