1.AndroidKiller反编译apk,再次打包安装报错:Failure [INSTALL_FAILED_INVALID_APK: Failed to extract native libraries, res=-2]上述报错的修复解决方案,将 AndroidManifest.xml 文件中的 extractNativeLibs= false 修改为extractNativeLibs= true再次打包安装,就不会有上述报错了2.AndroidKiller反编译后后,报错,com.googlecode.d2j.DexException: not support version.![[mdpic/Pasted image 20231217121934.png]]仔细看了下,注意到这句,com.googlecode.d2j.DexException: not support version.哦,原来是dex2jar版本不对,那就下载新版的dex2jar,替换掉吧![[mdpic/Pasted image 20231217121941.png]]替换掉老版的,可反编译成功
1.保留空格string = ' # **'for i in range(0, len(string), 8): print(string[i:i+8])2.用0替代空格 1替代*s = " # **" x = "" for i in s:if i == ' ': x += '0' elif i == '\*': x += '1' else: x += i print(x)
首先我们要都知道, &表示按位与,只有两个位同时为1,才能得到1, 0x代表16进制数,0xff表示的数二进制1111 1111 占一个字节.和其进行&操作的数,最低8位,不会发生变化.下面着重来说说&0xff都有哪些应用:1.只是为了取得低八位通常配合移位操作符>>使用例如:java socket通信中基于长度的成帧方法中,如果发送的信息长度小于65535字节,长度信息的字节定义为两个字节长度。这时候将两个字节长的长度信息,以Big-Endian的方式写到内存中out.write((message.length>>8)&0xff);//取高八位写入地址out.write(message.length&0xff);//取低八位写入高地址中例如,有个数字 0x1234,如果只想将低8位写入到内存中 0x1234&0xff0x1234 表示为二进制 00010010001101000xff 表示为二进制 11111111两个数做与操作,显然将0xff补充到16位,就是高位补0此时0xff 为 0000000011111111与操作 1&0 =0 1&1 =1 这样
1.memset()描述C 库函数 void memset(void str, int c, size_t n) 复制字符 c(一个无符号字符)到参数 str 所指向的字符串的前 n 个字符。声明下面是 memset() 函数的声明。void memset(void str, int c, size_t n)参数str -- 指向要填充的内存块。c -- 要被设置的值。该值以 int 形式传递,但是函数在填充内存块时是使用该值的无符号字符形式。n -- 要被设置为该值的字符数。返回值该值返回一个指向存储区 str 的指针。实例下面的实例演示了 memset() 函数的用法。include <stdio.h>include <string.h>int main (){ char str[50];strcpy(str,"This is string.h library function"); puts(str);memset(str,'#',7); puts(str);return(0);}让我们编译并运行上面的程序,这将产生以下结果:This is s
1.OD(1)视图、查看相关:Alt+l 记录Alt+e 可执行模块Alt+m 内存Alt+c cpu(反汇编视图)Ctrl+p 补丁Alt+k 调用堆栈Alt+b 断点Alt+f5 设置窗口总在最前Alt+o 调试选项Alt+F3 - 关闭当前窗口。Ctrl+F4 - 关闭当前窗口。F5 - 最大化当前窗口或将当前窗口大小改为正常化。F6 - 切换到下一个窗口。Shift+F6 - 切换到前一个窗口。F10 - 打开与当前窗口或面板相关的快捷菜单。左方向键 - 显示窗口左方一个字节宽度的内容阿。Ctrl+左方向键 - 显示窗口左方一栏的内容。右方向键 - 显示窗口右方一个字节宽度的内容Ctrl+右方向键 - 显示窗口右方一栏的内容(2)调试、断点相关:f9 运行Ctrl+f9 执行到返回(retn指令处)Alt+f9 执行到用户代码f12 暂停f2 设断点Ctrl+f2 重新开始Alt+f2 关闭Shift+f2 设置条件断点f7 单步步入Ctrl+f7 自动步入Ctrl+f11 跟踪步入f8 单步步过Ctrl+f8 自动步过Ctrl+f12 跟踪步过Ctrl+t 设置run跟踪
Norman1z