File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ def osPwn(self):
117117 warnMsg = "invalid value, valid values are 1 and 2"
118118 logger .warn (warnMsg )
119119
120- if tunnel == 2 and Backend .isOs (OS .WINDOWS ):
120+ if tunnel == 2 and not Backend .isOs (OS .WINDOWS ):
121121 errMsg = "icmpsh slave is only supported on Windows at "
122122 errMsg += "the moment. The back-end database server is "
123123 errMsg += "not. sqlmap will fallback to TCP (Metasploit)"
@@ -173,7 +173,7 @@ def osPwn(self):
173173 msg = "how do you want to execute the Metasploit shellcode "
174174 msg += "on the back-end database underlying operating system?"
175175 msg += "\n [1] Via UDF 'sys_bineval' (in-memory way, anti-forensics, default)"
176- msg += "\n [2] Via shellcodeexec (file system way)"
176+ msg += "\n [2] Via shellcodeexec (file system way, preferred on 64-bit systems )"
177177
178178 while True :
179179 choice = readInput (msg , default = 1 )
You can’t perform that action at this time.
0 commit comments