题目链接 文件类型是 64 位 ELF。 开了 NX 保护。 用 IDA64 查看一下: 可以看到 print_name 最多只能溢出 2 个字节。 也就是说只能覆盖 rbp 的最低 2 个字节。 此时需要使用栈迁移的技巧。 此题相对容易,因为已经给出了 buf 的地址,我们只需要把 main 函数 ...
分类:
其他好文 时间:
2020-11-01 22:03:50
阅读次数:
20
etc/pass命令列表 用户密码用户UID用户组GID备注home目录位置默认shell root x 0 0 root /root /bin/bash daemon x 1 1 daemon /usr/sbin /usr/sbin/nologin bin x 2 2 bin /bin /usr/ ...
分类:
系统相关 时间:
2020-11-01 21:15:46
阅读次数:
75
最近很喜欢玩Linux,对于vim这个程序开发工具的常用命令做个总结,以后可以经常查阅。 1 一般命令模式下 移动光标方法 h或向左箭头 光标向左移动一个字符 j或向下箭头 光标向下移动一个字符 k或向上箭头 光标向上移动一个字符 l或向右箭头 光标向右移动一个字符 想要进行多次移动,例如向下移动3 ...
分类:
系统相关 时间:
2020-11-01 21:12:53
阅读次数:
25
上代码: #coding=utf-8 import cv2 import dlib path = "imagePath/9.jpg" img = cv2.imread(path) gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) #人脸分类器 detector ...
分类:
编程语言 时间:
2020-11-01 20:57:05
阅读次数:
29
DATE_ADD() 函数向日期添加指定的时间间隔。 DATE_ADD(date,INTERVAL expr type) DATE_SUB() 函数从日期减去指定的时间间隔。 DATE_SUB(date,INTERVAL expr type) DATEDIFF() 函数返回两个日期之间的天数。 DA ...
分类:
数据库 时间:
2020-11-01 20:54:49
阅读次数:
23
def PI(n): pi=0 for k in range(n): pi += 1/pow(16,k)*(4/(8*k+1)-2/(8*k+4)-1/(8*k+5)-1/(8*k+6)) return pi import time scale = 20 print("执行开始".center(sc ...
分类:
编程语言 时间:
2020-11-01 20:42:42
阅读次数:
29
##Time 2020.10.31 Summary Research Objective Problem Statement Method(s) The methodology in this paper closely follows the simulation and measurement ...
分类:
其他好文 时间:
2020-11-01 10:33:43
阅读次数:
17
C. Friends and Gifts time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output There are nn friend ...
分类:
其他好文 时间:
2020-11-01 10:31:24
阅读次数:
17
我发现有些人习惯在 /etc/profile 文件里面配置环境变量,在这里配置挺不好的。 # /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (ba ...
分类:
系统相关 时间:
2020-11-01 10:17:26
阅读次数:
24