
大佬们这怎么办啊,我这菜鸡很头疼
hecksec是一个脚本软件,也就是用脚本写的一个文件,不到2000行,可用来学习shell。
源码参见
http://www.trapkit.de/tools/checksec.html
https://github.com/slimm609/checksec.sh/
下载方法之一为
wget https://github.com/slimm609/checksec.sh/archive/1.6.tar.gz
checksec用来干什么?
用来检查可执行文件属性,例如PIE, RELRO, PaX, Canaries, ASLR, Fortify Source
PIE是什么意思?
(PIC:Position Independnet Code位置无关代码)
position independent executable
https://access.redhat.com/blogs/766093/posts/1975793
https://en.wikipedia.org/wiki/Position-independent_code
RELRO是什么意思?
http://fedoraproject.org/wiki/Security_Features_Matrix
Built with RELRO
RELRO stands for RELocation Read-Only, it is a mitigation technique to harden data sections of an ELF/process.
Pax是什么意思?
Stack Canary
ASLR是什么意思?
checksec使用方法