checksec | Elf checksec in Go.
kandi X-RAY | checksec Summary
kandi X-RAY | checksec Summary
This is a rough port of the checksec.sh script by Tobias Klein to Go.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Scan executable files
- haveDynTag checks if a dyn tag is a dyn tag
- relro returns the relro of file .
- canary returns true if the given file can be found
- nx returns the value of the program .
- checksec prints a list of checks
- runPath returns the path of the run_run_file
- rpath returns the path of a file in the file
- pie returns the string representation of the file
checksec Key Features
checksec Examples and Code Snippets
Community Discussions
Trending Discussions on checksec
QUESTION
Currently I am studying system exploit, and find some interesting system exploit called buffer overflow using shellcode. I wrote shellcode terminating current process using exit(0) systemcall. Below, there is my code.
...ANSWER
Answered 2021-Aug-10 at 14:38The title says "execstack not applied at .rodata
, .data
, or .bss
sections".
That's correct:
execstack
is a linker flag that "Marks the object as requiring executable stack."
It does nothing about .data
, .bss
or .rodata
.
When I run your program (on x86_64), I get:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install checksec
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page