Skip to content

Instantly share code, notes, and snippets.


thaddeus t. grugq grugq

  • Independent Security Researcher
  • Thailand
View GitHub Profile
grugq /
Created Dec 6, 2011
twisted ssh client (based on with an embedded cmd.Cmd shell for controllng the SSH session
from twisted.internet import reactor, defer, endpoints, task, stdio
from twisted.conch.client import default, options, direct
from twisted.conch.error import ConchError
from twisted.conch.ssh import session, forwarding, channel
from twisted.conch.ssh import connection, common
from twisted.python import log, usage
import signal
import tty
import struct
import fcntl
You can’t perform that action at this time.