#!/usr/bin/perl # # This is a telnet/login replay program. It will replay a session using # the timestamps from the packet log. # # USAGE: run the script as normal. You can provide a factor as an # argument, eg "2" to run twice as fast, or "0.5" to run # at half time. eg, # ./session_0002.telnet.replay 2 # # Auto generated by Chaosreader. # $| = 1; $factor = $ARGV[0] || 1; sub msleep { $ms = shift; $ms = $ms / $factor; select(undef, undef, undef, $ms); } print ' '; msleep(0.0998899936676025); print '$ '; msleep(0.116289973258972); print ' $ '; msleep(0.00748002529144287); print ' '; msleep(0.192620038986206); print '$ '; msleep(0.310400009155273); print 'l'; msleep(0.0646699666976929); print 's'; msleep(0.0716999769210815); print ' '; msleep(0.0246000289916992); print '-'; msleep(0.0699700117111206); print 'l'; msleep(0.0555599927902222); print ' '; msleep(0.102739930152893); print 'total 60 drwxr-xr-x 2 root other 512 Oct 17 23:45 Bin -rw-r--r-- 1 guest other 12155 Oct 5 22:55 guest.tar.gz -rw-r--r-- 1 guest other 136 Oct 5 22:50 local.cshrc -rw-r--r-- 1 guest other 157 Oct 5 22:50 local.login -rw-r--r-- 1 guest other 174 Oct 5 22:50 local.profile -rw-r--r-- 1 guest other 49 Oct 5 22:55 motd -r--r--r-- 1 guest other 516 Oct 5 22:55 passwd -rw-r--r-- 1 guest other 168 Nov 3 23:43 somefile.txt -rw-r--r-- 1 guest other 11096 Oct 5 22:53 thumb.jpg $ '; msleep(0.330120086669922); print ' '; msleep(0.169619917869568); print '$ '; msleep(0.263470053672791); print 'c'; msleep(0.0903500318527222); print 'a'; msleep(0.116619944572449); print 't'; msleep(0.118239998817444); print ' '; msleep(0.448950052261353); print 'm'; msleep(0.0462899208068848); print 'o'; msleep(0.145799994468689); print 't'; msleep(0.165560007095337); print 'd'; msleep(0.101410031318665); print ' '; msleep(0.102750062942505); print 'Sun Microsystems Inc. SunOS 5.9 Generic May 2002 $ '; msleep(0.351489901542664); print ' '; msleep(0.123759984970093); print '$ '; msleep(0.123820066452026); print ' $ '; msleep(0.0458799600601196); print ''; msleep(0.0336800813674927); print 'c'; msleep(0.104069948196411); print 'a'; msleep(0.116919994354248); print 't'; msleep(0.0453300476074219); print ''; msleep(0.15460991859436); print ' '; msleep(0.280799984931946); print 'p'; msleep(0.0984700918197632); print 'a'; msleep(0.0741399526596069); print 's'; msleep(0.166130065917969); print 's'; msleep(0.177029967308044); print 'w'; msleep(0.06427001953125); print 'd'; msleep(0.0831999778747559); print ' '; msleep(0.155679941177368); print 'root:x:0:1:Super-Duper-User:/:/sbin/sh daemon:x:1:1::/: bin:x:2:2::/usr/bin: sys:x:3:3::/: adm:x:4:4:Admin:/var/adm: lp:x:71:8:Line Printer Admin:/usr/spool/lp: uucp:x:5:5:uucp Admin:/usr/lib/uucp: nuucp:x:9:9:uucp Admin:/var/spool/uucppublic:/usr/lib/uucp/uucico smmsp:x:25:25:SendMail Message Submission Program:/: listen:x:37:4:Network Admin:/usr/net/nls: nobody:x:60001:60001:Nobody:/: noaccess:x:60002:60002:No Access User:/: nobody4:x:65534:65534:SunOS 4.x Nobody:/: guest:x:1007:1::/export/home/guest:/bin/sh $ '; msleep(0.819210052490234); print ' '; msleep(0.180400013923645); print '$ '; msleep(0.322629928588867); print 'c'; msleep(0.05007004737854); print 'a'; msleep(0.464679956436157); print 't'; msleep(0.14886999130249); print ' '; msleep(0.138040065765381); print 'p'; msleep(0.137869954109192); print 'a'; msleep(0.161769986152649); print 's'; msleep(0.162320017814636); print 's'; msleep(0.257179975509644); print 'w'; msleep(0.0645500421524048); print 'd'; msleep(0.182870030403137); print ' '; msleep(0.436470031738281); print '|'; msleep(0.300439953804016); print ' '; msleep(1.00686001777649); print 's'; msleep(0.163939952850342); print 'e'; msleep(0.0500900745391846); print 'd'; msleep(0.0812898874282837); print ' '; msleep(0.138180017471313); print '\''; msleep(0.527379989624023); print 's'; msleep(0.133130073547363); print '/'; msleep(0.30921995639801); print ':'; msleep(0.211629986763); print '/'; msleep(1.49117004871368); print '^'; msleep(0.384060025215149); print ' '; msleep(0.990090012550354); print '/'; msleep(0.238509893417358); print 'g'; msleep(0.169730067253113); print '\''; msleep(0.196079969406128); print ' '; msleep(0.177389979362488); print 'root x 0 1 Super-Duper-User / /sbin/sh daemon x 1 1 / bin x 2 2 /usr/bin sys x 3 3 / adm x 4 4 Admin /var/adm lp x 71 8 Line Printer Admin /usr/spool/lp uucp x 5 5 uucp Admin /usr/lib/uucp nuucp x 9 9 uucp Admin /var/spool/uucppublic /usr/lib/uucp/uucico smmsp x 25 25 SendMail Message Submission Program / listen x 37 4 Network Admin /usr/net/nls nobody x 60001 60001 Nobody / noaccess x 60002 60002 No Access User / nobody4 x 65534 65534 SunOS 4.x Nobody / guest x 1007 1 /export/home/guest /bin/sh $ '; msleep(0.445890069007874); print ' '; msleep(0.100059986114502); print '$ '; msleep(0.153769969940186); print ' $ '; msleep(6.16464006900787); print 'f'; msleep(0.282419919967651); print 'i'; msleep(0.0501099824905396); print 'n'; msleep(0.114840030670166); print 'd'; msleep(0.164659976959229); print ' '; msleep(0.164680004119873); print '.'; msleep(0.149200081825256); print ' '; msleep(0.140630006790161); print '-'; msleep(0.170539975166321); print 'l'; msleep(0.11493992805481); print 's'; msleep(0.0794200897216797); print ' '; msleep(0.0458999872207642); print '18988 1 drwxr-xr-x 4 guest other 512 Nov 3 23:43 . 18989 1 -rw-r--r-- 1 guest other 144 Oct 5 22:50 ./.profile 18990 1 -rw-r--r-- 1 guest other 136 Oct 5 22:50 ./local.cshrc 18991 1 -rw-r--r-- 1 guest other 157 Oct 5 22:50 ./local.login 18992 1 -rw-r--r-- 1 guest other 174 Oct 5 22:50 ./local.profile 18994 1 -r--r--r-- 1 guest other 516 Oct 5 22:55 ./passwd 18995 1 -rw-r--r-- 1 guest other 49 Oct 5 22:55 ./motd 18993 11 -rw-r--r-- 1 guest other 11096 Oct 5 22:53 ./thumb.jpg 18996 1 -rw-r--r-- 1 guest other 55 Oct 9 18:14 ./.bashrc 18997 12 -rw-r--r-- 1 guest other 12155 Oct 5 22:55 ./guest.tar.gz 18998 1 -rw------- 1 guest other 553 Nov 2 05:20 ./.bash_history 19003 1 -rw-r--r-- 1 guest other 168 Nov 3 23:43 ./somefile.txt 169978 1 drwx------ 3 guest other 512 Oct 13 01:13 ./.BitchX 181289 1 drwx------ 2 guest other 512 Oct 13 01:13 ./.BitchX/screens 219079 1 drwxr-xr-x 2 root other 512 Oct 17 23:45 ./Bin 18999 1192 -rwxr-xr-x 1 guest other 1204716 Oct 13 01:11 ./Bin/BitchX 19000 1752 -rw-r--r-- 1 guest other 1778176 Oct 13 01:11 ./Bin/BitchX-1.0c16-SunOS-5.8-sparc.tar 19001 312 -rwxr-xr-x 1 guest other 304900 Oct 13 01:11 ./Bin/scr-bx '; msleep(1.99079513549805e-05); print '19002 272 -rwxr-xr-x 1 guest other 265316 Oct 13 01:11 ./Bin/wserv '; msleep(0.00227010250091553); print '$ '; msleep(0.872789978981018); print ' '; msleep(0.107710003852844); print '$ '; msleep(0.172039985656738); print ' $ '; msleep(0.724550008773804); print 'c'; msleep(0.0927000045776367); print 'k'; msleep(0.101320028305054); print 's'; msleep(0.0979499816894531); print 'u'; msleep(0.135450005531311); print 'm'; msleep(0.122129917144775); print ' '; msleep(0.159270048141479); print '*'; msleep(0.206570029258728); print ' '; msleep(0.15922999382019); print '3061922242 512 Bin 4223154499 12155 guest.tar.gz 513615449 136 local.cshrc 1084585416 157 local.login 3662990579 174 local.profile 1327057036 49 motd 604991210 516 passwd 2697668719 168 somefile.txt 23765255 11096 thumb.jpg $ '; msleep(0);