- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 编译和安装QEMU-5.0.0
文章目录下载地址configure帮助编译、安装依赖包下载地址https://www.qemu.org/download/https://download.qemu.org/configure帮助默认会编译所有的target-list--target-list=aarch64-softmmu,arm-softmmu,i386-softmmu,riscv32-softmmu,risc...
2020-03-29 12:12:09
8776
1
转载 为什么sqlite3里用"?"作占位符就能防止sql注入
Python sqlite3操作数据库的时候cur.execute(‘insert into t values (%d)’% num) 会被sql注入,但把占位符该成"?“就不会了。那问题来了,”?"到底做了什么才防止了sql注入呢?"?"会把参数当做值来处理,不管参数是什么,都把它插入表就完事。而直接的字符串拼接是把参数当做SQL语句的一部分,参数中有SQL语句的话,是有可能被执行的。参...
2019-07-27 18:14:24
2737
原创 Ubuntu18.04解决make gconfig错误
* * Unable to find the GTK+ installation. Please make sure that * the GTK+ 2.0 development package is correctly installed. * You need gtk+-2.0 gmodule-2.0 libglade-2.0 * scripts/kconfig...
2019-01-23 19:55:49
2202
原创 Ubuntu18.04解决make xconfig错误
* * Could not find Qt via pkg-config. * Please install either Qt 4.8 or 5.x. and make sure it's in PKG_CONFIG_PATH * scripts/kconfig/Makefile:207: recipe for target 'scripts/kconfig/qconf-...
2019-01-23 19:50:16
4845
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人