sql.php: PDO support

This commit is contained in:
2023-11-26 19:49:43 +01:00
parent 17455af5f2
commit c50aa4cd42
2 changed files with 56 additions and 18 deletions

View File

@@ -187,6 +187,7 @@ class ShellListener:
sys.stdout.flush()
def interactive(self):
print("[ ] Switching to interactive mode")
self.on_message.append(lambda x: self.print_message(x))
while self.running and self.connection is not None:
self.sendline(input())