Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46e2ad5 commit 425df06Copy full SHA for 425df06
1 file changed
lib/takeover/icmpsh.py
@@ -45,8 +45,8 @@ def _selectLhost(self):
45
return address
46
47
def _prepareIngredients(self, encode=True):
48
- self.lhostStr = self._selectLhost()
49
- self.rhostStr = self._selectRhost()
+ self.lhostStr = ICMPsh._selectLhost(self)
+ self.rhostStr = ICMPsh._selectRhost(self)
50
51
def _runIcmpshMaster(self):
52
infoMsg = "running icmpsh master locally"
@@ -82,7 +82,7 @@ def uploadIcmpshSlave(self, web=False):
82
self.writeFile(self._icmpslave, self._icmpslaveRemote, "binary")
83
84
def icmpPwn(self):
85
- self._prepareIngredients()
+ ICMPsh._prepareIngredients(self)
86
self._runIcmpshSlaveRemote()
87
self._runIcmpshMaster()
88
0 commit comments