2012-06-29 00:18:28 -05:00
|
|
|
# -*- coding: binary -*-
|
2007-06-09 02:25:31 +00:00
|
|
|
|
|
|
|
|
###
|
|
|
|
|
#
|
|
|
|
|
# This class is here to implement advanced features for linux-based
|
|
|
|
|
# payloads. Linux payloads are expected to include this module if
|
|
|
|
|
# they want to support these features.
|
|
|
|
|
#
|
|
|
|
|
###
|
|
|
|
|
module Msf::Payload::Linux
|
2013-09-05 13:24:09 -05:00
|
|
|
#
|
|
|
|
|
# This mixin is chained within payloads that target the Linux platform.
|
|
|
|
|
# It provides special prepends, to support things like chroot and setuid.
|
|
|
|
|
#
|
|
|
|
|
|
2024-12-19 10:54:29 -05:00
|
|
|
def initialize(info = {})
|
|
|
|
|
super(info)
|
2013-09-05 13:24:09 -05:00
|
|
|
end
|
2007-06-09 02:25:31 +00:00
|
|
|
|
2008-11-13 01:57:53 +00:00
|
|
|
end
|