$exp->send("/bin/sh\n"); #do lots of random shiznat here #that i dont want to see like a telnet login my $junk=$exp->send("/bin/cat /etc/passwd\n"); #do formating to skip things that arnt worth looking at #and probably make some tables so that it outputs nicely print "Output:$junk\n";