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

Method _prepareIngredients

lib/takeover/metasploit.py:301–308  ·  view source on GitHub ↗
(self, encode=True)

Source from the content-addressed store, hash-verified

299 return self._skeletonSelection("connection type", self._msfConnectionsList)
300
301 def _prepareIngredients(self, encode=True):
302 self.connectionStr = self._selectConnection()
303 self.lhostStr = self._selectLhost()
304 self.rhostStr = self._selectRhost()
305 self.portStr = self._selectPort()
306 self.payloadStr = self._selectPayload()
307 self.encoderStr = self._selectEncoder(encode)
308 self.payloadConnStr = "%s/%s" % (self.payloadStr, self.connectionStr)
309
310 def _forgeMsfCliCmd(self, exitfunc="process"):
311 if kb.oldMsf:

Callers 2

createMsfShellcodeMethod · 0.95

Calls 6

_selectConnectionMethod · 0.95
_selectLhostMethod · 0.95
_selectRhostMethod · 0.95
_selectPortMethod · 0.95
_selectPayloadMethod · 0.95
_selectEncoderMethod · 0.95

Tested by

no test coverage detected