fd8b1636b9
This can currently build an executable that creates a socket, opens a temporary file, truncates that file with ftruncate(2) and calls sendfile. Still needs to mmap NULL and figure out ring0 shellcode. Baby steps.
10 lines
128 B
Ruby
10 lines
128 B
Ruby
|
|
require 'msf/core/exploit/local/unix'
|
|
require 'msf/core/exploit/local/linux_kernel'
|
|
|
|
module Msf
|
|
module Exploit::Local
|
|
|
|
end
|
|
end
|