mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-08 13:41:29 +00:00
attempt to handle standard input from --live-test
This commit is contained in:
@@ -486,6 +486,9 @@ class Metasploit:
|
||||
else:
|
||||
proc.stdin.write("uname -a ; id\n")
|
||||
|
||||
if conf.liveTest:
|
||||
proc.stdin.write("exit\n")
|
||||
|
||||
metSess = re.search("Meterpreter session ([\d]+) opened", out)
|
||||
|
||||
if metSess:
|
||||
|
||||
Reference in New Issue
Block a user