Ejemplo n.º 1
0
 def __init__(self,connection,node,logfunction=None, proctype='i386'):
     unixshellserver.__init__(self,connection,node,type="Active",logfunction=logfunction)
     self.arch = "x86"
     MSSgeneric.__init__(self)
     self.order = intel_order
     self.unorder = istr2int
     self.node = node
     self.node.shell = self
     self.setconstants()
Ejemplo n.º 2
0
Archivo: OSX.py Proyecto: tsondt/Canvas
 def __init__(self, connection, node, logfunction=None, proctype='i386'):
     x86osxremoteresolver.__init__(self)  # now we have a libc ..
     OSXShellServer.__init__(self)
     unixshellserver.__init__(self,
                              connection,
                              type='Active',
                              logfunction=logfunction)
     MSSgeneric.__init__(self, proctype)
     self.node = node
     self.node.shell = self
     self.started = 0
Ejemplo n.º 3
0
 def __init__(self, connection, node, logfunction=None, proctype='sparc'):
     solarisremoteresolver.__init__(self, proctype,
                                    '2.7')  # to satisfy new layout
     unixshellserver.__init__(self, connection, logfunction=logfunction)
     MSSgeneric.__init__(self, proctype)
     self.libraryDict = {}
     self.functionDict = {}
     self.order = big_order
     self.unorder = str2bigendian
     self.node = node
     self.node.shell = self
     self.started = 0
Ejemplo n.º 4
0
Archivo: AIX.py Proyecto: tsondt/Canvas
    def __init__(self, connection, node, version = None, logfunction = None, initialisedFD = None):
        aixremoteresolver.__init__(self, version = version)
        unixshellserver.__init__(self, connection, type="Active", logfunction = logfunction)
        MSSgeneric.__init__(self, 'PowerPC')

        # libc is already inited in the remote resolver init ...
        self.libraryDict            = {}
        self.functionDict           = {}
        self.remotefunctioncache    = {}
        self.node                   = node
        self.node.shell             = self
        self.started                = 0
        self.version                = version
        self.order                  = big_order
        self.errno                  = True
Ejemplo n.º 5
0
 def __init__(self, connection, node, logfunction=None, proctype='i386'):
     x86bsdremoteresolver.__init__(self)
     unixshellserver.__init__(self,
                              connection,
                              node,
                              type="Active",
                              logfunction=logfunction)
     MSSgeneric.__init__(self, 'x86')
     self.libraryDict = {}
     self.functionDict = {}
     self.order = intel_order
     self.unorder = istr2int
     self.node = node
     self.node.shell = self
     self.started = 0