学习笔记分享

分享与展示个人专业知识学习笔记

0%

checksec工具安装和使用

学Pwn的时候要用到checksec工具,用于查看程序开启了哪些保护机制

Step1-git下载

1
git clone https://github.com/slimm609/checksec.sh.git

Step2-建立符号链接

1
sudo ln -s ~/checksec.sh/checksec /usr/local/bin/checksec

Step3-使用

详见https://github.com/slimm609/checksec.sh

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$ checksec
Usage: checksec [--format={cli,csv,xml,json}] [OPTION]


Options:

## Checksec Options
--file={file}
--dir={directory}
--listfile={text file with one file per line}
--proc={process name}
--proc-all
--proc-libs={process ID}
--kernel[=kconfig]
--fortify-file={executable-file}
--fortify-proc={process ID}
--version
--help
--update or --upgrade

## Modifiers
--debug
--verbose
--format={cli,csv,xml,json}
--output={cli,csv,xml,json}
--extended

For more information, see:
http://github.com/slimm609/checksec.sh
创作不易,支持一下吧!