MCPcopy Create free account
hub / github.com/sqlmapproject/sqlmap / _runMsfCli

Method _runMsfCli

lib/takeover/metasploit.py:425–433  ·  view source on GitHub ↗
(self, exitfunc)

Source from the content-addressed store, hash-verified

423 self._msfCliProc = execute(self._cliCmd, shell=True, stdin=PIPE, stdout=PIPE, stderr=PIPE, close_fds=False)
424
425 def _runMsfCli(self, exitfunc):
426 self._forgeMsfCliCmd(exitfunc)
427
428 infoMsg = "running Metasploit Framework command line "
429 infoMsg += "interface locally, please wait.."
430 logger.info(infoMsg)
431
432 logger.debug("executing local command: %s" % self._cliCmd)
433 self._msfCliProc = execute(self._cliCmd, shell=True, stdin=PIPE, stdout=PIPE, stderr=PIPE, close_fds=False)
434
435 def _runMsfShellcodeRemote(self):
436 infoMsg = "running Metasploit Framework shellcode "

Callers 2

pwnMethod · 0.95
bofMethod · 0.95

Calls 3

_forgeMsfCliCmdMethod · 0.95
infoMethod · 0.80
debugMethod · 0.80

Tested by

no test coverage detected