20 lines
285 B
Ruby
20 lines
285 B
Ruby
|
|
module Msf
|
|
module Exploit::Local::Unix
|
|
|
|
include Exploit::Local::CompileC
|
|
|
|
def unix_socket_h(metasm_exe)
|
|
[
|
|
"external/source/meterpreter/source/bionic/libc/include/sys/socket.h",
|
|
].each do |fname|
|
|
cparser.parse(File.read(fname), fname)
|
|
end
|
|
|
|
end
|
|
|
|
|
|
end
|
|
end
|
|
|