Trivial update regarding last commit

This commit is contained in:
stamparm
2013-05-29 15:45:13 +02:00
parent dfd6ee20bb
commit 8fbf4b11d2
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ class Metasploit:
self.encoderStr = None
self.payloadConnStr = None
self.localIP = getLocalIP()
self.remoteIP = getRemoteIP()
self.remoteIP = getRemoteIP() or conf.hostname
self._msfCli = normalizePath(os.path.join(conf.msfPath, "msfcli"))
self._msfEncode = normalizePath(os.path.join(conf.msfPath, "msfencode"))
self._msfPayload = normalizePath(os.path.join(conf.msfPath, "msfpayload"))