mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Patch for --os-pwn on newer versions of Metasploit
This commit is contained in:
parent
9562502744
commit
6f750f9529
3 changed files with 4 additions and 4 deletions
|
|
@ -558,7 +558,7 @@ class Metasploit:
|
|||
|
||||
# For --os-pwn and --os-bof
|
||||
pwnBofCond = self.connectionStr.startswith("reverse")
|
||||
pwnBofCond &= "Starting the payload handler" in out
|
||||
pwnBofCond &= any(_ in out for _ in ("Starting the payload handler", "Started reverse"))
|
||||
|
||||
# For --os-smbrelay
|
||||
smbRelayCond = "Server started" in out
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue