MCPcopy Create free account
hub / github.com/quentinhardy/odat / remoteSystemIsLinux

Method remoteSystemIsLinux

OracleDatabase.py:477–487  ·  view source on GitHub ↗

Return True if Linux select * from v$transportable_platform; can be used for get all strings possible

(self)

Source from the content-addressed store, hash-verified

475 else : return False
476
477 def remoteSystemIsLinux(self):
478 '''
479 Return True if Linux
480 select * from v$transportable_platform; can be used for get all strings possible
481 '''
482 if self.remoteOS == "":
483 self.loadInformationRemoteDatabase()
484 if self.remoteOS == "":
485 logging.warning("Impossible to known the remote target OS")
486 if "linux" in self.remoteOS.lower() or 'solaris' in self.remoteOS.lower() : return True
487 else : return False
488
489 def isDBVersion(self, version=None):
490 '''

Callers 3

giveReverseShellMethod · 0.80
testAllMethod · 0.80
giveReverseShellMethod · 0.80

Calls 1

Tested by

no test coverage detected