Module: Rex::Post::Permission

Defined in:
lib/rex/post/permission.rb

Constant Summary collapse

PROT_NONE =

Generic page protection flags

0
PROT_READ =
(1 <<  0)
PROT_WRITE =
(1 <<  1)
PROT_EXEC =
(1 <<  2)
PROT_COW =
(1 << 20)
GEN_NONE =

Generic permissions

0
GEN_READ =
(1 <<  0)
GEN_WRITE =
(1 <<  1)
GEN_EXEC =
(1 <<  2)
PROCESS_READ =

Generic process open permissions

(1 <<  0)
PROCESS_WRITE =
(1 <<  1)
PROCESS_EXECUTE =
(1 <<  2)
PROCESS_ALL =
0xffffffff
THREAD_READ =

Generic thread open permissions

(1 <<  0)
THREAD_WRITE =
(1 <<  1)
THREAD_EXECUTE =
(1 <<  2)
THREAD_ALL =
0xffffffff