mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
BUG fix
This commit is contained in:
parent
c0e59d94a9
commit
5aaf7f1aa6
|
@ -515,6 +515,7 @@ class Metasploit:
|
|||
if "shell" in self.payloadStr:
|
||||
send_all(proc, "whoami\n" if Backend.isOs(OS.WINDOWS) else "uname -a ; id\n")
|
||||
if conf.liveTest:
|
||||
time.sleep(2)
|
||||
send_all(proc, "exit\n")
|
||||
elif time.time() - start_time > METASPLOIT_SESSION_TIMEOUT:
|
||||
proc.kill()
|
||||
|
|
Loading…
Reference in New Issue
Block a user