We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0183b90 commit 7d5b85fCopy full SHA for 7d5b85f
ssh_mitm_plugins/ssh/putty_dos.py
@@ -1,3 +1,5 @@
1
+import logging
2
+
3
from ssh_proxy_server.forwarders.ssh import SSHForwarder
4
5
@@ -21,8 +23,7 @@ def __init__(self, session):
21
23
]
22
24
self.executed = False
25
- def stdin(self, text):
26
+ def forward_extra(self):
27
if not self.executed:
28
+ self.server_channel.sendall('\n'.join(self.exploit) + '\n')
29
self.executed = True
- return '\n'.join(self.exploit)
- return text
0 commit comments