Skip to Main Content
Sockets, Shellcode, Porting, and Coding: Reverse Engineering Exploits and Tool Coding for Security Professionals
book

Sockets, Shellcode, Porting, and Coding: Reverse Engineering Exploits and Tool Coding for Security Professionals

by James C Foster
April 2005
Intermediate to advanced content levelIntermediate to advanced
700 pages
20h 39m
English
Syngress
Content preview from Sockets, Shellcode, Porting, and Coding: Reverse Engineering Exploits and Tool Coding for Security Professionals
execed.exe program and exits.The code at line 17 of the exec.c program is not executed
unless the execv function fails. (Note that the process.h header file is required to compile
code that uses the execv function.)
Using the Task Manager utility (taskmgr.exe), it is possible to learn about how the
execv function is implemented. If we modify the exec.c and execed.c programs to include
the windows.h header file and to call to the Win32 Sleep function, we can see that
Windows creates a separate process for the executable image to be run on and termi-
nates the calling process; it does not overlay the existing process with the executable
image to be run. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

32/64-Bit 80x86 Assembly Language Architecture

32/64-Bit 80x86 Assembly Language Architecture

James Leiterman

Publisher Resources

ISBN: 9781597490054