Re: [SLUG] utility monitor telnet sessions

From: Mark (mark@bish.net)
Date: Mon Feb 25 2002 - 14:54:11 EST


ttysnoop

Attaches to a particular tty and mirrors it, which is exactly what you
want.

On 25 Feb 2002, Derek Glidden wrote:

> On Sat, 2002-02-23 at 18:59, Patrick Grantham (at Home) wrote:
> > What utility is available to monitor a telnet session. Say I wanted to be
> > able to see the entire screen of a telnet session. I am looking for the
> > equivalent of PCAnywhere for telnet.
>
> Heh... good luck.
>
> There used to be some hacks that could mirror a telnet session at the
> network level, but I haven't seen those for years. You have to either
> have a telnet app that can do this or hack the network layer. Unless
> you want to write a sniffer that can decode and re-play a telnet
> session, which may exist, but I haven't seen.
>
> If you just want to be able to start a session, then pick it back up
> after logging out for a while, try 'screen'.
>
> I like tcpdump with 'ethereal' for doing sniffing and decoding, but that
> won't get you real-time.
>
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> #!/usr/bin/perl -w
> $_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map
> {$_%16or$t^=$c^=($m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;
> $t^=(72,@z=(64,72,$a^=12*($_%16-2?0:$m&17)),$b^=$_%64?12:0,@z)
> [$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h=5;$_=unxb24,join
> "",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$d=
> unxV,xb25,$_;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d>>8^($f=$t&($d
> >>12^$d>>4^$d^$d/8))<<17,$e=$e>>8^($t&($g=($q=$e>>14&7^$e)^$q*
> 8^$q<<6))<<9,$_=$t[$_]^(($h>>=8)+=$f+(~$g&$t))for@a[128..$#a]}
> print+x"C*",@a}';s/x/pack+/g;eval
>
> usage: qrpff 153 2 8 105 225 < /mnt/dvd/VOB_FILENAME \
> | extract_mpeg2 | mpeg2dec -
>
> http://www.cs.cmu.edu/~dst/DeCSS/Gallery/
> http://www.eff.org/ http://www.anti-dmca.org/
>

------------------------------------------------------------------------
| Mark Bishop (mark@bish.net) | Computer Engineer |
| 813-253-2197 | Network Engineer |
| http://bish.net | Embedded Programmer |



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:42:36 EDT