misc-scripts | scripts used for ops automation | DevOps library
kandi X-RAY | misc-scripts Summary
kandi X-RAY | misc-scripts Summary
Ops, automation or dev tools organized by language. Perl - Random utilities written in Perl. Python - Random tools written in Python - Test applications for learning Python. Shell - Contains most of the utility tools and scripts - Mostly centered around Sysadmin tasks, virtualization, and OpenStack - These may be the most useful to others. lua - Random stuff written in lua. C - Random stuff written in C. groovy - Mostly Jenkins pipelines written in groovy.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of misc-scripts
misc-scripts Key Features
misc-scripts Examples and Code Snippets
Community Discussions
Trending Discussions on misc-scripts
QUESTION
I'm currently going through "Hacking; the Art of Exploitation", and am practicing writing shell code injections on some example code I wrote up.
I'm injecting shell code as an environment variable. In lldb I can see that I am overwriting the return address, and that the EIP is being set to the middle of my NOP sled. However, it then throws "EXC_BAD_ACCESS" and segfaults.
Here's the part of the stack with my shellcode:
...ANSWER
Answered 2017-Feb-19 at 21:01From the Apple developer documentation:
There are two ways to make the stack and heap executable:
Pass the -allow_stack_execute flag to the compiler. This makes the stack (not the heap) executable.
Use the mprotect system call to mark specific memory pages as executable. The details are beyond the scope of this document. For more information, see the manual page for mprotect.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install misc-scripts
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